Skip to content

Commit ec4a819

Browse files
fix pylint f string
1 parent 45ccd8a commit ec4a819

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

climada/hazard/tc_tracks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2918,10 +2918,10 @@ def compute_track_density(
29182918

29192919
if tc_track.data[0].time_step[0].item() > res / limit_ratio:
29202920
warnings.warn(
2921-
f"The time step is too big. For the desired resolution, apply a time step \n"
2922-
"of {res/limit_ratio}h."
2921+
"The time step is too big for the current resolution. For the desired resolution, \n"
2922+
f"apply a time step of {res/limit_ratio}h."
29232923
)
2924-
elif res < 0.01:
2924+
elif res < 0.1:
29252925
warnings.warn(
29262926
"The resolution is too high. The computation might take several minutes \n"
29272927
"to hours. Consider using a resolution below 0.1°."

0 commit comments

Comments
 (0)