Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
286c61f
documentation updates
dblodgett-usgs Sep 29, 2023
1a15f59
make sure no total duplicates exist when generating index ids
dblodgett-usgs Oct 12, 2023
4c507b9
minor version
dblodgett-usgs Oct 12, 2023
fbcdeb7
add checks if nhdplusTools is available
dblodgett-usgs Jan 2, 2024
4061893
minor build issues
dblodgett-usgs Jan 2, 2024
a017376
fix citation
dblodgett-usgs Jan 9, 2024
11a0eb5
Add website to DESCRIPTION
olivroy Jan 9, 2024
0da544b
Merge pull request #21 from olivroy/patch-1
dblodgett-usgs Jan 13, 2024
8127ed3
address further nhddplusTools dependencies
dblodgett-usgs Jan 15, 2024
6cceeee
better performance for point buffering
dblodgett-usgs Apr 30, 2024
15e7837
add reconciled and aggregated id for support of reference and derived…
dblodgett-usgs Apr 30, 2024
76afe0a
Merge pull request #26 from DOI-USGS/update
dblodgett-usgs Apr 30, 2024
d2d54be
hydroloom
dblodgett-usgs Apr 30, 2024
5fd5576
Merge pull request #27 from DOI-USGS/doco
dblodgett-usgs Apr 30, 2024
6d73a5e
js deps
dblodgett-usgs Apr 30, 2024
49c875a
Merge pull request #28 from DOI-USGS/doco
dblodgett-usgs Apr 30, 2024
2a986cd
support adding a "main" path indicator for dendritic downstream for #22
dblodgett-usgs May 10, 2024
b2f5330
add upmain handling to make fromids
dblodgett-usgs May 10, 2024
5190530
to_flownetwork
dblodgett-usgs May 10, 2024
53e5de7
handle edge case in toids
dblodgett-usgs May 11, 2024
f16d86e
better toid handling in make_node_topology with add = TRUE
dblodgett-usgs May 11, 2024
6990230
fixes #22 -- first draft of documentation
dblodgett-usgs May 11, 2024
7b9ccee
testing for #22
dblodgett-usgs May 13, 2024
0c6b5a6
check issues
dblodgett-usgs May 13, 2024
f5945e8
pkgdown and news
dblodgett-usgs May 13, 2024
d20a570
Merge pull request #29 from DOI-USGS/navigate_main
dblodgett-usgs May 13, 2024
b00b561
1.1.0
dblodgett-usgs May 13, 2024
38ebe34
Merge pull request #30 from DOI-USGS/navigate_main
dblodgett-usgs May 13, 2024
59f5958
demo script out of inst
dblodgett-usgs May 28, 2024
011232d
fixes #34
dblodgett-usgs Jun 25, 2024
146f62d
Merge branch 'main' of https://github.com/DOI-USGS/hydroloom
dblodgett-usgs Jun 25, 2024
f7d5aea
fixes #35
dblodgett-usgs Jun 28, 2024
227ef4e
assign topo_sort for divergences correctly fixes #36
dblodgett-usgs Jul 30, 2024
98f7178
Merge pull request #37 from DOI-USGS/div-topo_sort
dblodgett-usgs Jul 30, 2024
772cb53
improve add_pathlength performance fixes #38
dblodgett-usgs Aug 1, 2024
5503073
add levelpaths upgrades for non dendritic network and supplied topo_sort
dblodgett-usgs Aug 1, 2024
a4d534a
Merge pull request #39 from DOI-USGS/div-level_path
dblodgett-usgs Aug 2, 2024
e93b890
example requires nhdplusTools
dblodgett-usgs Aug 19, 2024
88dbd90
bug in logic for suggested packages
dblodgett-usgs Aug 19, 2024
b376ef0
update documentation of UT navigation as not following diversions
dblodgett-usgs Aug 20, 2024
b938347
better handling for future not installed
dblodgett-usgs Aug 21, 2024
d8ec44c
more suggested package cleanup
dblodgett-usgs Aug 21, 2024
f547697
UT navigation follow divergences now
dblodgett-usgs Aug 21, 2024
d23dfe7
news
dblodgett-usgs Aug 21, 2024
5558acc
Merge pull request #43 from DOI-USGS/navigate
dblodgett-usgs Aug 21, 2024
7f3bfb4
relax requirement for new attribute
dblodgett-usgs Aug 22, 2024
19bdd66
pkgdown
dblodgett-usgs Aug 26, 2024
6579240
Merge pull request #44 from DOI-USGS/pkgdown
dblodgett-usgs Aug 26, 2024
b50b9c3
extra sources
dblodgett-usgs Aug 26, 2024
823f828
Merge pull request #45 from DOI-USGS/pkgdown
dblodgett-usgs Aug 26, 2024
e5a2f00
convert get_node and index_points_to_lines to use data.table
dblodgett-usgs Sep 27, 2024
be9f787
Merge pull request #46 from DOI-USGS/datatable
dblodgett-usgs Sep 27, 2024
c85e3f0
add specific id search to index_points_to_lines for #24
dblodgett-usgs Oct 2, 2024
24cf370
check issues
dblodgett-usgs Oct 2, 2024
179685b
Merge pull request #47 from DOI-USGS/index-mods
dblodgett-usgs Oct 2, 2024
0f37f6a
improve robustness of navigate_network_dfs
dblodgett-usgs Oct 9, 2024
03092c4
Merge pull request #48 from DOI-USGS/dev
dblodgett-usgs Oct 9, 2024
43c7cc0
add error handling for missing start value fixes #49
dblodgett-usgs Oct 19, 2024
407e947
Merge pull request #50 from DOI-USGS/49
dblodgett-usgs Oct 19, 2024
f542a5d
pkgdown
dblodgett-usgs Nov 22, 2024
8c968cb
Merge branch 'main' of https://github.com/DOI-USGS/hydroloom
dblodgett-usgs Nov 22, 2024
421f360
build
dblodgett-usgs Nov 22, 2024
5de8531
bug in sort_network when duplicated rows due to attributes fixes #52
dblodgett-usgs Jan 25, 2025
cb0b7a3
Merge pull request #53 from DOI-USGS/sort_network_bug
dblodgett-usgs Jan 25, 2025
eed6633
news
dblodgett-usgs Aug 11, 2025
b43ea36
r 4.1
dblodgett-usgs Oct 1, 2025
7b5a57c
Merge pull request #56 from DOI-USGS/release
dblodgett-usgs Oct 1, 2025
d21c5bd
pkgdown
dblodgett-usgs Oct 1, 2025
ce8da22
Merge branch 'main' of https://github.com/DOI-USGS/hydroloom
dblodgett-usgs Oct 1, 2025
0db0980
move utility functions
dblodgett-usgs Dec 9, 2025
f94c39d
support indexing without aggregate feature and document -- fixes #24
dblodgett-usgs Dec 9, 2025
c0de79e
initial implementation of add measures
dblodgett-usgs Dec 10, 2025
e37c418
finish add_measures and test with index_points_to_lines fixes #57 fix…
dblodgett-usgs Dec 11, 2025
8d5d72d
Merge pull request #58 from DOI-USGS/measures
dblodgett-usgs Dec 11, 2025
6dd6292
divergence apporitioned accumulation for #17
dblodgett-usgs Dec 19, 2025
db8d58c
incremental
dblodgett-usgs Dec 22, 2025
e480a5a
incremental
dblodgett-usgs Dec 23, 2025
6249393
working implementation?
dblodgett-usgs Dec 23, 2025
e955dd3
cleanup
dblodgett-usgs Dec 23, 2025
820a276
simplify and scale testing
dblodgett-usgs Dec 24, 2025
fb03904
incremental
dblodgett-usgs Dec 24, 2025
a70149d
remove total implementation
dblodgett-usgs Dec 24, 2025
da5bfe3
incremental
dblodgett-usgs Dec 28, 2025
0ca0801
tests pass with valence > 2 diversions!
dblodgett-usgs Dec 28, 2025
e001cde
documentation
dblodgett-usgs Dec 28, 2025
38cbe99
add progress and clean up
dblodgett-usgs Jan 5, 2026
f561be7
accumulate performance
dblodgett-usgs Jan 12, 2026
857e394
news
dblodgett-usgs Jan 12, 2026
4ab85ab
minor updates prepping for work on index ids functionality
dblodgett-usgs Jan 28, 2026
e6d74b1
test illustrating issue in accumulate total functionality
dblodgett-usgs Jan 28, 2026
2bfb127
add lintr
dblodgett-usgs Jan 28, 2026
36f2080
remove all trailing whitespace
dblodgett-usgs Jan 28, 2026
03a70fe
lint cleanup
dblodgett-usgs Jan 28, 2026
8323e68
reindent with styler
dblodgett-usgs Jan 28, 2026
4baf177
vector logic lintr clean up
dblodgett-usgs Jan 28, 2026
2bb5f3f
asignment lintr fixes
dblodgett-usgs Jan 28, 2026
076960b
lint cleanup rebuild doco
dblodgett-usgs Jan 28, 2026
f1174ff
final lint fixes
dblodgett-usgs Jan 28, 2026
55f35d1
disable total accumulation for now
dblodgett-usgs Jan 29, 2026
ed087d1
missing webshot
dblodgett-usgs Jan 29, 2026
56c2fa1
package check fixes
dblodgett-usgs Jan 29, 2026
80d2f7b
temporary check clean up
dblodgett-usgs Jan 29, 2026
3ab6967
Merge pull request #63 from DOI-USGS/lint
dblodgett-usgs Jan 29, 2026
9211e08
move make_fromids into make_index_ids
dblodgett-usgs Jan 29, 2026
d078d02
rewrite make_index_ids fixes #31
dblodgett-usgs Jan 30, 2026
790a4b1
articulation flowlines and document
dblodgett-usgs Feb 2, 2026
37c658a
incremental
dblodgett-usgs Feb 3, 2026
6c6b5d2
no "none" mode in index ids
dblodgett-usgs Feb 3, 2026
2881939
remove make_fromids from use in package (still present but deprecated)
dblodgett-usgs Feb 3, 2026
d69a328
bridge not articulation
dblodgett-usgs Feb 3, 2026
f059fc4
fix up accumulate_downstream -- all tests pass again
dblodgett-usgs Feb 3, 2026
c2be20d
lint
dblodgett-usgs Feb 3, 2026
b95f0c2
add progress to get_bridges
dblodgett-usgs Feb 3, 2026
13caba1
Merge pull request #64 from DOI-USGS/31
dblodgett-usgs Feb 3, 2026
9ef2f2b
Merge pull request #65 from DOI-USGS/total-accumulation
dblodgett-usgs Feb 16, 2026
22d4358
add subset_network fixes #60
dblodgett-usgs Feb 16, 2026
21be938
clean up documentation fixes #67
dblodgett-usgs Feb 16, 2026
5dcc58b
keep attributes when adding toid in subset network
dblodgett-usgs Feb 17, 2026
fd9fd21
doco clean up
dblodgett-usgs Feb 17, 2026
52c2a1e
diversion divergence consistency
dblodgett-usgs Feb 17, 2026
7171ef5
navigate network function mode consistency
dblodgett-usgs Feb 17, 2026
cd31f3c
flowline flowpath consistency
dblodgett-usgs Feb 17, 2026
abd1afd
rebuild readme
dblodgett-usgs Feb 17, 2026
03147cf
minor cleanup
dblodgett-usgs Feb 18, 2026
2060b82
downstream accumulation article
dblodgett-usgs Feb 18, 2026
23ac450
pkgdown
dblodgett-usgs Feb 19, 2026
733dec9
add inde ids content to intro vignette
dblodgett-usgs Feb 19, 2026
d76f830
intro vignette
dblodgett-usgs Feb 19, 2026
44d4e4d
doco
dblodgett-usgs Feb 19, 2026
93de4dc
more ignore
dblodgett-usgs Feb 19, 2026
59c27e2
lint and spelling
dblodgett-usgs Feb 19, 2026
9b9ef43
remove nhdplusTools remote
dblodgett-usgs Feb 19, 2026
5eb611d
ignore revdep folder
dblodgett-usgs Feb 19, 2026
ebcf846
Merge pull request #68 from DOI-USGS/v1.1.2
dblodgett-usgs Feb 20, 2026
68b48cf
test tolerances
dblodgett-usgs Feb 20, 2026
3e16bcd
Merge pull request #69 from DOI-USGS/v1.1.3-pre
dblodgett-usgs Feb 21, 2026
954d22f
pkgdown v1.1.3
dblodgett-usgs Feb 21, 2026
a7bdab0
add levelpaths performance
dblodgett-usgs Feb 28, 2026
4d96502
double check reweight works
dblodgett-usgs Feb 28, 2026
710becf
description and news for 1.1.4
dblodgett-usgs Feb 28, 2026
19e3e97
Merge pull request #70 from DOI-USGS/levelpath
dblodgett-usgs Feb 28, 2026
26a90c8
clarify sort order direction
dblodgett-usgs Mar 16, 2026
29b278a
Phase 1 S3 class hierarchy for #73
dblodgett-usgs Mar 31, 2026
6c87308
Merge pull request #74 from DOI-USGS/class_hierarchy
dblodgett-usgs Mar 31, 2026
a4beaba
phase 2: Additional S3 Class for #73
dblodgett-usgs Mar 31, 2026
c345aa2
Merge pull request #75 from DOI-USGS/class_hierarchy
dblodgett-usgs Mar 31, 2026
d8eabf5
And use the new classes to improve error handling. For #73
dblodgett-usgs Mar 31, 2026
4c5312f
news
dblodgett-usgs Apr 1, 2026
e5c781e
Clean up class dispatch code
dblodgett-usgs Apr 1, 2026
821ffc6
Merge pull request #76 from DOI-USGS/class_hierarchy
dblodgett-usgs Apr 1, 2026
d1e6e76
Add option of outlets = list(from, to) to allow for selective pairs p…
apsoras Apr 2, 2026
fb8c3cb
add checks for recycling, allow outlets to be a dataframe
apsoras Apr 2, 2026
7719cb9
removed fastmatch, little to no improvement in get_dwn
apsoras Apr 2, 2026
901ffa3
rename id_1 and id_2 back to original outlet IDs
apsoras Apr 2, 2026
b1382b4
add tests, update documentation
Apr 4, 2026
bc7d96a
fixed test ref
Apr 4, 2026
4d8ccdb
update description
apsoras Apr 5, 2026
8fca4f6
Merge pull request #77 from apsoras/navigate_connected_paths_performance
dblodgett-usgs Apr 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ README.Rmd
CONTRIBUTING.md
cran-comments.md
^CRAN-SUBMISSION$
.lintr
.vscode
.*temp.*
revdep
.claude
CLAUDE.md
1 change: 1 addition & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
_R_CHECK_TESTS_NLINES_: 0
NOT_CRAN: true
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: true
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
.Renviron
cran-comments.md
CRAN-SUBMISSION
*temp*
.vscode/
revdep/
CLAUDE.md
6 changes: 6 additions & 0 deletions .lintr
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
linters: linters_with_defaults(
line_length_linter(120),
indentation_linter = NULL,
object_usage_linter = NULL,
object_name_linter = NULL
)
18 changes: 11 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
Package: hydroloom
Title: Utilities to Weave Hydrologic Fabrics
Version: 1.0.0
Authors@R:
Version: 1.2.0
Authors@R: c(
person(given = "David",
family = "Blodgett",
role = c("aut", "cre"),
email = "dblodgett@usgs.gov",
comment = c(ORCID = "0000-0001-9489-1710"))
comment = c(ORCID = "0000-0001-9489-1710")),
person(given = "Andrew",
family = "Psoras",
role = "ctb",
email = "apsoras@usgs.gov"))
Description: A collection of utilities that support creation of network attributes for hydrologic networks. Methods and algorithms implemented are documented in Moore et al. (2019) <doi:10.3133/ofr20191096>), Cormen and Leiserson (2022) <ISBN:9780262046305> and Verdin and Verdin (1999) <doi:10.1016/S0022-1694(99)00011-6>.
Depends: R (>= 4.0)
Depends: R (>= 4.1.0)
Imports: dplyr, data.table, sf, units, stats, methods, utils, pbapply, tidyr, RANN, rlang, fastmap
Suggests: testthat, nhdplusTools, future, lwgeom, future.apply, knitr, gifski, mapview
Suggests: testthat, nhdplusTools, future, lwgeom, future.apply, knitr, gifski, mapview, webshot, geos
License: CC0
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.3
Config/testthat/parallel: true
Config/testthat/edition: 3
VignetteBuilder: knitr
Language: en-US
URL: https://github.com/DOI-USGS/hydroloom
URL: https://github.com/DOI-USGS/hydroloom, https://doi-usgs.github.io/hydroloom/
61 changes: 61 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,88 @@

