Skip to content

Commit

Permalink
fix verbosity_msg in 2 places
Browse files Browse the repository at this point in the history
  • Loading branch information
jmccreight committed Sep 16, 2024
1 parent 958bceb commit f2e5e8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pywatershed/utils/preprocess_cascades.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def init_cascade_params(

if ndown > 15:
msg = f"possible ndown issue: {ndown=}"
verbosity_msg(msg)
verbosity_msg(msg, verbosity, thresh=1)

hru_down = np.zeros([ndown, nhru], dtype="int64")
cascade_area = np.zeros([ndown, nhru], dtype="double")
Expand Down Expand Up @@ -423,7 +423,7 @@ def init_cascade_params(
)

msg = f"{hru_route_order=}"
verbosity_msg(msg)
verbosity_msg(msg, verbosity, thresh=1)

new_params = parameters.to_xr_ds()
del new_params["hru_type"]
Expand Down

0 comments on commit f2e5e8f

Please sign in to comment.