build_collapse_table: Build Headwater Collapse Table

View source: R/aggregation.R

build_collapse_tableR Documentation

Build Headwater Collapse Table

Description

Identifies small (pathlength or area) headwater catchments and returns a data.frame with the current ID and the feature ID it should collapse into (becomes). Headwaters are segments in which there are no inflows (!ID %in% toID).

Usage

build_collapse_table(network_list, min_area_sqkm = 3, min_length_km = 1)

Arguments

network_list

a list containing flowpath and catchment sf objects

min_area_sqkm

The minimum allowable size of the output hydrofabric catchments

min_length_km

The minimum allowable length of the output hydrofabric flowlines

Value

a 2 column data.frame with id, becomes


NOAA-OWP/hyAggregate documentation built on Aug. 13, 2022, 1:36 p.m.