Learn R Programming

PRSim (version 1.5)

runoff: Sample runoff of a catchment

Description

Artifical runoff data based on actual and simulated observations.

Usage

data("runoff")

Arguments

Format

A data frame with 15695 observations of the following 4 variables.

YYYY

a numeric vector, year

MM

a numeric vector, month

DD

a numeric vector, day

Qobs

a numeric vector, synthetic observed runoff

Details

The data mimiks the runoff of the river Plessur at the gauging station Chur, Switzerland. The the flow regime of the river is melt dominated. More information is given in the reference below.

References

Brunner, M. I., A. Bárdossy, and R. Furrer (2019). Technical note: Stochastic simulation of streamflow time series using phase randomization. Hydrology and Earth System Sciences, 23, 3175-3187, https://doi.org/10.5194/hess-23-3175-2019.

Examples

Run this code
data(runoff)
str(runoff) 
runoff$timestamp <- paste(runoff$YYYY, runoff$MM, runoff$DD, sep=" ")
runoff$timestamp <- as.POSIXct(strptime(runoff$timestamp,
                                 format="%Y %m %d", tz="GMT"))
plot(runoff$timestamp[1:1000], runoff$Qobs[1:1000], type="l", 
  xlab="Time [d]", ylab=expression(paste("Discharge [m"^3,"/s]")))

Run the code above in your browser using DataLab