cf.Field.valid_range

Field.valid_range

The valid_range CF property.

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')

Previous topic

cf.Field.valid_min

Next topic

cf.Field.ancillary_variables

This Page