We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2b0618 commit adaa43fCopy full SHA for adaa43f
1 file changed
tests/v4/test_datasets.py
@@ -1,11 +1,11 @@
1
+from parcels import xgcm
2
from parcels._datasets.structured.generic import datasets
-from parcels.xgcm import Grid
3
4
5
def test_left_indexed_dataset():
6
"""Checks that 'ds_2d_left' is right indexed on all variables."""
7
ds = datasets["ds_2d_left"]
8
- grid = Grid(ds)
+ grid = xgcm.Grid(ds)
9
10
for _axis_name, axis in grid.axes.items():
11
for pos, _dim_name in axis.coords.items():
@@ -15,7 +15,7 @@ def test_left_indexed_dataset():
15
def test_right_indexed_dataset():
16
"""Checks that 'ds_2d_right' is right indexed on all variables."""
17
ds = datasets["ds_2d_right"]
18
19
20
21
assert pos in ["center", "right"]
0 commit comments