Skip to content

Commit

Permalink
fix pylint f string
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasColombi committed Feb 12, 2025
1 parent 45ccd8a commit ec4a819
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions climada/hazard/tc_tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2918,10 +2918,10 @@ def compute_track_density(

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

0 comments on commit ec4a819

Please sign in to comment.