R/get_settings.R
get_settings_modis.Rd
Defines settings for settings for MODISTools download
for a pre-defined set of "bundles" (c("modis_fpar",
"modis_evi", "modis_lai", "modis_gpp")
).
get_settings_modis(
bundle = "modis_fpar",
data_path = ".",
method_interpol = "linear",
keep = FALSE,
overwrite_raw = FALSE,
overwrite_interpol = FALSE,
n_focal = 0,
filename_with_year = TRUE,
network = NA
)
A character string specifying which dataset (bundle) to
download.Defaults to "modis_fpar"
.
Available: c("modis_fpar", "modis_evi", "modis_lai", "modis_gpp")
.
A character string specifying the path of where the data
should be downloaded to. Defaults to "."
(present working directory).
A character string specifying which interpolation
method to use. Defaults to linear interpolation ("linear"
).
A logical specifying whether to keep all intermediate data
(before filtering, and before imputing mean seasonal cycle),
and all alternative interpolation results. Defaults to FALSE
.
A logical specifying whether raw data as downloaded
from MODISTools is to be overwritten. Defaults to FALSE
,
i.e. data is read from exisitng file if available.
A logical specifying whether processed
(interpolated) data, is to be overwritten. Defaults to FALSE
,
i.e. data is read from exisitng file if available.
An integer specifying the distance (in number of pixels) around the center pixel to be used for averaging. Defaults to zero (using only the center pixel).
A logical specifying whether the years covered are specified in the file name. Added here for consistency with earlier versions of ingestr where years were not specified.
A character string specifying the network for which the site names correspond.
if (FALSE) settings_modis <- get_settings_modis() # \dontrun{}