Skip to content

Commit 520487f

Browse files
Update test_tc_tracks.py
1 parent 7f21fea commit 520487f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

climada/hazard/test/test_tc_tracks.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -633,19 +633,19 @@ def test_from_simulations_storm(self):
633633
tc_track = tc.TCTracks.from_simulations_storm(TEST_TRACK_STORM, years=[7])
634634
self.assertEqual(len(tc_track.data), 0)
635635

636-
def test_define_tc_category_fast(self):
637-
"""test that the correct category is assigned to a tc."""
636+
def test_define_tc_category_FAST(self):
637+
"""test that the correct category is assigned to a TC from FAST model."""
638638

639639
max_wind = np.array([20, 72, 36, 50]) # knots
640-
category1 = tc.TCTracks.define_tc_category_fast(max_wind)
641-
category2 = tc.TCTracks.define_tc_category_fast(
640+
category1 = tc.TCTracks.define_tc_category_FAST(max_wind)
641+
category2 = tc.TCTracks.define_tc_category_FAST(
642642
max_sust_wind=max_wind, units="m/s"
643643
)
644644
self.assertEqual(category1, 1)
645645
self.assertEqual(category2, 5)
646646

647647
def test_from_FAST(self):
648-
"""test the correct import of netcdf files from fast model and the conversion to a
648+
"""test the correct import of netcdf files from FAST model and the conversion to a
649649
different xr.array structure compatible with CLIMADA."""
650650

651651
tc_track = tc.TCTracks.from_FAST(TEST_TRACK_FAST)

0 commit comments

Comments
 (0)