View source: R/MODIStsp_process.R
MODIStsp_process | R Documentation |
Main processing function of MODIStsp. Takes as input processing parameters specified by the user and performs all required processing.
MODIStsp_process(proc_opts, n_retries, verbose = TRUE, parallel = TRUE)
proc_opts |
|
n_retries |
|
verbose |
|
parallel |
|
After retrieving the input processing options, the function
Accesses NASA http archive to determine the list of files to be
downloaded/processed (or, in case of offline processing, get the list
of already available hdf files present in out_mod_folder
);
Performs all required processing steps on each date (download, reprojection, resize, mosaicing, Spectral Indexes and Quality indicators computation);
Creates virtual files of the processed time series.
Reprojection and resize is dealt with by accessing gdal routines through the
gdalUtilities
package.
Extraction of bitfields from Quality layers is done though bitwise computation
Checks are done in order to not re-download already existing HDF images, and not
reprocess already processed dates (if the user did not specify that)
The function is called for its side effects.
Thanks Tomislav Hengl and Babak Naimi, whose scripts made the starting point for development of this function (ModisDownload; Download_and_resampling_of_MODIS_images)
License: GPL 3.0
Lorenzo Busetto, phD (2014-2017)
Luigi Ranghetti, phD (2015)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.