cf.Field.delattr

Field.delattr(attr)

Delete a standard or non-standard CF attribute.

Parameters :
attr : str

The name of the attribute to delete.

Returns :

None

Raises :
AttributeError :

If the variable does not have the named attribute.

Examples

>>> f.delattr('standard_name')
>>> f.delattr('foo')

Previous topic

cf.Field.copy

Next topic

cf.Field.dump

This Page