cf.List.units

List.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.get_property('units')
'm.s-1'
>>> f.has_property('units')
True