Write command file for launching samsara2 software
Usage
write_samsara_cmd(
foresters,
thinning_time,
evolution_time,
create_periphery = TRUE,
create_saplings = TRUE,
range_dbh = c(as.numeric(getOption("mart_recdbh")), 92.5),
inv_year = as.numeric(getOption("mart_year")),
inv_mindbh = as.numeric(getOption("mart_recdbh")),
simulation_year_step = 1,
silviculture = c("auto", "expert"),
save_project = FALSE,
verbose = FALSE
)
Arguments
- foresters
list of foresters to build the command file for. Under development so it use all foresters at this time
- thinning_time
Time between management actions
- evolution_time
Total duration of the simulation
- create_periphery
Creation of the periphery of the plot. TRUE by default. Must be TRUE for the first simulation, and FALSE later to speed up simulations
- create_saplings
Creation of the saplings of the plot. TRUE by default. Must be TRUE for the first simulation, and FALSE later to speed up simulations
- range_dbh
range of dbh for tree diameter classes.
- inv_year
year of the inventory. Used to define the starting year of simulations. Value retrievedfrom inventory file.
- inv_mindbh
inventory minimum dbh. Value retrievedfrom inventory file.
- simulation_year_step
Simulation year step, value by default is 1.
- silviculture
Choice between "auto" and "expert", for building data/Silviculture file.
- save_project
Save capsis simulation file. Default is FALSE, caution, this project may be heavy.
- verbose
Print messages or not.