cdms2.dataset:CdmsFile¶
-
CdmsFile.
createAxis
(self, name, ar, unlimited=0)[source]¶ Create an axis.
- Parameters
- namestr is the string name of the Axis
- arnumpy.ndarray/None is the 1-D data array, or None for an unlimited axis
- unlimited(int/True/False) True/0 designate that the axis as unlimited.
- Returns
- an axis object (cdms2.axis.FileAxis).