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 7ab4690 commit eae899cCopy full SHA for eae899c
tests/test_xgrid.py
@@ -128,7 +128,7 @@ def test_invalid_lon_lat():
128
129
def test_invalid_depth():
130
ds = datasets["ds_2d_left"].copy()
131
- ds = ds.reindex({"ZG": -ds.ZG})
+ ds = ds.reindex({"ZG": ds.ZG[::-1})
132
133
with pytest.raises(ValueError, match="Depth DataArray .* must be strictly increasing*"):
134
XGrid.from_dataset(ds)
0 commit comments