cf.DimensionCoordinate.positive

DimensionCoordinate.positive

The positive CF property.

The direction of positive (i.e., the direction in which the coordinate values are increasing), whether up or down, cannot in all cases be inferred from the units. The direction of positive is useful for applications displaying the data. The positive attribute may have the value 'up' or 'down' (case insensitive).

For example, if ocean depth coordinates encode the depth of the surface as 0 and the depth of 1000 meters as 1000 then the postive property will have the value 'down'.

Examples

>>> c.positive = 'up'
>>> c.positive
'up'
>>> del c.positive
>>> c.set_property('positive', 'down')
>>> c.get_property('positive')
'down'
>>> c.del_property('positive')