Skip to content

Commit

Permalink
hotfix for diffusive wave independent networks (#534)
Browse files Browse the repository at this point in the history
* adding jupyter checkpoints to .gitignore

* adding gage segment set arg to organize_independent_networks for dif wave
  • Loading branch information
BrianAvant authored Mar 8, 2022
1 parent 780cbe6 commit 9c18286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ __pycache__/
*.py[cod]
.env
.python-version
.ipynb_checkpoints/

# pyenv #
#########
Expand Down
1 change: 1 addition & 0 deletions src/troute-nwm/src/nwm_routing/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 9c18286

Please sign in to comment.