## download temperature fields of two example GCMs (NorESM1-M and
## CanESM2) with the RCP 8.5 and the historical run
## into your temporary directory. This command will create a folder
## "CMIP5" in "~/tmp" with two subfolders for each model again with
## two subfolders for each experiment.
CMIP5fromESGF(save.to = "~/tmp/CMIP5/",
models = c("NorESM1-M", "CanESM2"),
variables = c("tas"),
experiments= c("historical", "rcp85"))
Run the code above in your browser using DataLab