collapse_network_inward: Collapse Network

View source: R/aggregation.R

collapse_network_inwardR Documentation

Collapse Network

Description

Headwaters are those segments in which there are no inflows (!ID %in% toID). This function removes and normalizes the network list to collapse headwater locations that violate prescribed minimum length and area thresholds.

Usage

collapse_network_inward(
  network_list,
  min_area_sqkm,
  min_length_km,
  verbose = TRUE
)

Arguments

network_list

a list containing flowline 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

list of sf objects


mikejohnson51/hyAggregate documentation built on July 1, 2022, 2:42 p.m.