generate_hw: Generate h-w

Description Usage Arguments Details Value Examples

Description

Generates height and width data for each cross section, as it might be sampled by SWOT

Usage

1
generate_hw(cross_sections, gauge_data, dx = 1, n.obs)

Arguments

cross_sections

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

dx

used for computing width with trapezoidal rule

n.obs

number of SWOT observations to make. The UMRB is observed 1-2 times per 21-day cycle

dist

type of distribution for SWOT-sampled stage values.

pars

vector of distribution parameters

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()

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