aggregate_along_mainstems: Aggregate along network mainstems

View source: R/aggregation.R

aggregate_along_mainstemsR Documentation

Aggregate along network mainstems

Description

Given a set of ideal catchment sizes, plus the minimum allowable catchment size and segment length, aggregate the network along mainstems.

Usage

aggregate_along_mainstems(
  network_list,
  ideal_size_sqkm,
  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

ideal_size

The ideal size of output hydrofabric catchments

term_cut

cutoff integer to define terminal IDs

Value

a list containing aggregated and validated flowline and catchment sf objects


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