Skip to content

Commit d8ae271

Browse files
authored
Update values for SRTM+ v2.7 (#3937)
Related to GenericMappingTools/gmtserver-admin#274
1 parent ca4503a commit d8ae271

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
@@ -66,7 +66,7 @@ def test_earth_relief_01d_with_region_srtm():
6666
assert data.gmt.registration == GridRegistration.GRIDLINE
6767
npt.assert_allclose(data.lat, np.arange(-5, 6, 1))
6868
npt.assert_allclose(data.lon, np.arange(-10, 11, 1))
69-
npt.assert_allclose(data.min(), -5118.0, atol=0.5)
69+
npt.assert_allclose(data.min(), -5137.0, atol=0.5)
7070
npt.assert_allclose(data.max(), 680.5, atol=0.5)
7171

7272

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

195195

0 commit comments

Comments
 (0)