weatherSet | R Documentation |
Updates parameter files with weather from a dataset, then models fire from non-deterministic plant parameters
weatherSet(
base.params,
weather,
db.path = "out_mc.db",
jitters = 10,
l = 0.1,
Ms = 0.01,
Pm = 1,
Mr = 1.001,
Hs = 0.2,
Hr = 1.41,
updateProgress = NULL
)
base.params |
Parameter input table |
weather |
A dataframe with the four fields: tm - Sequential numbering of the records T - Air temperature (deg C) W - Wind velocity (km/h) DFMC - Dead fuel moisture content (proportion ODW) |
db.path |
Name of the exported database |
jitters |
Number of repetitions |
l |
Variation around input leaf dimensions |
Ms |
Standard deviation of LFMC |
Pm |
Multiplier of mean LFMC |
Mr |
Truncates LFMC variability by +/- Mr * LFMC |
Hs |
Standard deviation of plant height variations |
Hr |
Truncates plant height variability by +/- Hr * height |
updateProgress |
Progress bar for use in the dashboard |
dataframe
SPECIFY INPUTS
record <- 1
data(site)
data(structure)
data(flora)
data(traits)
data(Weather)
base.params <- paramBuilder(site, structure, flora, traits, record)
RUN WEATHERSET
weatherSet(base.params, weather, db.path = "out.db", jitters = 5, l = 0.1,
Ms = 0.01, Pm = 1, Mr = 1.001, Hs = 0.2, Hr = 1.41, updateProgress = NULL)
LOAD AND ORGANISE RESULTS
res<-ffm_db_load("out.db")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.