preStack

0th

Percentile

Organise (MODIS) Files in Preparation for Stacking

This function lets you sort a vector of filenames according to date. It is thought to be used on results from runGdal or runMrt.

Usage
preStack(pattern = "*", path = "./", files = NULL, timeInfo = NULL)
Arguments
pattern

Regular expression passed to list.files

path

character. Location of MODIS files to stack.

files

character vector of filenames. If provided, arguments pattern and path are ignored.

timeInfo

Ouput from orgTime.

Value

A character vector of filenames within the query. If timeInfo is provided, filenames are sorted and subsetted by date.

Aliases
  • preStack
Examples
# NOT RUN {
# see Examples in ?smooth.spline.raster

# }
Documentation reproduced from package MODIS, version 1.1.7, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.