Wrapper to read hydrographs into R
read_hydro.Rd
Wrapper to read hydrographs into R
Usage
read_hydro(
hydropath,
scenariofilter = NULL,
long = TRUE,
format = "csv",
gaugemap = "iqqm"
)
Arguments
- hydropath
path to the hydrographs
- scenariofilter
character vector of scenario names to include. Default
NULL
includes all- long
logical, default TRUE. Do we want the data long (with a column for gauge number) or wide (FALSE, with gauge numbers as columns)
- format
character, default 'csv'. Format of the hydrographs, determines which reading function gets called. Other options include 'nc' for netcdfs.
- gaugemap
mapping of gauges from nodes. Default 'iqqm' gets it from EWR tool, otherwise, a dataframe with columns 'node' and 'gauge'