cf.Field.setprop

Field.setprop(prop, value)[source]

Set a CF property.

Parameters :
prop : str

The name of the CF property.

value :

The value for the property.

Returns :

None

See also

delprop, getprop, hasprop

Examples

>>> f.setprop('standard_name', 'time')
>>> f.setprop('foo', 12.5)

Previous topic

cf.Field.setdata

Next topic

cf.Field.sin

This Page