calc_outdist: Update flow length from the upstream node of each stream...

View source: R/delete_lakes.R

calc_outdistR Documentation

Update flow length from the upstream node of each stream segment to the outlet of the network .

Description

Recursive function to calculate the flow length from the upstream node of the stream segment to the outlet of the network. It is called by delete_lakes for each outlet and should not be called by the user.

Usage

calc_outdist(dt, id)

Arguments

dt

data.table containing the attributes of the stream segments

id

integer; 'stream' of the stream segment

Details

calc_outdist

Value

nothing

Author(s)

Mira Kattwinkel, mira.kattwinkel@gmx.net


MiKatt/openSTARS documentation built on June 17, 2022, 5:08 a.m.