cf.CoordinateReference.set_coordinate¶
-
CoordinateReference.
set_coordinate
(key)[source]¶ Set a reference to a coordinate construct.
New in version 1.7.0.
See also
- Parameters
- key:
str
The construct key of the coordinate construct.
- Parameter example:
key='dimensioncoordinate1'
- Parameter example:
key='auxiliarycoordinate0'
- key:
- Returns
Examples:
>>> c.coordinates() {'dimensioncoordinate0', 'dimensioncoordinate1'} >>> c.set_coordinate('auxiliarycoordinate0') >>> c.coordinates() {'dimensioncoordinate0', 'dimensioncoordinate1', 'auxiliarycoordinate0'}