We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b983c7d commit 1046328Copy full SHA for 1046328
climada/hazard/tc_tracks.py
@@ -3034,8 +3034,9 @@ def compute_track_density(
3034
"""
3035
3036
limit_ratio = 1.12 * 1.1 # record tc speed 112km/h -> 1.12°/h + 10% margin
3037
+ time_value: float = tc_track.data[0].time_step[0].values # Type hint for jenkins
3038
- if tc_track.data[0].time_step[0].values > (res / limit_ratio):
3039
+ if time_value > (res / limit_ratio):
3040
warnings.warn(
3041
"The time step is too big for the current resolution. For the desired resolution, \n"
3042
f"apply a time step of {res/limit_ratio}h."
0 commit comments