probFire: Models probabilistic fire behaviour

View source: R/Ensembles.R

probFireR Documentation

Models probabilistic fire behaviour

Description

Models probabilistic fire behaviour

Usage

probFire(
  base.params,
  db.path = "out_mc.db",
  jitters,
  slope,
  slopeSD,
  slopeRange,
  temp,
  tempSD,
  tempRange,
  DFMC,
  DFMCSD,
  DFMCRange,
  wind,
  windSD,
  windRange,
  moistureMultiplier,
  moistureSD,
  moistureRange,
  heightSD,
  heightRange,
  leafVar,
  updateProgress = TRUE
)

Arguments

base.params

Input parameter file

db.path

Name of the exported database

jitters

Number of repetitions for each row in the weather table

slope

Mean slope (deg)

slopeSD

Standard deviation of slope

slopeRange

Truncates variability by +/- mean * range

temp

Mean ambient temperature (deg.C)

tempSD

Standard deviation of temp

tempRange

Truncates variability by +/- mean * range

DFMC

Mean DFMC (Percent ODW)

DFMCSD

Standard deviation of DFMC

DFMCRange

Truncates variability by +/- mean * range

wind

Mean wind velocity (km/h)

windSD

Standard deviation of wind velocity

windRange

Truncates variability by +/- mean * range

moistureMultiplier

Multiplies all LFMC values by this number

moistureSD

Standard deviation of moisture

moistureRange

Truncates variability by +/- mean * range

heightSD

Standard deviation of plant height

heightRange

Truncates variability by +/- mean * range

leafVar

Variation around input leaf dimensions, equivalent to l

updateProgress

Progress bar for use in the dashboard

Value

dataframe

Examples


SPECIFY INPUTS
record <- 1
data(site)
data(structure)
data(flora)
data(traits)
base.params <- paramBuilder(site, structure, flora, traits, record)

MODEL PROBABILISTIC FIRE BEHAVIOUR
probFire(base.params, db.path = "out.db", jitters = 50,
         slope = 0, slopeSD = 2, slopeRange = 5, 
         temp = 15, tempSD = 5, tempRange = 3,
         DFMC = 0.1, DFMCSD = 0.01, DFMCRange = 2, 
         wind = 5, windSD = 1, windRange = 2,
         moistureMultiplier = 1, moistureSD = 0.01, moistureRange = 1.5,
         heightSD = 2, heightRange = 1.41, 
         leafVar = 0.1,
         updateProgress = NULL)

LOAD AND ORGANISE RESULTS
res<-ffm_db_load("out.db")

pzylstra/frame_r documentation built on Nov. 12, 2023, 1:55 a.m.