From 97e7c70784f32516046b0d60c9ad421a6bba3178 Mon Sep 17 00:00:00 2001 From: Meghan Jones Date: Mon, 7 Feb 2022 17:37:04 -0500 Subject: [PATCH] Update load_earth_relief tests for SRTM15+V2.3 --- pygmt/tests/test_datasets_earth_relief.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pygmt/tests/test_datasets_earth_relief.py b/pygmt/tests/test_datasets_earth_relief.py index f735a2675ac..db421256f6f 100644 --- a/pygmt/tests/test_datasets_earth_relief.py +++ b/pygmt/tests/test_datasets_earth_relief.py @@ -28,7 +28,7 @@ def test_earth_relief_01d(): assert data.shape == (181, 361) npt.assert_allclose(data.lat, np.arange(-90, 91, 1)) npt.assert_allclose(data.lon, np.arange(-180, 181, 1)) - npt.assert_allclose(data.min(), -8592.5) + npt.assert_allclose(data.min(), -8600.5) npt.assert_allclose(data.max(), 5559.0) @@ -42,7 +42,7 @@ def test_earth_relief_01d_with_region(): assert data.shape == (11, 21) 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(), -5145) + npt.assert_allclose(data.min(), -5147) npt.assert_allclose(data.max(), 805.5) @@ -54,7 +54,7 @@ def test_earth_relief_30m(): assert data.shape == (361, 721) npt.assert_allclose(data.lat, np.arange(-90, 90.5, 0.5)) npt.assert_allclose(data.lon, np.arange(-180, 180.5, 0.5)) - npt.assert_allclose(data.min(), -9460.5) + npt.assert_allclose(data.min(), -9454.5) npt.assert_allclose(data.max(), 5887.5)