cf.Data._FillValue

Data._FillValue

The _FillValue CF attribute.

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

>>> f._FillValue = 9999.0
>>> f._FillValue
9999.0
>>> del d._FillValue
>>> d._FillValue
None

Previous topic

cf.Data.dtype

Next topic

cf.Data.first_datum

This Page