A CF-compliant earth science data analysis library
Data.
set_units
Set the units.
See also
override_units, del_units, get_units, has_units, Units
override_units
del_units
get_units
has_units
Units
str
The new units.
None
Examples
>>> d.set_units('watt') >>> d.get_units() 'watt' >>> d.del_units() >>> d.get_units() ValueError: Can't get non-existent units >>> print(d.get_units(None)) None