Skip to content

Commit c7edcc1

Browse files
Adjust minimum values
1 parent e6a52f7 commit c7edcc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pygmt/tests/test_datasets_earth_dist.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_earth_dist_01d():
2020
assert data.gmt.registration == 0
2121
npt.assert_allclose(data.lat, np.arange(-90, 91, 1))
2222
npt.assert_allclose(data.lon, np.arange(-180, 181, 1))
23-
npt.assert_allclose(data.min(), -106.06, atol=0.01)
23+
npt.assert_allclose(data.min(), -2655.7, atol=0.01)
2424
npt.assert_allclose(data.max(), 81.35, atol=0.01)
2525

2626

@@ -33,7 +33,7 @@ def test_earth_dist_01d_with_region():
3333
assert data.gmt.registration == 0
3434
npt.assert_allclose(data.lat, np.arange(-5, 6, 1))
3535
npt.assert_allclose(data.lon, np.arange(-10, 11, 1))
36-
npt.assert_allclose(data.min(), 5.57, atol=0.01)
36+
npt.assert_allclose(data.min(), -1081.94, atol=0.01)
3737
npt.assert_allclose(data.max(), 29.21, atol=0.01)
3838

3939

@@ -49,5 +49,5 @@ def test_earth_dist_01m_default_registration():
4949
assert data.coords["lat"].data.max() == 5.0
5050
assert data.coords["lon"].data.min() == -10.0
5151
assert data.coords["lon"].data.max() == -9.0
52-
npt.assert_allclose(data.min(), 20.34, atol=0.01)
52+
npt.assert_allclose(data.min(), -243.62, atol=0.01)
5353
npt.assert_allclose(data.max(), 30.04, atol=0.01)

0 commit comments

Comments
 (0)