
Parse a LANDIS-II Landis-log.txt for version metadata
parse_landis_log_versions.RdExtracts the console banner, user-supplied random number seed, and the succession / disturbance / other extension version blocks from the header of a LANDIS-II log file. The log format is identical across scenarios (the LANDIS-II console writes the same banner on every run), so only the first ~30 lines are read.
Value
A named list with elements:
consoleConsole version string (e.g.
"LANDIS-II 8.0 (8)"), orNA_character_.seedNumeric user-supplied seed, or
NA_real_.successionCharacter vector of
"Name vX.Y.Z"for the succession extension (length 0 when absent).disturbanceAs
succession, for disturbance extensions.otherAs
succession, for other extensions.
When path does not exist, every element takes its empty default.
See also
Other provenance helpers:
landis_image_info(),
prov_landis_container(),
prov_landis_versions(),
prov_run_resources(),
prov_stochasticity()