cf.Data.fill_value

Data.fill_value

The data array missing data value.

If set to None then the default numpy fill value appropriate to the data array’s data type will be used.

Deleting this attribute is equivalent to setting it to None, so this attribute is guaranteed to always exist.

Examples:

>>> d.fill_value = 9999.0
>>> d.fill_value
9999.0
>>> del d.fill_value
>>> d.fill_value
None