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 3d96d79 commit c622d6eCopy full SHA for c622d6e
climada/hazard/tc_tracks.py
@@ -3034,7 +3034,9 @@ def compute_track_density(
3034
"""
3035
3036
limit_ratio: float = 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
+ time_value: float = (
3038
+ tc_track.data[0].time_step[0].values.astype(float)
3039
+ ) # Type hint for jenkins
3040
3041
if time_value > (res / limit_ratio):
3042
warnings.warn(
0 commit comments