S3method(accumulate_downstream,data.frame)
S3method(accumulate_downstream,hy)
S3method(accumulate_downstream,hy_node)
S3method(accumulate_downstream,hy_topo)
S3method(add_divergence,data.frame)
S3method(add_divergence,hy)
S3method(add_divergence,hy_node)
S3method(add_divergence,hy_topo)
S3method(add_levelpaths,data.frame)
S3method(add_levelpaths,hy)
S3method(add_levelpaths,hy_node)
S3method(add_levelpaths,hy_topo)
S3method(add_measures,data.frame)
S3method(add_measures,hy)
S3method(add_pathlength,data.frame)
S3method(add_pathlength,hy)
S3method(add_pathlength,hy_node)
S3method(add_pathlength,hy_topo)
S3method(add_pfafstetter,data.frame)
S3method(add_pfafstetter,hy)
S3method(add_pfafstetter,hy_leveled)
S3method(add_pfafstetter,hy_node)
S3method(add_pfafstetter,hy_topo)
S3method(add_return_divergence,data.frame)
S3method(add_return_divergence,hy)
S3method(add_return_divergence,hy_node)
S3method(add_return_divergence,hy_topo)
S3method(add_streamlevel,data.frame)
S3method(add_streamlevel,hy)
S3method(add_streamlevel,hy_leveled)
S3method(add_streamlevel,hy_topo)
S3method(add_streamorder,data.frame)
S3method(add_streamorder,hy)
S3method(add_streamorder,hy_node)
S3method(add_streamorder,hy_topo)
S3method(add_toids,data.frame)
S3method(add_toids,hy)
S3method(add_toids,hy_node)
S3method(add_toids,hy_topo)
S3method(add_topo_sort,data.frame)
S3method(add_topo_sort,hy)
S3method(add_topo_sort,hy_node)
S3method(add_topo_sort,hy_topo)
S3method(get_bridge_flowlines,data.frame)
S3method(get_bridge_flowlines,hy)
S3method(get_bridge_flowlines,hy_node)
S3method(get_bridge_flowlines,hy_topo)
S3method(index_points_to_lines,data.frame)
S3method(index_points_to_lines,hy)
S3method(make_attribute_topology,data.frame)
S3method(make_attribute_topology,hy)
S3method(make_index_ids,data.frame)
S3method(make_index_ids,hy)
S3method(make_index_ids,hy_flownetwork)
S3method(make_index_ids,hy_topo)
S3method(make_node_topology,data.frame)
S3method(make_node_topology,hy)
S3method(make_node_topology,hy_topo)
S3method(navigate_hydro_network,data.frame)
S3method(navigate_hydro_network,hy)
S3method(navigate_hydro_network,hy_leveled)
S3method(navigate_hydro_network,hy_node)
S3method(navigate_hydro_network,hy_topo)
S3method(print,hy_flownetwork)
S3method(print,hy_node)
S3method(print,hy_topo)
S3method(print,hydroloom_names)
S3method(sort_network,data.frame)
S3method(sort_network,hy)
S3method(sort_network,hy_node)
S3method(sort_network,hy_topo)
S3method(subset_network,data.frame)
S3method(subset_network,hy)
S3method(subset_network,hy_node)
S3method(subset_network,hy_topo)
S3method(to_flownetwork,data.frame)
S3method(to_flownetwork,hy)
S3method(to_flownetwork,hy_leveled)
S3method(to_flownetwork,hy_node)
S3method(to_flownetwork,hy_topo)
export(accumulate_downstream)
export(add_divergence)
export(add_levelpaths)
export(add_measures)
export(add_pathlength)
export(add_pfafstetter)
export(add_return_divergence)
Expand All @@ -48,16 +96,20 @@ export(check_hy_graph)
export(disambiguate_indexes)
export(fix_flowdir)
export(format_index_ids)
export(get_bridge_flowlines)
export(get_hydro_location)
export(get_node)
export(get_partial_length)
export(hy)
export(hy_capabilities)
export(hy_network_type)
export(hy_reverse)
export(hydroloom_name_definitions)
export(hydroloom_names)
export(index_points_to_lines)
export(index_points_to_waterbodies)
export(is.hy)
export(is_dendritic)
export(make_attribute_topology)
export(make_fromids)
export(make_index_ids)
Expand All @@ -69,11 +121,20 @@ export(rename_geometry)
export(rescale_measures)
export(sort_network)
export(st_compatibalize)
export(subset_network)
export(to_flownetwork)
importFrom(RANN,nn2)
importFrom(data.table,.N)
importFrom(data.table,.SD)
importFrom(data.table,as.data.table)
importFrom(data.table,copy)
importFrom(data.table,data.table)
importFrom(data.table,fcase)
importFrom(data.table,rbindlist)
importFrom(data.table,setcolorder)
importFrom(data.table,setnames)
importFrom(data.table,setorder)
importFrom(data.table,setorderv)
importFrom(dplyr,all_of)
importFrom(dplyr,any_of)
importFrom(dplyr,arrange)
Expand Down
78 changes: 78 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,81 @@
hydroloom 1.2.0
==========

