MCPcopy Index your code
hub / github.com/pydata/xarray / reverse

Method reverse

xarray/core/coordinate_transform.py:54–68  ·  view source on GitHub ↗

Perform world -> grid coordinate reverse transformation. Parameters ---------- labels : dict World coordinate labels. Returns ------- dim_positions : dict Grid relative location(s) along each dimension (axis).

(self, coord_labels: dict[Hashable, Any])

Source from the content-addressed store, hash-verified

52 raise NotImplementedError
53
54 def reverse(self, coord_labels: dict[Hashable, Any]) -> dict[str, Any]:
55 """Perform world -> grid coordinate reverse transformation.
56
57 Parameters
58 ----------
59 labels : dict
60 World coordinate labels.
61
62 Returns
63 -------
64 dim_positions : dict
65 Grid relative location(s) along each dimension (axis).
66
67 """
68 raise NotImplementedError
69
70 @overload
71 def equals(self, other: CoordinateTransform) -> bool: ...

Callers 2

selMethod · 0.45

Calls

no outgoing calls

Tested by 1