
Root Rot Extension
RootRot.RdRoot Rot Extension
LANDIS-II v8 compatibility
Root Rot has not yet been updated by the LANDIS-II developers for
LANDIS-II v8; the most recent upstream release targets the v7 core only.
This R6 class is provided to track the v1.0 schema and exercise the
input-file generation, but $write()-produced files cannot currently be
run through a LANDIS-II v8 console. Constructing a RootRot object emits
a one-time warning() to remind users of this. The warning will be removed once
a v8-compatible Root Rot release is available
References
LANDIS-II Root Rot v1.0 Extension User Guide https://github.com/LANDIS-II-Foundation/Extension-Root-Rot/blob/master/Docs/LANDIS-II%20Root%20Rot%20v1.0%20User%20Guide.pdf
See also
Other Root Rot helpers:
insertRootRotSpeciesSusceptibility()
Super class
LandisExtension -> RootRot
Active bindings
Pathogen(Optional) Character. Annotated alongside the header.
InputMap(Optional) Character. Initial infection raster path.
SpeciesSusceptibilitydata.framewith columnsSpecies,Index1,Index2.LethalTempNumeric
<= 0(°C). Minimum air temperature below which the pathogen cannot survive.MinSoilTempNumeric (°C). Minimum soil temperature below which the pathogen cannot transition Uninfected -> Infected.
PhWetNumeric. Pressure head (wet condition threshold).
PhDryNumeric. Pressure head (dry condition threshold).
PhMaxNumeric. Pressure head (maximum threshold).
MinProbIDNumeric in
[0, 1].MaxProbDINumeric in
[0, 1].OutputMapNameCharacter. Infection-status output raster pattern; must contain
{timestep}.TOLDMapNameCharacter. Time-of-Last-Disease output raster pattern; must contain
{timestep}.LethalTempMapNameCharacter. Lethal-temperature output raster pattern; must contain
{timestep}.TotalBiomassRemovedMapNameCharacter. Total biomass-removed output pattern; must contain
{timestep}.SpeciesBiomassRemovedMapNameCharacter. Per-species biomass- removed output pattern; must contain
{species}and{timestep}.EventLog(Optional) Character. Relative file path for the events CSV log;
NULLdisables.SummaryLog(Optional) Character. Relative file path for the summary CSV log;
NULLdisables.output_filesCharacter vector of output files (relative paths from the scenario directory) that this extension is expected to produce at run time. Subclasses override this to return their extension-specific log files, event CSVs, etc. These paths are collected by
scenario()and written tooutput_manifest.txtsotar_landis()can track them explicitly without relying onlist.files()discovery.Map files whose names depend on the timestep (e.g.
BiomassC-10.tif) are NOT included here; they are discovered bytar_landis()'soutput_dirscan instead.
Methods
Inherited methods
RootRot$new()
Usage
RootRot$new(
path,
Timestep = NULL,
Pathogen = NULL,
InputMap = NULL,
SpeciesSusceptibility = NULL,
LethalTemp = NULL,
MinSoilTemp = NULL,
PhWet = NULL,
PhDry = NULL,
PhMax = NULL,
MinProbID = NULL,
MaxProbDI = NULL,
OutputMapName = NULL,
TOLDMapName = NULL,
LethalTempMapName = NULL,
TotalBiomassRemovedMapName = NULL,
SpeciesBiomassRemovedMapName = NULL,
EventLog = "rootrot/events.csv",
SummaryLog = "rootrot/summary.csv"
)Arguments
pathCharacter. Directory path.
TimestepInteger. Years between updates.
Pathogen(Optional) Character. Pathogen name to annotate alongside the
LandisDataheader (e.g."Phytophthora cinnamomi").InputMap(Optional) Character. Initial infection raster path. When omitted, the model assumes all cells begin Uninfected.
SpeciesSusceptibilitydata.framewith columnsSpecies,Index1(initial susceptibility),Index2(secondary susceptibility); both indices in[0, 1].LethalTempNumeric
<= 0(°C). Minimum air temperature below which the pathogen cannot survive.MinSoilTempNumeric (°C). Minimum soil temperature below which the pathogen cannot transition Uninfected → Infected.
PhWet, PhDry, PhMaxNumeric
> 0(m). Pressure-head thresholds: wet, dry, and extremely-dry conditions.MinProbID, MaxProbDINumeric in
[0, 1]. Min infection→diseased probability and max diseased→infected probability.OutputMapName(Optional) Character. Infection-status output raster pattern; must contain
{timestep}.TOLDMapName(Optional) Character. Time-of-Last-Disease output raster pattern; must contain
{timestep}.LethalTempMapName(Optional) Character. Lethal-temperature output raster pattern; must contain
{timestep}.TotalBiomassRemovedMapName(Optional) Character. Total biomass- removed output raster pattern; must contain
{timestep}.SpeciesBiomassRemovedMapName(Optional) Character. Per-species biomass-removed output raster pattern; must contain both
{species}and{timestep}.EventLog(Optional) Character. Relative file path for the events CSV log; pass
NULLto disable.SummaryLog(Optional) Character. Relative file path for the summary CSV log; pass
NULLto disable.