cf.Field.missing_value

Field.missing_value

The missing_value CF property.

This property is forced to be consistent with the _FillValue property as follows:

  • Assigning a value to missing_value also assigns the same value to _FillValue whether the latter has been previously set or not.
  • Assigning a value to _FillValue also assigns the same value to missing_value, but only if the latter has previously been defined.

Examples

>>> f.missing_value = 1e30
>>> f.missing_value
1e30
>>> f._FillValue
1e30
>>> del f.missing_value
>>> f._FillValue
1e30

Previous topic

cf.Field.long_name

Next topic

cf.Field.month_lengths

This Page