Skip to content

Commit 7f21fea

Browse files
Update tc_tracks.py
1 parent edfffc5 commit 7f21fea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

climada/hazard/tc_tracks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,7 @@ def from_netcdf(cls, folder_name):
16211621
return cls(data)
16221622

16231623
@staticmethod
1624-
def define_tc_category_fast(max_sust_wind: np.array, units: str = "kn") -> int:
1624+
def define_tc_category_FAST(max_sust_wind: np.array, units: str = "kn") -> int:
16251625
"""Define category of the tropical cyclone according to Saffir-Simpson scale.
16261626
16271627
Parameters:
@@ -1744,7 +1744,7 @@ def from_FAST(cls, folder_name: str):
17441744
"orig_event_flag": True,
17451745
"data_provider": "FAST",
17461746
"id_no": track.n_trk.item(),
1747-
"category": TCTracks.define_tc_category_fast(
1747+
"category": TCTracks.define_tc_category_FAST(
17481748
max_sustained_wind_knots
17491749
),
17501750
},

0 commit comments

Comments
 (0)