active_fire_properties {mapme.biodiversity} | R Documentation |
Calculate active fire properties based on NASA FIRMS polygons
Description
This function allows to efficiently extract the properties of fire events occurred in the region of interest from the NASA FIRMS active fire polygon datasets. For each polygon, the fire events properties like fire pixel brightness temperature, and fire radiative power (frp) along with fire hotspots for the desired year is returned. The required resources for this indicator are:
Usage
calc_active_fire_properties()
Value
A function that returns a tibble with a column for the 15 different fire events variables including lon/lat coordinates.
Examples
## Not run:
library(sf)
library(mapme.biodiversity)
outdir <- file.path(tempdir(), "mapme-data")
dir.create(outdir, showWarnings = FALSE)
mapme_options(
outdir = outdir,
verbose = FALSE
)
aoi <- system.file("extdata", "sierra_de_neiba_478140_2.gpkg",
package = "mapme.biodiversity"
) %>%
read_sf() %>%
get_resources(get_nasa_firms(years = 2021, instrument = "VIIRS")) %>%
calc_indicators(calc_active_fire_properties()) %>%
tidyr::unnest(active_fire_properties)
aoi
## End(Not run)
[Package mapme.biodiversity version 0.6.0 Index]