Learn R Programming

UKFE (version 2.0.0)

LowFlows: Low Flows

Description

A function to estimate lower flow quantiles in ungauged catchments.

Usage

LowFlows(CDs = NULL, AREA = NULL, SAAR = NULL, BFIHOST = NULL, Exclude = NULL)

Value

A data.frame with one column of flow estimates. The row names denote the name of each estimate.

Arguments

CDs

Catchment descriptors derived from the GetCDs or CDsXML function.

AREA

Catchment area (km2) - for when CDs is not applied

SAAR

Average annual rainfall (mm) - for when CDs is not applied

BFIHOST

An estimate of baseflow index - for when CDs is not applied

Exclude

A site reference. This is to exclude sites that you do not want used in the estimate. For example, if you're seeing how the function performs on a gauged site, you may want to exclude it from the analysis.

Author

Anthony Hammond

Details

This function provides estimates of the mean flow, Q95, Q70, Q50, Q10, and Q5. The function works by finding the 30 catchments in the NRFA data set with the most similar SAAR9120 to the subject site (via the API). The observed flows for those catchments are scaled by the catchment area. Then a weighted average is taken and multiplied by the subject site catchment area for the final estimate. The weighting is done by Eucidean distance based on SAAR9120 and BFIHOST19scaled. These are weighted based on the correlation of these descriptors to the scaled flows.

Examples

Run this code
# Get some catchment descriptors, then estimate the flows
if (FALSE) {
CDs_27083 <- GetCDs(27083)
LowFlows(CDs_27083)
}
# Now estimate again but remove gauge 27083 from the analysis
if (FALSE) {
LowFlows(CDs_27083, Exclude = 27083)
}

Run the code above in your browser using DataLab