preStack: Organises (MODIS) files for the generation of a RasterStack...

Description Usage Arguments Value Author(s) Examples

Description

This function only organises the filenames within a pattern sorting it by date. It is thought to be used on results of runGdal or runMrt

Usage

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

Arguments

pattern

Pattern to search for MODIS files see: ?list.files

path

Location of MODIS files to create the stack: ?list.files

files

character vector of filenames. If used it overrooles 'path' and 'pattern'

timeInfo

result of ?orgTime

Value

Character vector of filenames whitin the query. If timeInfo is provided filenames are sorted and subsetted by date.

Author(s)

Matteo Mattiuzzi

Examples

1
2
3
4
## Not run: 
# see the example in \code{?smooth.spline.raster}

## End(Not run)

aubreyd/modis4rwrfhydro documentation built on May 10, 2019, 2:13 p.m.