wildfires: Wildfires

Description Usage Arguments Value Examples

View source: R/wildfires.r

Description

Simualtes fire events in fire regimes zones

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
wildfires(
  land,
  params,
  baseline.fuel,
  mem.feux,
  rcp = NA,
  pigni = NA,
  km2.pixel = 4,
  time.step = 5,
  t = 5
)

Arguments

land

A landscape data frame with forest stand records in rows

params

A list of default parameters generated by the function default.params() or a customized list of model parameters

baseline.fuel

asdf

mem.feux

asdfv

rcp

Climate projection, either NA (default), 'rcp45' or 'rcp85'

pigni

Vector with probability of fire ignition ([0,1]) for each cell grid

km2.pixel

Area in km^2^ of grid cells

time.step

Number of years of each time step

t

Current time step

Value

A list of six items:

Examples

1
2
3
4
5
6
7
8
9
data(landscape)
params = default.params()
# Compute the baseline fuel at the fire zone level
fuels = fuel.type(land)
baseline.fuel = group_by(fuels, frz) %>% summarise(x=mean(flam))
mem.feux = rep(0, length(unique(landscape$frz)))
# Simulate wildfires in all fire regime zones
fires = wildfires(landscape, params, baseline.fuel, mem.feux, rcp = NA,
 pigni = NA, km2.pixel = 4, time.step = 5, t = 5)

nuaquilue/QLDM documentation built on Dec. 22, 2021, 3:18 a.m.