knitr::opts_chunk$set( comment = "#>", collapse = TRUE, warning = FALSE, message = FALSE, fig.path = "inst/img/", fig.width = 10, fig.height = 6 )
R client for CMIP (Coupled Model Intercomparison Project) data
Under the World Climate Research Programme (WCRP) the Working Group on Coupled Modelling (WGCM) established the Coupled Model Intercomparison Project (CMIP) as a standard experimental protocol for studying the output of coupled atmosphere-ocean general circulation models (AOGCMs). Virtually the entire international climate modeling community has participated in this project since its inception in 1995.
Links:
Development version
devtools::install_github("ropenscilabs/cmipr")
library("cmipr")
cmip_list_files('bcsd/yearly') cmip_list_files('bcsd/yearly/cccma_cgcm3_1.1')
key <- "bcsd/yearly/cnrm_cm3.1/cnrm_cm3.1.sresa1b.monthly.Prcp.2034.nc" (res <- cmip_fetch(key))
Can load in a single file (gives RasterLayer
), or many (gives RasterBrick
)
out <- cmip_read(res)
plot(out)
cmipr
in R doing citation(package = 'cmipr')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.