cf.Variable.valid_range¶
-
Variable.
valid_range
¶ The valid_range CF property.
The smallest and largest valid values the data. See http://cfconventions.org/latest.html for details.
Stored as a tuple but may be set as any array-like object.
Examples: >>> f.valid_range = numpy.array([100., 400.]) >>> f.valid_range (100.0, 400.0) >>> del f.valid_range
>>> f.setprop('valid_range', [100.0, 400.0]) >>> f.getprop('valid_range') (100.0, 400.0) >>> f.delprop('valid_range')