utils.coords.split_coords¶
Import path: earth2studio.utils.coords.split_coords
Documentation¶
A utility function to split a dimension from a (x,coords) pair and convert it into a list of tensors, a CoordSystem, and the dimension that extract from coords.
Parameters:
-
x(Tensor) –Input tensor
-
coords(CoordSystem) –Coordinates referring to the dimensions of x
-
dim(str, default:'variable') –Name of the dimension in coords to split along
Returns: