hydroloom 1.3.0

Distances from confluences and subpaths along identified mainstems. Four new functions place and recover positions relative to the confluences of identified mainstems (aggregate_id as a mainstem URI), working kilometer values along each aggregate flowpath axis, built from flowline lengths rather than coordinates. A mainstem is one kind of aggregate flowpath (the flowlines that share an aggregate_id and link end to end), so any aggregate_id whose flowlines form one unbranched path works the same way.

hydroloom 1.2.2

Correctness fix on make_node_topology() for dendritic networks. Outlet tonodes were seeded from max(non-outlet tonode) + 1. When the highest fromnodes belonged to outlets (whose tonode is NA and excluded from that max), the seed fell inside the fromnode range and a terminal flowline’s tonode collided with another feature’s fromnode, fabricating a connection that add_toids() would then rediscover. Outlet tonodes are now seeded above every assigned node (max(c(fromnode, tonode))), so terminals keep independent pendant nodes. Observed on the Alaska reference network (2 of 2,122 outlets).

Performance fix on accumulate_downstream(). No user-facing behavior change; output is identical.

Correctness fix on add_pathlength() for networks with character ids. The terminal test was toid != 0, which recognizes only the numeric outlet sentinel. With character ids the sentinel is "", the comparison is made as strings and is TRUE, so terminals took the accumulating branch, indexed with NA, and the NA propagated up every path above them — the whole pathlength_km column came back NA. Now uses get_outlet_value(), as add_streamorder() and add_levelpaths() do. Networks with numeric ids are unaffected.

nhdplusTools has been renamed hydrogeofetch. Examples, tests, and articles that pull sample data now suggest and source from hydrogeofetch, and package URLs point at the new repository.

hydroloom 1.2.1

Maintenance release completing the USGS official software release review (#72). No package code changed.

hydroloom 1.2.0

This release introduces an S3 class hierarchy (hy_topo, hy_leveled, hy_node, hy_flownetwork) that lets hydroloom validate input at dispatch time and emit guided error messages. Existing code that passes data.frame or hy objects keeps working – the new classes are assigned automatically by hy() and by producer functions. See ?hy_topo, ?hy_leveled, ?hy_node, and ?hy_flownetwork for representation patterns, required columns, and conversion paths; the non-dendritic networks and network navigation articles at https://doi-usgs.github.io/hydroloom/ provide end-to-end walkthroughs. Package developers should note that returned objects now carry subclass attributes which are stripped by standard dplyr operations.

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.

hydroloom 1.1.1

hydroloom 1.1.0

hydroloom 1.0.1 and 1.0.2

hydroloom 1.0.0