extract_alf.Rd
Extract ALFRESCO data from simulation model run outputs.
extract_alf(i, type, loop_by, main_dir, age_dir = NULL, reps, years, cells, ...) prep_alf_files(i, loop_by, main_dir, reps, years) extract_fsv(i, loop_by, main_dir, reps = NULL, years = NULL, cells, ...) extract_av(i, loop_by, main_dir, age_dir = NULL, reps = NULL, years = NULL, cells, ...)
i | numeric, iterator. |
---|---|
type |
|
loop_by | character, loop over files by |
main_dir | main input directory. |
age_dir | age inputs directory. |
reps | integer vector, ALFRESCO simulation replicate indices for data extraction. |
years | numeric vector, years for data extraction. |
cells | data frame containing cell indices for the appropriate ALFRESCO spatial domain. |
... | additional arguments. |
a data frame is returned for further processing as well as there being a side effect of additional files being written directly to disk.
The ALFRESCO wildfire model outputs collections of geotiff files for each year and simulation replicate of a model run. These functions assist with extracting data from these map layers for use in statistical analysis and other applications.
prep_alf_files
prepares ALFRESCO output map file lists for ingestion by the data extraction functions.
# not run