cf.CoordinateReference.equivalent¶
-
CoordinateReference.
equivalent
(other, atol=None, rtol=None, traceback=False)[source]¶ True if two coordinate references are logically equal, False otherwise.
Parameters: - other: cf.CoordinateReference
The object to compare for equality.
- atol:
float
, optional The absolute tolerance for all numerical comparisons, By default the value returned by the
cf.ATOL
function is used.- rtol:
float
, optional The relative tolerance for all numerical comparisons, By default the value returned by the
cf.RTOL
function is used.- traceback:
bool
, optional If True then print a traceback highlighting where the two instances differ.
Returns: - out:
bool
Whether or not the two objects are equivalent.
Examples: >>>