Learn R Programming

UKFE (version 2.0.0)

GetCDs: Get catchment descriptors from the National River Flow Archive sites considered suitable for median annual maximum flow estimation (QMED) and pooling.

Description

Extracts the catchment descriptors for a site of interest from the National River Flow Archive.

Usage

GetCDs(x)

Value

A data.frame with columns; Descriptor and Value.

Arguments

x

the site reference of interest (numeric)

Author

Anthony Hammond

Details

If the site is considered suitable for QMED and pooling the CDs are extracted from the PeakFlowData data.frame. Otherwise they are extracted using the NRFA website. Note that if they are from the NRFA website then the 'easting' and 'northing' are not for the catchment centroid, they're for the gauge location. Also, where the gauge has NRFA peak flows available, but is not considered suitable for pooling or QMED, it will be derived from the NRFA webpage, and some descriptors differ a little between the data sets (NRFA website and NRFA peak flows), notably the Area.

Examples

Run this code
# Get CDs and display in the console
cds_203018 <- GetCDs(203018)
cds_203018

Run the code above in your browser using DataLab