utils.coords.handshake_coords¶
Import path: earth2studio.utils.coords.handshake_coords
Documentation¶
Simple check to see if the required dimensions have the same coordinate system
Parameters:
-
input_coords(CoordSystem) –Input coordinate system to validate
-
target_coords(CoordSystem) –Target coordinate system
-
required_dim(str | list[str]) –Required dimension(s) (name of coordinate)
Raises:
-
KeyError–If required dim is not present in coordinate systems
-
ValueError–If coordinates of required dimensions don't match