Description Usage Arguments Value
This function takes input from acquireDirectoryStructure
and
uses it to generate a list object with the projection directory
file structure. This parsed file structure is later used to lead other
code through all climate models and ensemble members in the input
projection directory.
1 2 | buildStructureModels(modelName, experiments, dataFolder, coordinateFilenames,
tasFilenames, timeFilenames, dataDirectories)
|
modelName |
Character string of climate model name (e.g., "bcc1"). This
name is generated from the subdirectory name for the climate model within
|
experiments |
Character string of the experiment(s). Possible variables
are the names of elements in the list object specified by the
|
dataFolder |
Character string with pathway to a directory with
climate projection data. This directory must have a specific structure–
see the |
coordinateFilenames |
Character string the with filename of each
grid point location file. This filename should be identical for all
ensemble member subdirectories included in the |
tasFilenames |
Character string the with filename of each climate
projection file. This filename should be identical for all ensemble
member subdirectories included in the |
timeFilenames |
Character string the with filename of each projection
dates file. This filename should be identical for all ensemble
member subdirectories included in the |
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 with the name of
the subdirectory and should provide a numeric vector with the starting and
ending years of the data within each of the two subdirectories (e.g.,
|
A list of length 3. The first element is the name of the model
whose structure was being built. The second element is, for this climate
model, the hierarchy of the first subdirectory specified by
dataDirectories
. The third element is the hierarchy of the second
subdirectory specified by dataDirectories
. The second and third
elements are return values of buildStructureExperiments
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.