Description Usage Arguments Value
The function is a wrapper to perform the entire
processing chain to find, download and pre-process Sentinel-2
data and produce prediction of Presence/Absence of a phenome.
Input is a set of parameters that can be passed with a
list or file (parameter param_list
) or singularly (see the
descriptions of all the other parameters).
1 | prediction(param_list = NULL)
|
param_list |
(optional) List of input parameters:
it can be both an R list or the path of a JSON file.
If some parameters are passed both as elements of |
path_indices |
(optional) Path of the directory in which files of
spectral indices are searched and/or generated.
If not provided (default), |
sigma |
(optional) Default value 0.999, this is the value for extract point from raster file predict. |
parallel |
(optional) Logical or integer: if TRUE (default), some
functions (sen2cor, s2_mask and s2_calcindices for now)
are executed using multiple cores in order to speed up the execution.
The number of cores is automatically determined; specifying it is also
possible (e.g. |
use_python |
(optional) Logical: if TRUE (default), the presence of
python in the system is checked before running the function;
if FALSE, this is skipped. Setting this to FALSE can bge useful on
systems with problems with python, when |
tmpdir |
(optional) Path where intermediate files will be created.
Default is a temporary directory (unless |
A vector with the paths of the files which were created (excluded the temporary files); NULL otherwise. The vector includes two attributes:
cloudcovered
with the list of imags not created due to the higher
percentage of cloud covered pixels;
missing
with the list of imags not created due to other reasons.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.