Skip to content

Commit 11436ad

Browse files
committed
Difference in returned tile order on CI vs local?
Try a different tile to see if it passes on CI
1 parent 221b60c commit 11436ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygmt/tests/test_xarray_accessor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ def test_xarray_accessor_tiled_grid_slice_and_add():
148148
assert grid.gmt.registration is GridRegistration.PIXEL
149149
assert grid.gmt.gtype is GridType.GEOGRAPHIC
150150
# The source grid file for tiled grids is the first tile
151-
assert grid.encoding["source"].endswith("S90E000.earth_relief_05m_p.nc")
151+
assert grid.encoding["source"].endswith("S90W180.earth_relief_05m_p.nc")
152152

153153
# For a sliced grid, ensure we don't fallback to the default registration (gridline)
154154
# and gtype (cartesian), because the source grid file should still exist.
155155
sliced_grid = grid[1:3, 1:3]
156-
assert sliced_grid.encoding["source"].endswith("S90E000.earth_relief_05m_p.nc")
156+
assert sliced_grid.encoding["source"].endswith("S90W180.earth_relief_05m_p.nc")
157157
assert sliced_grid.gmt.registration is GridRegistration.PIXEL
158158
assert sliced_grid.gmt.gtype is GridType.GEOGRAPHIC
159159

0 commit comments

Comments
 (0)