fire_scar_brick.Rd
Prepare raster bricks of empirical fire scar data.
fire_scar_brick(fire_area_history, fah_yrs, emp_yrs, emp_fire_cause, domain, shp, template_raster, mc.cores = 32)
fire_area_history | shapefile of fire area history. |
---|---|
fah_yrs | fire area history years. |
emp_yrs | empirical data years. |
emp_fire_cause | character, cause of fire: |
domain | character, ALFRESCO domain. |
shp | masking shapefile. |
template_raster | raster layer. |
mc.cores | number of processors. |
side effect of reading and/or writing files and pushing objects to global environment.
This function loads relevant fire scar raster brick objects into the global environment from disk if they exist. Otherwise it generates them from scratch, saves to disk for quicker use next time the function is called during a future ALFRESCO run, and similarly pushes the objects to the global environment.
# not run