cf.CoordinateReference.set_coordinate_conversion

CoordinateReference.set_coordinate_conversion(coordinate_conversion, copy=True)[source]

Set the coordinate conversion component.

New in version 1.7.0.

Parameters
coordinate_conversion: CoordinateConversion

The coordinate conversion component to be inserted.

copy: bool, optional

If False then do not copy the coordinate conversion prior to insertion. By default the coordinate conversion is copied.

Returns

None

Examples:

>>> c.set_coordinate_conversion(cc)
>>> c.set_coordinate_conversion(cc, copy=False)