cf.DimensionCoordinate.upper_bounds

DimensionCoordinate.upper_bounds

The upper dimension coordinate bounds in a cf.Data object.

The cell bounds are ordered consistently with the coordinate values. For example, a cell of an increasing dimension coordinate object has an upper bound which is always greater than its lower bound.

See also

bounds, lower_bounds

Examples

>>> print c.bounds.array
[[-1  1]
 [ 1  4]
 [ 4  7]]
>>> print c.lower_bounds.array
[-1  1  4]
>>> print c.upper_bounds.array
[ 1  4  7]
>>> print c.flip().bounds.array
[[ 7  4]
 [ 4  1]
 [ 1 -1]]
>>> print c.flip().lower_bounds.array
[ 4  1 -1]
>>> print c.flip().upper_bounds.array
[ 7  4  1]

Previous topic

cf.DimensionCoordinate.Units

Next topic

cf.DimensionCoordinate.varray

This Page