Skip to content

Commit

Permalink
Move comment up a little
Browse files Browse the repository at this point in the history
  • Loading branch information
mats-knmi committed Oct 3, 2024
1 parent 0198a54 commit 5c14399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysteps/blending/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,12 +645,12 @@ def forecast(
# 2.3.3 If zero_precip_radar, make sure that precip_cascade does not contain
# only nans or infs. If so, fill it with the zero value.
if zero_precip_radar:
# Look for a timestep and member with rain so that we have a sensible decomposition
done = False
for t in timesteps:
if done:
break
for j in range(precip_models.shape[0]):
# Look for a timestep and member with rain so that we have a sensible decomposition
if not blending.utils.check_norain(
precip_models[j, t], precip_thr, norain_thr
):
Expand Down

0 comments on commit 5c14399

Please sign in to comment.