[f2py] New user of f2py
mcgrete.drs at gmail.com
Thu Jul 26 11:21:37 EEST 2012
I don't know the answer directly; i sm not sure anyone can answer as the solution likely depends on the % of effort required for f2py overhead to call the program vs the % of effort to execute the 6s code.
Also, the type and size/extent of arguments (if any) may slow down f2py. I suggest the best way to know is to write a small script to call the .exe 'N' times and do the same for f2py.
On Jul 25, 2012, at 2:53 PM, Cody Schank <codyschank at gmail.com> wrote:
> I'm a new user of f2py and have a basic question before I dive into it.
> I want to run the 6s atmospheric correction code using Python (http://6s.ltdri.org/). Right now I used the subprocess file to call a .exe file compiled from the 6s Fortran code. I call this file many, many times. Basically I am wondering it it would be faster to use f2py. Does anybody know if that would be the case?
> f2py-users mailing list
> f2py-users at cens.ioc.ee
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the f2py-users