Skip to content

Commit adaa43f

Browse files
committed
Update grid imports
1 parent a2b0618 commit adaa43f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/v4/test_datasets.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
from parcels import xgcm
12
from parcels._datasets.structured.generic import datasets
2-
from parcels.xgcm import Grid
33

44

55
def test_left_indexed_dataset():
66
"""Checks that 'ds_2d_left' is right indexed on all variables."""
77
ds = datasets["ds_2d_left"]
8-
grid = Grid(ds)
8+
grid = xgcm.Grid(ds)
99

1010
for _axis_name, axis in grid.axes.items():
1111
for pos, _dim_name in axis.coords.items():
@@ -15,7 +15,7 @@ def test_left_indexed_dataset():
1515
def test_right_indexed_dataset():
1616
"""Checks that 'ds_2d_right' is right indexed on all variables."""
1717
ds = datasets["ds_2d_right"]
18-
grid = Grid(ds)
18+
grid = xgcm.Grid(ds)
1919
for _axis_name, axis in grid.axes.items():
2020
for pos, _dim_name in axis.coords.items():
2121
assert pos in ["center", "right"]

0 commit comments

Comments
 (0)