cf.DomainAncillary.cellsize¶
-
DomainAncillary.
cellsize
()¶ A
cf.Data
object containing the variable cell sizes.New in version 2.0.
Examples: >>> print c.bounds <CF {+Variable}: 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 cells have no bounds