cfdm.CoordinateConversion.set_parameter¶
-
CoordinateConversion.
set_parameter
(term, value, copy=True)[source]¶ Set a parameter-valued term.
New in version (cfdm): 1.7.0
See also
- Returns
Examples
>>> f = cfdm.CoordinateConversion() >>> f.set_parameter('earth_radius', 6371007) >>> f.has_parameter('earth_radius') True >>> f.get_parameter('earth_radius') 6371007 >>> f.del_parameter('earth_radius') 6371007 >>> f.has_parameter('earth_radius') False >>> print(f.del_parameter('earth_radius', None)) None >>> print(f.get_parameter('earth_radius', None)) None