View source: R/PRE_FATE.params_simulParameters.R
PRE_FATE.params_simulParameters | R Documentation |
FATE
simulationThis script is designed to create one (or several) parameter
file containing PARAMETER FILENAMES
used in FATE
model.
PRE_FATE.params_simulParameters(
name.simulation,
name.MASK,
name.SAVED_STATE = NULL,
name.SOIL = NULL,
name.DIST = NULL,
name.DROUGHT = NULL,
name.ALIENS = NULL,
name.FIRE = NULL,
name.ELEVATION = NULL,
name.SLOPE = NULL,
opt.global.name = NULL,
opt.folder.name = NULL
)
name.simulation |
a |
name.MASK |
a |
name.SAVED_STATE |
(optional) |
name.SOIL |
(optional) |
name.DIST |
(optional) |
name.DROUGHT |
(optional) |
name.ALIENS |
(optional) |
name.FIRE |
(optional) |
name.ELEVATION |
(optional) |
name.SLOPE |
(optional) |
opt.global.name |
(optional) |
opt.folder.name |
(optional) |
The FATE
software takes only one input parameter : a file
containing links to other files containing all the parameters and data
needed by the program to run.
file where parameters related to the simulation
definition are referred (e.g. number of PFG involved, number of height
strata, simulation duration, computer resources, modules loaded, etc)
(see PRE_FATE.params_globalParameters
)
directory where simulation outputs will be stored
file containing the results of a
previous FATE
simulation from which to restart this new simulation
file containing the
years for which simulation maps will be saved
(see PRE_FATE.params_savingYears
)
file containing the
years for which simulation outputs will be saved
(see PRE_FATE.params_savingYears
)
raster mask that will define the study area
file containing the years
to change rasters for the succession module
(see PRE_FATE.params_changingYears
)
file containing the files
to change rasters for the succession module
(see PRE_FATE.params_changingYears
)
PFG life history related parameters
(one by PFG)
(see PRE_FATE.params_PFGsuccession
)
PFG light preferences and
tolerance related parameters (one by PFG)
(see PRE_FATE.params_PFGlight
)
PFG soil contribution and
tolerance related parameters (one by PFG)
(see PRE_FATE.params_PFGsoil
)
raster mask that will define the initialization soil resources values
PFG dispersal
capacity related parameters (one by PFG)
(see PRE_FATE.params_PFGdispersal
)
raster masks (one by PFG) containing PFG habitat suitability for the study area
file containing the years
to change rasters for the habitat suitability module
(see PRE_FATE.params_changingYears
)
file containing the files
to change rasters for the habitat suitability module
(see PRE_FATE.params_changingYears
)
PFG disturbance
related parameters in terms of resprouting and mortality (one by PFG)
(see PRE_FATE.params_PFGdisturbance
)
raster masks that will define the disturbance areas
file containing the years
to change rasters for the disturbance module
(see PRE_FATE.params_changingYears
)
file containing the files
to change rasters for the disturbance module
(see PRE_FATE.params_changingYears
)
PFG drought disturbance
related parameters in terms of resprouting and mortality (one by PFG)
(see PRE_FATE.params_PFGdrought
)
raster mask that will define the drought intensity of the area
file containing the
years to change rasters for the drought disturbances module
(see PRE_FATE.params_changingYears
)
file containing the
files to change rasters for the drought disturbances module
(see PRE_FATE.params_changingYears
)
raster masks (one by alien) containing alien introduction zones for the study area
file containing the
years to change rasters for the aliens introduction module
(see PRE_FATE.params_changingYears
)
file containing the
files to change rasters for the aliens introduction module
(see PRE_FATE.params_changingYears
)
file containing the
years to change frequencies for the aliens introduction module
(see PRE_FATE.params_changingYears
)
file containing the
files to change frequencies for the aliens introduction module
(see PRE_FATE.params_changingYears
)
PFG fire disturbance
related parameters in terms of resprouting and mortality (one by PFG)
(see PRE_FATE.params_PFGdisturbance
)
raster mask that will define the fire disturbance areas
file containing the
years to change rasters for the fire disturbances module
(see PRE_FATE.params_changingYears
)
file containing the
files to change rasters for the fire disturbances module
(see PRE_FATE.params_changingYears
)
file containing the
years to change frequencies for the fire disturbances module
(see PRE_FATE.params_changingYears
)
file containing the
files to change frequencies for the fire disturbances module
(see PRE_FATE.params_changingYears
)
raster mask that will define the elevation of the area
raster mask that will define the slope of the area
A .txt
file into the name.simulation/PARAM_SIMUL/
directory with the following parameters :
–GLOBAL_PARAMS–
–SAVING_DIR–
–SAVED_STATE– (optional)
–SAVING_YEARS_MAPS– (optional)
–SAVING_YEARS_OBJECTS– (optional)
–MASK–
–MASK_CHANGEMASK_YEARS– (optional)
–MASK_CHANGEMASK_FILES– (optional)
–PFG_PARAMS_LIFE_HISTORY–
–PFG_PARAMS_LIGHT– (optional)
–PFG_PARAMS_SOIL– (optional)
–SOIL_MASK– (optional)
–PFG_PARAMS_DISPERSAL– (optional)
–PFG_MASK_HABSUIT– (optional)
–HABSUIT_CHANGEMASK_YEARS– (optional)
–HABSUIT_CHANGEMASK_FILES– (optional)
–PFG_PARAMS_DISTURBANCES– (optional)
–DIST_MASK– (optional)
–DIST_CHANGEMASK_YEARS– (optional)
–DIST_CHANGEMASK_FILES– (optional)
–PFG_PARAMS_DROUGHT– (optional)
–DROUGHT_MASK– (optional)
–DROUGHT_CHANGEMASK_YEARS– (optional)
–DROUGHT_CHANGEMASK_FILES– (optional)
–PFG_MASK_ALIENS– (optional)
–ALIENS_CHANGEMASK_YEARS– (optional)
–ALIENS_CHANGEMASK_FILES– (optional)
–ALIENS_CHANGEFREQ_YEARS– (optional)
–ALIENS_CHANGEFREQ_FILES– (optional)
–PFG_PARAMS_FIRE– (optional)
–FIRE_MASK– (optional)
–FIRE_CHANGEMASK_YEARS– (optional)
–FIRE_CHANGEMASK_FILES– (optional)
–FIRE_CHANGEFREQ_YEARS– (optional)
–FIRE_CHANGEFREQ_FILES– (optional)
–ELEVATION_MASK– (optional)
–SLOPE_MASK– (optional)
–END_OF_FILE–
The function produces links to files that are NOT absolute
paths BUT relative ones.
When relative paths are used, the user should be careful of the
folder from which the simulation is launched.
A function allows to transform these relative paths into absolute
ones. (see examples of .setPattern
).
The order of files matters!
For instance the first link below --PFG_PARAMS_LIFE_HISTORY--
flag
(e.g. PFG Albert) has to match with the first item below the
--PFG_PARAMS_DISPERSAL--
flag (must be PFG Albert too).
Maya Guéguen
PRE_FATE.skeletonDirectory
,
PRE_FATE.params_globalParameters
,
PRE_FATE.params_PFGsuccession
,
PRE_FATE.params_PFGlight
,
PRE_FATE.params_PFGsoil
,
PRE_FATE.params_PFGdispersal
,
PRE_FATE.params_PFGdisturbance
,
PRE_FATE.params_PFGdrought
,
PRE_FATE.params_savingYears
,
PRE_FATE.params_changingYears
,
.setPattern
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.