Skip to content

Commit

Permalink
Merge pull request #107 from CLIMADA-project/feature/fixTCSurgeBathtu…
Browse files Browse the repository at this point in the history
…b_after_climadapython_PR833

Fix test_surge_from_track after change in Holland 2008 implementation…
  • Loading branch information
emanuel-schmid committed Jan 19, 2024
2 parents 209cc23 + 83b6120 commit 75a7536
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 75a7536

Please sign in to comment.