cfdm.AuxiliaryCoordinate.del_climatology¶
-
AuxiliaryCoordinate.
del_climatology
(default=ValueError())[source]¶ Remove the climatology setting.
New in version (cfdm): 1.8.9.0
See also
- Parameters
- default: optional
Return the value of the default parameter if the climatology status has not been set.
If set to an
Exception
instance then it will be raised instead.
- Returns
str
The removed climatology value.
Examples
>>> c = cfdm.AuxiliaryCoordinate() >>> c.set_climatology(True) >>> c.is_climatology() True >>> c.get_climatology() True >>> c.del_climatology() True >>> c.is_climatology() False >>> print(c.get_climatology(None)) None >>> print(c.del_climatology(None)) None >>> c.set_climatology(False) >>> c.is_climatology() False