cf.Variable.setprop

Variable.setprop(prop, value)[source]

Set a CF property.

Parameters :
prop : str

The name of the property to set.

value :

The value for the property.

Returns :

None

Examples

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

Previous topic

cf.Variable.setmask

Next topic

cf.Variable.sin

This Page