cf.RaggedIndexedArray.get_units

RaggedIndexedArray.get_units(default=ValueError())[source]

The units of the array.

If the units are None then the array has no defined units.

New in version (cfdm): 1.10.0.1

See also

get_calendar

Parameters
default: optional

Return the value of the default parameter if the units have not been set. If set to an Exception instance then it will be raised instead.

Returns
str or None

The units value.