Skip to content

Commit

Permalink
Adjust maximum values
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonnefroehlich committed Dec 22, 2024
1 parent c7edcc1 commit 5e55944
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pygmt/tests/test_datasets_earth_dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_earth_dist_01d():
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(), -2655.7, atol=0.01)
npt.assert_allclose(data.max(), 81.35, atol=0.01)
npt.assert_allclose(data.max(), 2463.42, atol=0.01)


def test_earth_dist_01d_with_region():
Expand All @@ -34,7 +34,7 @@ def test_earth_dist_01d_with_region():
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(), -1081.94, atol=0.01)
npt.assert_allclose(data.max(), 29.21, atol=0.01)
npt.assert_allclose(data.max(), 105.17999, atol=0.01)


def test_earth_dist_01m_default_registration():
Expand All @@ -50,4 +50,4 @@ def test_earth_dist_01m_default_registration():
assert data.coords["lon"].data.min() == -10.0
assert data.coords["lon"].data.max() == -9.0
npt.assert_allclose(data.min(), -243.62, atol=0.01)
npt.assert_allclose(data.max(), 30.04, atol=0.01)
npt.assert_allclose(data.max(), 2.939995, atol=0.01)

0 comments on commit 5e55944

Please sign in to comment.