Skip to content

Commit

Permalink
Update tests for earth relief v2.6 (#3265)
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman authored May 22, 2024
1 parent 6513ac5 commit 4862bf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygmt/tests/test_datasets_earth_relief.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_earth_relief_01d_with_region_srtm():
assert data.gmt.registration == 0
npt.assert_allclose(data.lat, np.arange(-5, 6, 1))
npt.assert_allclose(data.lon, np.arange(-10, 11, 1))
npt.assert_allclose(data.min(), -5136.0, atol=0.5)
npt.assert_allclose(data.min(), -5118.0, atol=0.5)
npt.assert_allclose(data.max(), 680.5, atol=0.5)


Expand Down Expand Up @@ -189,7 +189,7 @@ def test_earth_relief_15s_default_registration():
npt.assert_allclose(data.coords["lon"].data.min(), -9.997917)
npt.assert_allclose(data.coords["lon"].data.max(), -9.502083)
npt.assert_allclose(data.min(), -3897, atol=0.5)
npt.assert_allclose(data.max(), -71, atol=0.5)
npt.assert_allclose(data.max(), -76.5, atol=0.5)


@pytest.mark.xfail(
Expand Down

0 comments on commit 4862bf6

Please sign in to comment.