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. Thepositive
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 as1000
then thepostive
property will have the value'down'
.Examples: >>> c.positive = 'up' >>> c.positive 'up' >>> del c.positive
>>> c.setprop('positive', 'down') >>> c.getprop('positive') 'down' >>> c.delprop('positive')