calc_WSEw: Calculate WSE-w

Description Usage Arguments Details Value Examples

Description

Calculates WSE-w pairs for each cross section

Usage

1
calc_WSEw(cross_sections, interval = 0.05, dx = 1)

Arguments

cross_sections

list of x coordinates, bed elevations, and depths for each transect

interval

number of points to sample in each cross-section. Unlike calc_WSE, interval does not determine the number of data points, which are instead constrained by the SWOT resolution (50m) and the river width

dx

used for computing width with trapezoidal rule

Details

Makes a vector of WSE values from the minimum bed elevation to the bankfull WSE Computes flow width for each WSE-w value. Puts the estimated flow widths into the WSEw data frame

Value

WSEw data frame containing WSE and flow width values

Examples

1
xWSEw <- calc_WSEw(cross_sections, interval = 0.05, dx = 1)

jschap1/WSEw documentation built on May 12, 2019, 10:50 a.m.