cf.Domain.units¶
-
Domain.
units
¶ The units CF property.
The units of the data. The value of the
units
property is a string that can be recognised by UNIDATA’s Udunits package (http://www.unidata.ucar.edu/software/udunits). See http://cfconventions.org/latest.html for details.Examples
>>> f.units = 'K' >>> f.units 'K' >>> del f.units
>>> f.set_property('units', 'm.s-1') >>> f.has_property('units') True >>> f.get_property('units') 'm.s-1' >>> f.del_property('units')