NetCDF4 链接 Python APIs

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.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容