Annual fire size by vegetation class ALFRESCO post-processing. pp_fsv works with model outputs. The companion function, pp_fsv_emp handles empirical data. pp_fsv_save is a wrapper function that calls both and also generates and saves plots and data to disk.

pp_fsv(d, main_dir, veg, shp, years, obs = NULL)

pp_fsv_emp(i, b, veg, shp, years, obs = NULL)

pp_fsv_save(d, main_dir, veg, shp, alf_yrs, emp_yrs, obs, i, b, out,
  domain, mc.cores = 32)

Arguments

d

iterator, ALFRESCO replicates.

main_dir

input directory.

veg

vegetation raster layer.

shp

masking shapefile.

years

numeric, vector of years.

obs

fire scar period totals raster layer.

i

iterator, layer number of b.

b

annual fire ID raster brick.

alf_yrs

ALFRESCO run years.

emp_yrs

empirical data years.

out

character, output directory.

domain

character, ALFRESCO domain, Statewide or Noatak.

mc.cores

number of processors.

Value

a tibble.

Examples

# not run