Skip to contents

Biomass Output Extension

Biomass Output Extension

Super class

landisutils::LandisExtension -> OutputBiomass

Active bindings

MakeTable

Logical, or character indicating "yes" or "no".

Species

Character vector of species names, or "all".

LiveMapNames

Character. File pattern for writing outputs to disk.

DeadPools

Character. One of "woody", "non-woody", or "both".

DeadMapNames

Character. File pattern for writing outputs to disk.

Methods

Inherited methods


Method new()

Usage

OutputBiomass$new(
  path = NULL,
  Timestep = 10L,
  MakeTable = NULL,
  Species = "all",
  LiveMapNames = NULL,
  DeadPools = "both",
  DeadMapNames = NULL
)

Arguments

path

Character. Directory path.

Timestep

Integer.

MakeTable

Logical, or character indicating "yes" or "no".

Species

Character vector of species names, or "all".

LiveMapNames

Character. File pattern for writing outputs to disk.

DeadPools

Character. One of "woody", "non-woody", or "both".

DeadMapNames

Character. File pattern for writing outputs to disk.


Method write()

Write extension inputs to disk

Usage

OutputBiomass$write()


Method clone()

The objects of this class are cloneable with this method.

Usage

OutputBiomass$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

output_biomass <- OutputBiomass$new(
  path = tempdir(),
  Timestep = 10,
  MakeTable = "yes",
  Species = "all",
  LiveMapNames = NULL, # use default
  DeadPools = "both",
  DeadMapNames = NULL # use default
)

output_biomass$write()