Learn R Programming

RCMIP5 (version 1.2.0)

checkTimePeriod: Check for continuous time periods in CMIP5 files

Description

Check that all time periods are continuous and present for multi-file ensembles. Before starting to process what may be hundreds or thousands of CMIP5 files, it's a good idea to verify that your file set is complete and not missing any years.

Usage

checkTimePeriod(fileInfo_df)

Arguments

fileInfo_df
data.frame from getFileInfo

Value

A data frame showing which ensembles are continuous, and which are not. In addition to standard identifying fields in the data frame (domain, model, experiment, variable, and ensemble), this includes:

Details

This function calls getFileInfo to scan a directory tree, and then examines the time data in these filenames. These time signatures will be concatenated and an 'allHere' flag returned.

See Also

getFileInfo

Examples

Run this code
## Not run: 
# checkTimePeriod(getFileInfo())
# ## End(Not run)

Run the code above in your browser using DataLab