2012 Unidata NetCDF Workshop > Introduction to the NetCDF APIs
10.6 Python APIs
There are multiple Python libraries for netCDF from which to choose.
Sean will discuss the first of these in a workshop session tomorrow:
-
Jeff Whitaker (NOAA Earth System Research Lab) has developed a
netCDF-4 module
for Python, which handles classic-model netCDF-4 files,
multiple unlimited dimensions, groups, compression,
new netCDF-4 atomic types, and non-nested user-defined types.
Other popular netCDF Python modules include:
-
Dave Brown of NCAR's Computational and Information Systems Laboratory has developed PyNIO, a Python
package that allows read and/or write access to a variety of data
formats using an interface modeled on netCDF. Currently supported
formats include netCDF classic, netCDF-4 classic model, HDF4, GRIB1
(read only), and HDF-EOS Grid and Swath data (read only).
-
André Gosselin of the Institut Maurice-Lamontagne, Péches & Océans Canada,
has implemented pycdf, which requires NumPy, the Numeric python package, and
installs through the simple "python setyp.py install" command.
-
Bill Noon (Cornell) has implemented another netCDF Python
module that allows easy creation, access, and browsing of netCDF data.
-
Konrad Hinsen has developed a netCDF interface and integrated it into his ScientificPython
package.
We maintain a more comprehensive
listing of Python netCDF packages as an entry in Software for Manipulating or
Displaying NetCDF Data.
2012 Unidata NetCDF Workshop > Introduction to the NetCDF APIs