
LandisExtension class
LandisExtension.RdKeeps track of the input files created for an extension
Public fields
pathCharacter specifying the (directory) path to the extension input files.
filesCharacter specifying the filenames of the extension input files (relative to
path); the principle extension input file should be listed first.
Active bindings
LandisDataCharacter. The extension's
LandisDataentry (e.g."Biomass Succession"). Read-only; set by each subclass'sinitialize()viaprivate$.LandisData.scenarioNameCharacter. The name to use when this extension is referenced in the scenario
.txtfile's extension list. Defaults toLandisData; subclasses setprivate$.scenarioNameonly when the parser-registered name differs from the file-header name (e.g. Land Use Plus). Read-only.TimestepInteger.
typecharacter specifying the extension type (must be one of: succession, disturbance, other)
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
LandisExtension$new()
Usage
LandisExtension$new(
LandisData = NULL,
type = NA_character_,
path = NA_character_,
Timestep = 1L
)