Skip to content

Commit 4862bf6

Browse files
authored
Update tests for earth relief v2.6 (#3265)
1 parent 6513ac5 commit 4862bf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygmt/tests/test_datasets_earth_relief.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def test_earth_relief_01d_with_region_srtm():
6565
assert data.gmt.registration == 0
6666
npt.assert_allclose(data.lat, np.arange(-5, 6, 1))
6767
npt.assert_allclose(data.lon, np.arange(-10, 11, 1))
68-
npt.assert_allclose(data.min(), -5136.0, atol=0.5)
68+
npt.assert_allclose(data.min(), -5118.0, atol=0.5)
6969
npt.assert_allclose(data.max(), 680.5, atol=0.5)
7070

7171

@@ -189,7 +189,7 @@ def test_earth_relief_15s_default_registration():
189189
npt.assert_allclose(data.coords["lon"].data.min(), -9.997917)
190190
npt.assert_allclose(data.coords["lon"].data.max(), -9.502083)
191191
npt.assert_allclose(data.min(), -3897, atol=0.5)
192-
npt.assert_allclose(data.max(), -71, atol=0.5)
192+
npt.assert_allclose(data.max(), -76.5, atol=0.5)
193193

194194

195195
@pytest.mark.xfail(

0 commit comments

Comments
 (0)