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

Fix test_surge_from_track after change in Holland 2008 implementation… #107

Merged
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions climada_petals/hazard/test/test_tc_surge_bathtub.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ def test_surge_from_track(self):
np.testing.assert_array_equal(inten[fraction == 0], 0)

# check individual known pixel values
self.assertAlmostEqual(inten[9, 31], max(-0.391 + slr, 0), places=2)
self.assertAlmostEqual(inten[14, 34] - slr, 3.637, places=2)
self.assertAlmostEqual(inten[9, 31], max(-1.219 + slr, 0), places=2)
self.assertAlmostEqual(inten[14, 34] - slr, 2.825, places=2)


# Execute Tests
Expand Down