cf.DomainAncillary.upper_bounds

DomainAncillary.upper_bounds

The upper bounds of cells.

If there are no cell bounds then the coordinates are used as the upper bounds.

New in version 2.0.

See also

lower_bounds

Examples

>>> print(c.array)
[4  2  0]
>>> print(c.bounds.array)
[[ 5  3]
 [ 3  1]
 [ 1 -1]]
>>> c.upper_bounds
<CF Data(3): [5, 3, 1]>
>>> b = c.del_bounds()
>>> c.upper_bounds
<CF Data(3): [4, 2, 0]>