View source: R/fire_exp_adjust.R
fire_exp_adjust | R Documentation |
For advanced users. Adjust the transmission distances from the
defaults used in fire_exp()
.
fire_exp_adjust(hazard, tdist, no_burn)
hazard |
a SpatRaster that represents hazardous fuels for the
transmission distance specified in |
tdist |
Numeric, transmission distance in meters |
no_burn |
(Optional) SpatRaster that represents the non-burnable
landscape. Any cells that cannot receive wildfire (e.g. open water, rock)
and any cells that are not natural (e.g. built environment,
irrigated agricultural areas) should be of value 1, all other cells
should be NODATA. This parameter should be provided if preparing data
for |
If the transmission distances from the wildfire exposure literature are not
representative of the wildland fuels in your area of interest, this function
can be used to change the transmission distance to a custom distance. It is
highly recommended that any exposure layers produced with this function are
validated with observed fire history using the fire_exp_validate()
function.
The exposure raster will be returned in the same CRS as the input hazard layer. A crs must be defined if the outputs will be used in other functions in this package.
For a specified transmission distance, the spatial resolution must be at least 3 times finer. For example, for a transmission distance of 300 meters the input data should have a resolution of 100 meters or finer.
SpatRaster object of exposure values
fire_exp()
for background information
# read example hazard data
hazard_file_path <- "extdata/hazard.tif"
hazard <- terra::rast(system.file(hazard_file_path, package = "fireexposuR"))
# compute long range exposure with custom disance of 800 m
exposure800 <- fire_exp_adjust(hazard, tdist = 800)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.