|
45 | 45 | # Internally we only use X, Y, Z, T
|
46 | 46 | coordinate_criteria: MutableMapping[str, MutableMapping[str, Tuple]] = {
|
47 | 47 | "standard_name": {
|
| 48 | + "X": ("projection_x_coordinate",), |
| 49 | + "Y": ("projection_y_coordinate",), |
48 | 50 | "T": ("time",),
|
49 | 51 | "time": ("time",),
|
50 | 52 | "vertical": (
|
|
72 | 74 | "ocean_sigma_z_coordinate",
|
73 | 75 | "ocean_double_sigma_coordinate",
|
74 | 76 | ),
|
75 |
| - "latitude": ("latitude",), |
76 |
| - "longitude": ("longitude",), |
| 77 | + "latitude": ("latitude", "grid_latitude"), |
| 78 | + "longitude": ("longitude", "grid_longitude"), |
77 | 79 | },
|
78 | 80 | "_CoordinateAxisType": {
|
79 | 81 | "T": ("Time",),
|
@@ -1320,9 +1322,7 @@ def add_bounds(self, dims: Union[Hashable, Iterable[Hashable]]):
|
1320 | 1322 | return self._maybe_to_dataarray(obj)
|
1321 | 1323 |
|
1322 | 1324 | def bounds_to_vertices(
|
1323 |
| - self, |
1324 |
| - keys: Union[str, Iterable[str]] = None, |
1325 |
| - order: str = "counterclockwise", |
| 1325 | + self, keys: Union[str, Iterable[str]] = None, order: str = "counterclockwise" |
1326 | 1326 | ) -> Dataset:
|
1327 | 1327 | """
|
1328 | 1328 | Convert bounds variable to vertices.
|
|
0 commit comments