cf.DimensionCoordinate.decreasing

DimensionCoordinate.decreasing

True if the dimension coordinate is decreasing, otherwise False.

A dimension coordinate is increasing if its coordinate values are increasing in index space.

The direction is inferred from one of, in order of precedence:

  • The data array

  • The bounds data array

  • The units CF property

Returns
bool

Whether or not the coordinate is decreasing.

Examples

>>> c.decreasing
False
>>> c.flip().increasing
True