From f2e5e8fcf0d13694c3a07f40b651fdb4a3d3a4f1 Mon Sep 17 00:00:00 2001 From: James McCreight Date: Mon, 16 Sep 2024 17:28:41 -0600 Subject: [PATCH] fix verbosity_msg in 2 places --- pywatershed/utils/preprocess_cascades.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pywatershed/utils/preprocess_cascades.py b/pywatershed/utils/preprocess_cascades.py index 3ba8bed6..01a51c8b 100644 --- a/pywatershed/utils/preprocess_cascades.py +++ b/pywatershed/utils/preprocess_cascades.py @@ -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") @@ -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"]