cf.Variable.units

Variable.units

The units CF property.

This property is a mirror of the units stored in the Units attribute.

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')

Previous topic

cf.Variable.standard_name

Next topic

cf.Variable.valid_max

This Page