Tools and utilities for preparing data for and running LANDIS-II simulations, and post-processing their outputs.
You can install the development version of landisutils like so:
remotes::install_github("FOR-CAST/landisutils")Use prep*() functions to convert input data to LANDIS-II data formats.
ic_files <- prepInitialCommunities()Use insert*() functions when generating LANDIS-II input text files.
insertInitialCommunities(ic_files) |>
writeLines() ## TODOUse scenario() to construct scenario files.
pix_size <- 250 ## TODO: get this from the prepared data
sim_time <- 200
scenario(
cell_length = pix_size,
duration = sim_time,
extensions = list(
succession = list(),
disturbance = list(),
other = list()
),
name = "",
path = file.path(),
version = 7
)
## TODO - deal with more detailed customizations later