Processes MODIS data for subsequentent use in time-series analysis. Performs MODIS cleaning and mosaicking operations with parallel support. This function requires rgdal to be configured with HDF4 driver.
processMODISbatch(x, pattern = NULL, data_SDS, QC_SDS, bit = FALSE, QC_val,
fill = NULL, outdir, mosaic = TRUE, mc.cores = 1)
Character. Directory where the data is located. Or list of file names.
Only useful if x is of length 1. See list.files for more details
See cleanMODIS.
See cleanMODIS.
See cleanMODIS.
Character. Directory where the output should be written.
Logical. When working with several tiles, should these be mosaicked or kept as separate output files. Default is TRUE
Numeric. Number of cores to use for processing. See mclapply
This function is used for its side effect of producing cleaned modis data, hence written to disk at outdir
location
cleanMODIS
, and timeStackMODIS
for stacking.