Fortran array in python (f2py?)...

tripp tripplowe at
Fri Feb 13 18:59:22 CET 2009

Hello Folks,

I have a fortran program I use to process several satellite images.  I
currently output the results to a text file (~750 mb) which is then
read by a perl program that outputs a GIS-ready image using GDAL
(   There are python libraries for GDAL too.

I'd like to pipe the array directly to python from fortran (instead of
writing it out to a text file).  Is it possible to access an in-memory
fortran array with python?

I've looked at f2py, but I could not tell if this was possible.


More information about the Python-list mailing list