This release introduces an S3 class hierarchy (`hy_topo`, `hy_leveled`,
`hy_node`, `hy_flownetwork`) that lets hydroloom functions validate input
at dispatch time and provide guided error messages when the wrong network
representation is passed. Existing code that passes `data.frame` or `hy`
objects continues to work without changes -- the new classes are assigned
automatically and are transparent to downstream consumers. Package
developers who depend on hydroloom should note that returned objects now
carry subclass attributes (e.g. `hy_topo`) which are stripped by
`hy_reverse()` and by standard dplyr operations.

- Improve performance of `add_levelpaths()` by converting to data.table
- Add S3 class hierarchy: `hy_topo`, `hy_leveled`, `hy_node`, `hy_flownetwork` -- #73
- `hy()` gains `add_topo` parameter to auto-build toid from fromnode/tonode
- New exported helpers: `hy_network_type()`, `is_dendritic()`, `hy_capabilities()`
- Print methods for `hy_topo`, `hy_node`, `hy_flownetwork`
- Producer functions now stamp output classes: `add_toids()` -> `hy_topo`,
`sort_network()` -> `hy_topo`, `add_levelpaths()` -> `hy_leveled`,
`make_node_topology()` -> `hy_node`, `to_flownetwork()` -> `hy_flownetwork`
- `add_divergence()` sets `attr(x, "dendritic") <- FALSE` on output
- `add_toids(return_dendritic = FALSE)` is deprecated; use `to_flownetwork()`
- S3 method dispatch: functions now dispatch on subclass (e.g. `.hy_topo`,
`.hy_leveled`) with guided error messages for wrong input class
- Functions that require `hy_leveled` (e.g. `add_pfafstetter()`,
`navigate_hydro_network()`, `to_flownetwork()`) fall through from
`hy_topo`/`hy_node` when required columns are already present
- Fix pre-existing bug in `make_to_dt()` where dendritic branch failed on
tibble input (data.table `with = FALSE` syntax on plain data.frame)
- **Deprecation notice:** A future release will require that `hy_topo` objects
have unique `id` values (one row per catchment). Non-dendritic connectivity
with duplicated ids in a toid-based edge list will need to be represented as
`hy_flownetwork` (via `to_flownetwork()`). Developers who currently pass
non-dendritic toid tables through hydroloom functions should migrate to
`to_flownetwork()` or `make_node_topology()` for non-dendritic workflows.

