Re: [f2py] Frotran, GDAL and f2py
Jamie Lahowetz <[email protected]>
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the reply. Its nice to know that there are other packages for shapefile manipulation. GDAL is an opensource GIS package that does everything I need it to do so there is no real benifit in learning a new package. My first question still stands though: How do I call python from fortran using f2py? On Mon, Mar 1, 2010 at 2:59 PM, James Boyle <[email protected]> wrote: > As part of Jeff Whittaker's Basemap toolkit for matplotlib, there is a > ability to read/write shapefiles. > The ability to write shapefiles in not cited in the online docs, but there > is an example in the download. > I have only used the read so YMMV. > Jeff is a meteorologist and his stuff is very useful in that field. > http://matplotlib.sourceforge.net/ > http://matplotlib.sourceforge.net/users/toolkits.html > --Jim > > On Mar 1, 2010, at 12:27 PM, Jamie Lahowetz wrote: > > I have a fortran program that creates storm tracks. I can output these > tracks into a csv file but it would be really helpful if I could just create > shapefiles instead. So heres my question(s): > 1. Im very new to f2py and from what I read, python can be called from > fortran using f2py. I looked at the examples in the documentation but dont > fully understand how to really do this. Can anyone help me out by maybe > explaining it or perhaps share an example of python being called from a > Fortran program. > 2. Is it even possible to do the above using the GDAL python bindings? > > -- > Jamie Ryan Lahowetz > University of Nebraska - Lincoln > Graduate Student - Geosciences > 402.304.0766 > [email protected] > _______________________________________________ > f2py-users mailing list > f2py-users-Y4l6ocDipWCuvFJfX82//[email protected] > http://*cens.ioc.ee/mailman/listinfo/f2py-users > > > > _______________________________________________ > f2py-users mailing list > f2py-users-Y4l6ocDipWCuvFJfX82//[email protected] > http://cens.ioc.ee/mailman/listinfo/f2py-users > > -- Jamie Ryan Lahowetz University of Nebraska - Lincoln Graduate Student - Geosciences 402.304.0766 [email protected] _______________________________________________ f2py-users mailing list f2py-users-Y4l6ocDipWCuvFJfX82//[email protected] http://cens.ioc.ee/mailman/listinfo/f2py-users