cf.DimensionCoordinate.missing_value¶
-
DimensionCoordinate.
missing_value
¶ The missing_value CF property.
A value used to represent missing or undefined data (deprecated by the netCDF user guide). See http://cfconventions.org/latest.html for details.
Note that this attribute is used primarily for writing data to disk and is independent of the missing data mask. It may, however, be used when unmasking data array elements.
The recommended way of retrieving the missing data value is with the
fill_value
method.See also
Examples
>>> f.missing_value = 1.0e30 >>> f.missing_value 1e+30 >>> del f.missing_value
>>> f.set_property('missing_value', -1.0e30) >>> f.get_property('missing_value') -1e+30 >>> f.del_property('missing_value') -1e30 >>> f.del_property('missing_value', None) None