cf.Data.Units

Data.Units

The cf.Units object aining the units of the data array.

Deleting this attribute is equivalent to setting it to an undefined units object, so this attribute is guaranteed to always exist.

Examples:

>>> d.Units = Units('m')
>>> d.Units
<Units: m>
>>> del d.Units
>>> d.Units
<Units: >