percQ: percQ

View source: R/percQ.R

percQR Documentation

percQ

Description

Estimate per-trap percent-Q, given hourly flow data and recorded water velocity from a CAMP Access database.

Usage

percQ(hrflow)

Arguments

hrflow

A dataframe housing hourly flow data resulting from a query against the Environmental Covariate Database.

Details

Calculations for percQ utilize denominators obtained via the Big Bend gauge station housed within the Environmental Covariate Database. These numbers include an adjustment for the two canals that often divert flow away from the Sacramento each summer. In order to obtain an estimate for these diverting flows, the daily means, as measured annually over 11 years from 2002 to 2013, was subtracted from the values stored in the Environmental Covariate Database. Package campR data frame canal houses these averages; submit data(canal) to see them after loading the campR package.

Numerators derive from velocities stored within the RBDD CAMP Access database.

See the "campR" "percQ" vignette for more information on the derivation of percent-Q.

Value

A data frame that mimics the structure of the other covariates. Columns include subSiteID, measureDate, percQ, and percQUnitID, which is set to 99.

See Also

data(canal), vignette

Examples

 
## Not run: 
ans <- percQ(hrflow))

## End(Not run)

tmcd82070/CAMP_RST documentation built on April 6, 2022, 12:07 a.m.