calcCatchmArea_assignNetID: Calculate total catchment area of a stream segment and assign...

Description Usage Arguments Details Value Author(s)

View source: R/calc_edges.R

Description

Recursive function to calculate the upstream area of each stream segment and assign a unique network id. It is called by calc_edges for each outlet and should not be called by the user.

Usage

1

Arguments

dt

data.table containing the attributes of the stream segments

id

integer; 'stream' of the stream segment

netID

integer; network ID

Details

calcCatchmArea_assignNetID

Value

Total catchment area upstream of the segment

Author(s)

Mira Kattwinkel, mira.kattwinkel@gmx.net


openSTARS documentation built on Feb. 4, 2022, 5:08 p.m.