Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use original ETOPO1 heights and cast ints to float #32

Merged
merged 2 commits into from
Dec 14, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update test values for etopo1
  • Loading branch information
leouieda committed Dec 13, 2018
commit d7ae68f743472c7a9e45eaa2b1e0f2fb72f4ffc7
4 changes: 2 additions & 2 deletions harmonica/tests/test_sample_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def test_topography_earth():
"Sanity checks for the loaded grid"
grid = fetch_topography_earth()
assert grid.topography.shape == (361, 721)
npt.assert_allclose(grid.topography.max(), 5622)
npt.assert_allclose(grid.topography.min(), -8397)
npt.assert_allclose(grid.topography.max(), 5651, atol=1)
npt.assert_allclose(grid.topography.min(), -8409, atol=1)


def test_rio_magnetic():
Expand Down