cf.Field.delprop

Field.delprop(prop)

Delete a CF property.

Parameters :
prop : str

The name of the property to delete.

Returns :

None

Raises :
AttributeError :

If the variable does not have the named CF property.

Examples

>>> f.delprop('standard_name')
>>> f.delprop('foo')
AttributeError: Field doesn't have CF property 'foo'

Previous topic

cf.Field.cos

Next topic

cf.Field.dump

This Page