Skip to contents

Biomass Hurricane Extension

Super class

LandisExtension -> Hurricane

Active bindings

InputUnitsEnglish

Character "yes" / "no".

HurricaneRandomNumberSeed

Integer.

StormOccurrenceProbabilities

data.frame with columns Storms, Probability.

LowBoundLandfallWindSpeed

Numeric.

ModeLandfallWindSpeed

Numeric.

HighBoundLandfallWindSpeed

Numeric.

CoastalSlope

Numeric.

MeanStormIntersectionX

Numeric.

MeanStormIntersectionY

Numeric.

LandfallSigma

Numeric.

StormDirectionMu

Numeric.

StormDirectionSigma

Numeric.

MinimumWindSpeedforDamage

Numeric.

ExposureMaps

data.frame with columns Degree, MapName.

WindSpeedVulnerabilities

List of WindSpeedVulnerability objects.

MapNames

Character. Output filename pattern; must contain {timestep}. Including {stormNumber} is recommended.

LogFile

Character. Relative path.

WindReductionTableCSV

Character. Relative path.

output_files

Character 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 to output_manifest.txt so tar_landis() can track them explicitly without relying on list.files() discovery.

Map files whose names depend on the timestep (e.g. BiomassC-10.tif) are NOT included here; they are discovered by tar_landis()'s output_dir scan instead.

Methods

Inherited methods


Hurricane$new()

Usage

Hurricane$new(
  path,
  Timestep = NULL,
  InputUnitsEnglish = FALSE,
  HurricaneRandomNumberSeed = NULL,
  StormOccurrenceProbabilities = NULL,
  LowBoundLandfallWindSpeed = NULL,
  ModeLandfallWindSpeed = NULL,
  HighBoundLandfallWindSpeed = NULL,
  CoastalSlope = NULL,
  MeanStormIntersectionX = NULL,
  MeanStormIntersectionY = NULL,
  LandfallSigma = NULL,
  StormDirectionMu = NULL,
  StormDirectionSigma = NULL,
  MinimumWindSpeedforDamage = NULL,
  ExposureMaps = NULL,
  WindSpeedVulnerabilities = list(),
  MapNames = NULL,
  LogFile = "hurricane/hurricane-log.csv",
  WindReductionTableCSV = NULL
)

Arguments

path

Character. Directory path.

Timestep

Integer. Years.

InputUnitsEnglish

Logical (or "yes"/"no"). When TRUE, wind speeds are in mph; otherwise km/h.

HurricaneRandomNumberSeed

Optional integer. Seed for the hurricane-specific RNG; lets hurricanes vary independently of the Core RNG. Omit to fall back to the Core seed.

StormOccurrenceProbabilities

data.frame with columns Storms (integer) and Probability (numeric); the probabilities must sum to 1.0.

LowBoundLandfallWindSpeed, ModeLandfallWindSpeed, HighBoundLandfallWindSpeed

Numeric. Landfall wind-speed distribution parameters (units per InputUnitsEnglish).

CoastalSlope

Numeric. Slope factor relative to landscape.

MeanStormIntersectionX, MeanStormIntersectionY

Numeric. Mean storm-centre coordinates.

LandfallSigma

Numeric. Variance of landfalls around the mean.

StormDirectionMu, StormDirectionSigma

Numeric. Mean and standard deviation of storm direction (degrees).

MinimumWindSpeedforDamage

Numeric. Damage threshold; should match the smallest wind threshold in WindSpeedVulnerabilities.

ExposureMaps

data.frame with columns Degree (integer) and MapName (character).

WindSpeedVulnerabilities

List of WindSpeedVulnerability sub-objects (see windSpeedVulnerability()).

MapNames

Character. Output filename pattern; must contain the literal {timestep}. Including {stormNumber} is recommended so per-storm maps within a timestep do not overwrite one another.

LogFile

Character. Relative file path for the CSV log.

WindReductionTableCSV

Optional character. Relative path to a wind-reduction-factor CSV (links to the Output Cohort Statistics Evenness calculation). Omit to disable structure-based wind-speed reduction.


Hurricane$write()

Write extension inputs to disk

Usage

Hurricane$write()


Hurricane$clone()

The objects of this class are cloneable with this method.

Usage

Hurricane$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.