A CF-compliant earth science data analysis library
Data.
set_units
Set the units.
See also
del_units, get_units, has_units
del_units
get_units
has_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