COprcp | R Documentation |
Three objects: 1) COprcp
, a 404,326-row
data frame with columns date
, prcp
and meta_row
;
2) COprcp_meta
, a 64-row data frame, with meta data for 64 stations.
3) COelev
, a list of elevation for the domain at 0.02 x 0.02
degree resolution. Precipitation amounts are only given for April
to October in the years 1990 - 2019. The domain has a longitude range
of [-106, -104] and a latitude range [37, 41]. These choices reflect
the analysis of Cooley et al. (2007).
data(COprcp) # loads all three objects
A data frame with 2383452 rows and 8 variables
The variables are as follows:
date of observation
daily rainfall accumulation in mm
an identifier for the row in COprcp_meta; see ‘Examples’
longitude of station
latitude of station
elevation of station in metres
GHCDN identifier
Cooley, D., Nychka, D., & Naveau, P. (2007). Bayesian spatial modeling of extreme precipitation return levels. Journal of the American Statistical Association, 102(479), 824-840.
library(evgam) data(COprcp) brks <- pretty(COelev$z, 50) image(COelev, breaks=brks, col=rev(heat.colors(length(brks[-1])))) colplot(COprcp_meta$lon, COprcp_meta$lat, COprcp_meta$elev, breaks=brks, add=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.