Monday, March 13, 2017

cf-python

The python cf package implements the CF data model for the reading, writing and processing of data and metadata.

With this package you can:

  • Read CF-netCDF files, CFA-netCDF files and UK Met Office fields files and PP files.
  • Create CF fields.
  • Write fields to CF-netCDF and CFA-netCDF files on disk.
  • Aggregate collections of fields into as few multidimensional fields as possible using the CF aggregation rules.
  • Create, delete and modify a field's data and metadata.
  • Select and subspace fields according to their metadata.
  • Perform broadcastable, metadata-aware arithmetic, comparison and trigonometric operation with fields.
  • Collapse fields by statistical operations.
  • Sensibly deal with date-time data.
  • Allow for cyclic axes.
  • Regrid fields.
  • Visualize fields with cf-plot.
All of the above use Large Amounts of Massive Arrays (LAMA) functionality, which allows multiple fields larger than the available memory to exist and be manipulated. The package provides command line utilities for viewing CF fields (cfdump) and aggregating datasets (cfa)."

https://cfpython.bitbucket.io/

http://ajheaps.github.io/cf-plot/

No comments:

Post a Comment