From 9c18286ea06922019b33d9b179ec0031a29800dd Mon Sep 17 00:00:00 2001 From: Brian Avant Date: Tue, 8 Mar 2022 08:37:02 -0600 Subject: [PATCH] hotfix for diffusive wave independent networks (#534) * adding jupyter checkpoints to .gitignore * adding gage segment set arg to organize_independent_networks for dif wave --- .gitignore | 1 + src/troute-nwm/src/nwm_routing/preprocess.py | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index f5e869449..aa384b25a 100644 --- a/.gitignore +++ b/.gitignore @@ -49,6 +49,7 @@ __pycache__/ *.py[cod] .env .python-version +.ipynb_checkpoints/ # pyenv # ######### diff --git a/src/troute-nwm/src/nwm_routing/preprocess.py b/src/troute-nwm/src/nwm_routing/preprocess.py index 4891ae01d..2526a7d17 100644 --- a/src/troute-nwm/src/nwm_routing/preprocess.py +++ b/src/troute-nwm/src/nwm_routing/preprocess.py @@ -293,6 +293,7 @@ def nwm_network_preprocess( _, reaches, rconn_diff = nnu.organize_independent_networks( diffusive_network_data[tw]['connections'], set(trib_segs), + set(), ) diffusive_network_data[tw]['rconn'] = rconn_diff diffusive_network_data[tw]['reaches'] = reaches[tw]