Description Usage Arguments References Examples
For RCP and piControl, only r1i1p1 ensemble returned.
1 2 3 4 5 6 7 8 9 10 11 |
df |
data.frame of ceda CMIP5 filelist.
|
info |
file detailed information |
varname |
which variable to extracted |
TIMESCALE |
filter time_scale2 in the |
PART |
one of |
scenarios |
which scenarios to be extracted |
save |
boolean. Whether save urls to txt files? |
outdir |
output directory |
ftp://ftp.ceda.ac.uk/badc/cmip5/data/cmip5/
ftp://ftp.ceda.ac.uk/badc/cmip5/data/cmip5/metadata/fileList_20150706.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
dir_proj <- "D:/Documents/OneDrive - mail2.sysu.edu.cn/CMIP5/CMIP5_aria2c/"
load(paste0(dir_proj, "data/filelist_CMIP5.rda"))
outdir <- paste0(dir_proj, "test/url_ftp")
l_url.ceda <- urls_CMIP5_ceda(df, info, "hur", "Amon", outdir = outdir)
l_url.ceda <- urls_CMIP5_ceda(df, info, "hfls", "Amon", outdir = outdir)
indir <- "D:/Documents/OneDrive - mail2.sysu.edu.cn/CMIP5/CMIP5_aria2c/test/url_html"
files_sh <- dir(indir, "*.sh$", full.names = TRUE)
files_txt <- gsub(".sh", ".txt", files_sh)
l_url.esgp <- llply(files_sh, urls_CMIP5_ESGP)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.