cf.Field.missing_value

Field.missing_value

The missing_value CF attribute.

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

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

Examples

>>> f.missing_value = 1e30

Previous topic

cf.Field.long_name

Next topic

cf.Field.month_lengths

This Page