cf.Variable.setprop

Variable.setprop(prop, value)[source]

Set a CF property.

See also

delprop, getprop, hasprop

Examples 1:
>>> f.setprop('standard_name', 'time')
>>> f.setprop('foo', 12.5)
Parameters:
prop : str

The name of the CF property.

value :

The value for the property.

Returns:

None

Previous topic

cf.Variable.select

Next topic

cf.Variable.sin

This Page