Skip to content

Commit

Permalink
Minor updates to NWM route-link notebook (#19)
Browse files Browse the repository at this point in the history
* update/clarify comments
Co-authored-by: James Halgren <[email protected]>
  • Loading branch information
jameshalgren authored Jan 6, 2023
1 parent 2031e91 commit c3c63db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nwm_network/route_link_fsspec.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@
"source": [
"d = independent_networks\n",
"for k in sorted(d, key=lambda k: len(d[k]), reverse=True):\n",
" # if 1==1:\n",
" if len(d[k]) == 8:\n",
" print(k, len(d[k]))"
]
Expand All @@ -267,6 +268,7 @@
"metadata": {},
"outputs": [],
"source": [
"# segment = -22811611 # Mississippi River\n",
"segment = -20427622\n",
"print(segment, len(independent_networks[segment]))\n",
"\n",
Expand Down Expand Up @@ -505,7 +507,7 @@
"id": "26516738-1e80-416b-9e56-10e9cf846909",
"metadata": {},
"source": [
"We can chain the segment IDs together -- this can be useful for instance if we want to query all IDs in a given basin. "
"We can chain the segment IDs together from a given list of reaches associated with a tailwater -- this can be useful for instance if we want to query all IDs in a given basin. "
]
},
{
Expand Down

0 comments on commit c3c63db

Please sign in to comment.