Description Usage Arguments Details Value Examples
Extract ALFRESCO data from simulation model run outputs.
1 2 3 4 5 6 7 8 9 10 | 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. |
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.
a data frame is returned for further processing as well as there being a side effect of additional files being written directly to disk.
1 | # not run
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.