Takes the IO="dev" output of scenariogenerator and repacks it into the IO="verbose" style.
devScenarioClean(obs=NULL,
optimArgs=NULL,
attPerturb=NULL,
attHold=NULL,
attPenalty=NULL,
modelTag=NULL,
modelInfoMod=list(),
exSpArgs=NULL,
simDirectory=NULL,
nSeed=NULL,
nRep=NULL,
repack=FALSE
)A dataframe of observed climate data in the form Year Month Day P Temp.
A list controlling the search algorithm with the following components:
pcrossovera value of probability of crossover. Defaults to 0.8.
pmutationa value of probability of mutation. Defaults to 0.1
maxitera value of the maximum number of generations. Defaults to 50
maxFitnessa value of the stopping criteria. Defaults to 0.001
popSizea value of the population size. Defaults to 100
runa value of an alternative stopping criteria - consecutive runs without improvement in fitness. Defaults to 0.001
seeda value of the random seed. Defaults to 1234.
parallelspecifies if parallel computing should be used. Defaults to False. Can be set to the number of desired cores, or TRUE, where it will detect the number of available cores and run.
keepBestspecifies if the optimisation should keep the best solution in each generation. Defaults to TRUE.
lambda.multA multiplier used during the optimisation for primary attributes. Defaults to zero.
A character vector of climate attributes to hold at a target. A list of all supported attributes can be found under shown under details below.
A character vector of climate attributes to hold at a target. A list of all supported attributes can be found under shown under details below.
A character vector of climate attributes to place specific focus on during targeting via the use of a penalty function during the optimisation process.
A character vector of which stochastic models to use to create each climate variable.Supported tags are shown under details below.
A list containing information for modifying stochastic model bounds and defining fixed parameters.
a list to control the exposure space creation with the following components:
typea string that specifies the type of sampling. Defaults to regular spacing.
sampa vector indicating the number of targets for each attribute in attSel.
boundsa list containing elements for attributes listed in attSel, where each attribute has bounds specified. This should be a single value for a stationary target, and a vector of min and max change for primary attributes. Works with samp to create number of step sizes. Defaults with samp to only reproduce historical weather.
A string used to label the output directory.
A scalar used to specify the number of seeds (in this case replicates) for the stochastic generation of time series.
A scalar that indicates the total number of files (i.e. no. targets x n seeds)
If TRUE writes .csv files of all collates scenarios.
Repackages output from IOmode="dev" runs of sceanariogenerator function.