CellMeasures | A CF cell measures object containing information that is needed about |
CellMethods | A CF cell methods object to describe the characteristic of a field |
Coordinate | A CF coordinate construct. |
CoordinateBounds | A CF coordinate’s bounds object containing cell boundaries or |
Data | An N-dimensionsal data array with units and masked values. |
Flags | Self-describing CF flag values. |
Space | Completely describe a field’s coordinate system (space). |
Transform | A CF transform construct. |
Units | Store, combine and compare physical units and convert numeric values to different units. |
Comparison | Create an object for storing a comparison expression. |
CoordinateList | An ordered sequence of coordinates stored in a single, list-like object. |
FieldList | An ordered sequence of fields stored in a list-like object. |
CfList | A list-like object with attributes. |
CfDict | A dictionary-like object with attributes. |
Variable | Base class for storing a data array with metadata. |
VariableList | An ordered sequence of variables stored in a list-like object. |
The classes defined by the cf package inherit as follows.
Classes Data, Units, Flags and Variable all inherit directly from the built-in object. Classes Field, Coordinate, CoordinateBounds and CellMeasures are all sub-classes of Variable:
Classes CfList, VariableList, FieldList, CoordinateList and CellMethods are list-like objects and inherit the built-in MutableSequence abstract base class:
This inheritance diagram shows, for example, that a FieldList object is an iterable [1] which supports efficient element access using integer indices and defines a len() method that returns the length of the sequence.
Classes CfDict, Space and Transform are dictionary-like objects and inherit the built-in MutableMapping abstract base class.
Footnotes
[1] | An object capable of returning its members one at a time. |