read_amax | R Documentation |
The function reads .AM files once these are in a local folder: these files contain information on annual maxima (AMAX) records extracted from the instantaneous river flow measurements. The function checks for the presence of any [AM Rejected] information and includes it in the output.
read_amax(station, loc_WinFapFiles = getwd())
station |
NRFA station number(s) for which the .AM file (named |
loc_WinFapFiles |
the file.path of the WINFAP files, i.e. the location in which the
|
a data.frame with information on the annual maxima for the station with the following columns
NRFA station number (can be a vector of station numbers)
the correct water year for the peak flow
date of maximum flow
the maximum flow in m3/s
the stage (height) reached by the river - this information is used to derive the flow via a rating curve
logical, if TRUE the water year has been flagged as rejected by the NRFA
Information on the .AM files and river flow gauging in the UK can be found at the National River Flow Archive website https://nrfa.ceh.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.