weather_multi_sites: Sample temperature and precipitation of four catchments...

weather_multi_sitesR Documentation

Sample temperature and precipitation of four catchments derived from the ERA5-Land gridded dataset

Description

Reanalysis data of four grid cells from ERA5-Land.

Usage

data("weather_multi_sites")

Format

Contains two lists data_p and data_t containing precipitation and temperature data, respectively. Each list consists of four data frames (one list per station/grid cell) of the following 4 variables.

YYYY

a numeric vector, year

MM

a numeric vector, month

DD

a numeric vector, day

Precip/Temp

a numeric vector, observed precipitation/temperature

Details

The data contains data for four grid cells in the Pacific Northwest.

Source

The preciptation data were downloaded from ERA5-Land https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-land?tab=overview.

References

Brunner, M. I., and E. Gilleland (2021). Spatial compound hot-dry events in the United States: assessment using a multi-site multi-variable weather generator, in preparation.

Examples

data(weather_multi_sites)
weather_multi_sites[[1]][[1]]$timestamp <- paste(weather_multi_sites[[1]][[1]]$YYYY, 
weather_multi_sites[[1]][[1]]$MM, weather_multi_sites[[1]][[1]]$DD, sep=" ")
weather_multi_sites[[1]][[1]]$timestamp <- 
as.POSIXct(strptime(weather_multi_sites[[1]][[1]]$timestamp,
format="%Y %m %d", tz="GMT"))
plot(weather_multi_sites[[1]][[1]]$timestamp[1:1000],
weather_multi_sites[[1]][[1]]$Qobs[1:1000], type="l", 
xlab="Time [d]", ylab=expression(paste("Temperature [degrees]")))

PRSim documentation built on Sept. 19, 2023, 5:07 p.m.