cf.FieldAncillary.units

FieldAncillary.units

The units CF property.

The units of the data. The value of the units property is a string that can be recognized 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.setprop('units', 'm.s-1')
>>> f.getprop('units')
'm.s-1'
>>> f.delprop('units')