cf.DimensionCoordinate.setprop

DimensionCoordinate.setprop(prop, value)[source]

Set a CF property.

New in version 2.0.

See also

delprop, getprop, hasprop

Parameters:
prop
: str

The name of the CF property.

value :

The value for the property.

Returns:

None

Examples:
>>> c.setprop('standard_name', 'time')
>>> c.setprop('foo', 12.5)