accumulate_runoff_constant: Apply constant velocity river routing

View source: R/accumulate_runoff_constant.R

accumulate_runoff_constantR Documentation

Apply constant velocity river routing

Description

Implements a simple constant velocity routing algorithm which can be used with arbitrary timesteps.

Usage

accumulate_runoff_constant(HS, velocity = 1, verbose = FALSE)

Arguments

HS

A HS object.

velocity

Flow velocity. Can be a constant, or a vector of flow velocity at each unique river segments. Defaults to 1 meter per second.

verbose

Whether to print progress indication or not.

Value

Returns the input object HS) with an added list column discharge_ts containing routed discharge estimates for each river segment.


mkkallio/hydrostreamer documentation built on Oct. 14, 2023, 9:38 p.m.