This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
The basic process of creating Python interfaces is:- Add f2py directives to FORTRAN files to guide f2py in creating interface files
- Run f2py on the FORTRAN files to create the Python interface
- Write Python class wrappers around GEMPAK functions to give them
a more object oriented presentation
I've included a tar file of the the gd*.f files, as well as inbdta.f, a small build script, and a Python module that wraps the gd functions in a "Pythonic" way (see the comments at the top of gempak.py for examples of it's usage). If you have any questions, please let me know.
Attachment:
gdf2py.tgz
Description: GNU Zip compressed data
Kevin Smith address@hidden