cf.CoordinateReference.del_datum¶
-
CoordinateReference.
del_datum
()[source]¶ Remove the datum component.
New in version (cfdm): 1.7.0
- Returns
Datum
The removed datum component.
Examples:
>>> r = cf.CoordinateReference() >>> d = cf.Datum(parameters={'earth_radius': 7000000}) >>> r.set_datum(d) >>> r.get_datum() <Datum: Parameters: earth_radius> >>> r.del_datum() <Datum: Parameters: earth_radius> >>> r.get_datum() <Datum: Parameters: >