Execute the whole workflow
mf_get_data(
collection,
variables,
roi,
time_range,
path = tempfile("modisfast_"),
earthdata_username,
earthdata_password,
parallel = FALSE,
verbose = TRUE,
import = TRUE,
...
)
string. mandatory. Collection of interest (see details of mf_get_url).
string vector. optional. Variables to retrieve for the collection of interest. If not specified (default) all available variables will be extracted (see details of mf_get_url).
object of class sf
. mandatory. Area of region of interest. Must be a Simple feature collection with geometry type POLYGON, composed of one or several rows (i.e. one or several ROIs), and with at least two columns: 'id' (an identifier for the roi) and 'geom' (the geometry).
date(s) / POSIXlt of interest . mandatory. Single date/datetime or time frame : vector with start and end dates/times (see details).
string. Target folder for the data to download. Default : temporary folder.
EarthData username
EarthData username
boolean. Parallelize the download ? Default to FALSE
boolean. optional. Verbose (default TRUE)
boolean. Import the data as a SpatRast object ? defaut TRUE
Further arguments to be passed to mf_get_url, mf_download_data or mf_import_data
a terra::SpatRast
object