processMODISbatch: Wrapper/batcher to pre-process MODIS data in batch mode

Description Usage Arguments Value See Also

Description

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.

Usage

1
2
processMODISbatch(x, pattern = NULL, data_SDS, QC_SDS, bit = FALSE, QC_val,
  fill = NULL, outdir, mosaic = TRUE, mc.cores = 1)

Arguments

x

Character. Directory where the data is located. Or list of file names.

pattern

Only useful if x is of length 1. See list.files for more details

data_SDS

See cleanMODIS.

QC_SDS

See cleanMODIS.

bit

See cleanMODIS.

QC_val

cleanMODIS.

fill

cleanMODIS.

outdir

Character. Directory where the output should be written.

mosaic

Logical. When working with several tiles, should these be mosaicked or kept as separate output files. Default is TRUE

mc.cores

Numeric. Number of cores to use for processing. See mclapply

Value

This function is used for its side effect of producing cleaned modis data, hence written to disk at outdir location

See Also

cleanMODIS, and timeStackMODIS for stacking.


loicdtx/bfastSpatial documentation built on May 21, 2019, 7:37 a.m.