hydroloom 1.1.3
==========

Update test tolerances for failing Fedora CRAN tests

hydroloom 1.1.2
==========

Hydroloom 1.1.2 introduces new functionality in `accumulate_downstream()`, reworks the `make_index_ids()`,
and deprecates `make_fromids()` and `format_index_ids()` for clarity of package function. Deprecated functions
will be removed in the next major version release.

- `subset_network()` has been added to support subsetting networks to include all diversions that emanate from the basin. -- #60
- `accumulate_downstream()` now supports "total upstream" and "divergence routed" accumulation. -- #17
- `make_index_ids()` has been rewritten. It now uses four modes ("to", "from", and "both").
- `make_fromids()` is deprecated in favor of `make_index_ids()` with mode = "from".
- `format_index_ids()` is deprecated. The *_list element of `make_index_ids()` can be unnested instead.

hydroloom 1.1.1
==========

- fix bug with sort_network when duplicate entries are in the extended attributes -- #52
- add specific id search to index_points_to_lines for #24
- error handling #49

hydroloom 1.1.0
==========

- Add new vignette for network navigation `vignette("network_navigation")`
- Add support for upmain and downmain navigation in `navigate_network_dfs()`
- Add support for upmain and downmain in `make_index_ids()` and `make_fromids()`.
- Add function to create a "flownetwork" representation of the network with a `to_flownetwork` function.
- Improved handling / fix bugs with edge cases in `add_toids()`
- Improved error conditions when missing suggested packages.
- `navigate_hydro_network()` will now navigate from a diverted path to a main path where it previously only followed traditional tributaries..

hydroloom 1.0.1 and 1.0.2
==========

- Add checks if nhdplusTools is available.

hydroloom 1.0.0
==========

Expand Down
Loading
Loading