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:
yrStrA concatenation of time strings for all ensembles
allHerea quick check for yr and mon frequency
startDateEarliest (decimal) date for the ensemble
endDateLatest (decimal) date for the ensemble
fileThe number of files in the ensemble
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.