cf.Variable.delprop

Variable.delprop(prop)[source]

Delete a CF property.

See also

getprop, hasprop, setprop

Examples 1:
>>> f.delprop('standard_name')
Parameters:
prop : str

The name of the CF property.

Returns:

None

Examples 2:
>>> f.foo = 'bar'
>>> f.delprop('foo')
>>> f.delprop('foo')
AttributeError: Can't delete non-existent Field CF property 'foo'

Previous topic

cf.Variable.datum

Next topic

cf.Variable.dump

This Page