Skip to content

Commit f9e044b

Browse files
Set nemo mesh type to spherical
This ensures overlaps are properly calculated across antimeridian
1 parent 9035be9 commit f9e044b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/v4/test_index_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_indexing_nemo_curvilinear():
6363
{"glamf": "lon", "gphif": "lat", "z": "depth"}
6464
)
6565
xgcm_grid = Grid(ds, coords={"X": {"left": "x"}, "Y": {"left": "y"}}, periodic=False)
66-
grid = XGrid(xgcm_grid)
66+
grid = XGrid(xgcm_grid, mesh="spherical")
6767

6868
# Test points on the NEMO 1/4 degree curvilinear grid
6969
lats = np.array([-30, 0, 88])

0 commit comments

Comments
 (0)