cf.DimensionCoordinate.asdimension¶
-
DimensionCoordinate.
asdimension
(copy=True)[source]¶ Return the dimension coordinate.
Parameters: - copy : bool, optional
If False then the returned dimension coordinate is not independent. By default the returned dimension coordinate is independent.
Returns: - out : cf.DimensionCoordinate
The dimension coordinate.
Examples: >>> d = c.asdimension() >>> print d is c True
>>> d = c.asdimension(copy=False) >>> print d == c True >>> print d is c False