cf.DimensionCoordinate.cellsize¶
-
DimensionCoordinate.
cellsize
¶ A
cf.Data
object containing the coordinate cell sizes.Examples: >>> print c.bounds <CF Bounds: latitude(47, 2) degrees_north> >>> print c.bounds.array [[-90. -87.] [-87. -80.] [-80. -67.]] >>> print d.cellsize <CF Data: [3.0, ..., 13.0] degrees_north> >>> print d.cellsize.array [ 3. 7. 13.] >>> print c.sin().cellsize.array [ 0.00137047 0.01382178 0.0643029 ]
>>> del c.bounds >>> c.cellsize AttributeError: Can't get cell sizes when coordinates have no bounds