cf.AuxiliaryCoordinate.bounds

AuxiliaryCoordinate.bounds

The cf.CoordinateBounds object containing the cell bounds.

See also

lower_bounds, upper_bounds

Examples:
>>> c
<CF Coordinate: latitude(64) degrees_north>
>>> c.bounds
<CF CoordinateeBounds: latitude(64, 2) degrees_north>
>>> c.bounds = b
AttributeError: Can't set 'bounds' attribute. Consider the insert_bounds method.
>>> c.bounds.max()
<CF Data: 90.0 degrees_north>
>>> c.bounds -= 1
AttributeError: Can't set 'bounds' attribute. Consider the insert_bounds method.
>>> b = c.bounds
>>> b -= 1
>>> c.bounds.max()       
<CF Data: 89.0 degrees_north>

Previous topic

cf.AuxiliaryCoordinate.attributes

Next topic

cf.AuxiliaryCoordinate.cellsize

This Page