cf.FieldAncillary.valid_range¶
-
FieldAncillary.
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.set_property('valid_range', [100.0, 400.0]) >>> f.has_property('valid_range') True >>> f.get_property('valid_range') (100.0, 400.0) >>> f.del_property('valid_range')