Description Usage Arguments Value Note See Also Examples
extract_ensemble: Extract CMIP5 ensemle name from file names
extract_model: Extract CMIP5 model name from file names
CMIP5Files_info: Extract CMIP5 information from file names
CMIP5Files_filter: Filter corresponding duration or period files.
Dates has been adjust from 12-01 to 01-01 for start_adj
. Duplicated dates
are also removed.
CMIP5Files_summary: Get the start and end information of every model
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | extract_ensemble(files)
extract_model(files)
CMIP5Files_info(files)
CMIP5Files_filter(
files,
duration = 200,
period = NULL,
check_dupli = TRUE,
verbose = 1
)
CMIP5Files_summary(d)
|
files |
CMIP5 nc files, full name path. |
duration |
length of year. |
period |
starting and ending year, e.g. |
check_dupli |
Boolean. If true, duplicated date will be removed by |
verbose |
|
d |
An object returned by |
d_files A data.table with colnames of
'Id', 'model', 'kind', 'start', 'end', 'year_start', 'year_start_adj', 'year_end', 'file'
Only one scenario per time.
1 2 3 4 5 6 7 8 9 10 11 12 | library(CMIP5tools)
library(magrittr)
data(files_short)
ensemble <- extract_ensemble(files_short)
model <- extract_model(files_short)
CMIP5Files_info(files_short)
# filter CMIP5 files
CMIP5Files_filter(files_short, duration = 200)
# Get the summary infomation of CMIP5Files_filter or CMIP5Files_info
CMIP5Files_filter(files_short) %>% CMIP5Files_summary()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.