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.
import netCDF4
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).
# PyNio package
import Nio
import Ngl
- 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.
import scipy as sp
We maintain a more comprehensive listing of Python netCDF packages as an entry in Software for Manipulating or Displaying NetCDF Data.
网友评论