checkCustomBounds: Check year boundaries for errors
Description
This function inputs the boundary lists specified in
gen_hw_set, thresholdBoundaries,
projectionBoundaries, and
referenceBoundaries, and checks them for errors in structure of the
input or in the years selected.
Usage
checkCustomBounds(boundList, dataDirectories)
Arguments
boundList
A set of boundary years in the format
c(start year, end year).
dataDirectories
A list object, with two elements, one for each of the
two subdirectories included in the main directory. Typically, these will
be separate directories of historical and projection experiments from
climate models. Each element of the list should be named w