subsetScenes: Subset Scenes

Description Usage Arguments Value Author(s)

Description

Subset scenes from a list or directory based on a given spatial object. Takes results of selectScenes() and subsets based on intersecting extents.

Usage

1
subsetScenes(x, targ, padding = NULL, filename = "", verbose = TRUE, ...)

Arguments

x

A spatial object (polygon, or otherwise) to base the subset extent on

targ

A character vector of filenames, or a list of raster layers to be subsetted

filename

Character. Optional: If results are to be written to file, then a character vector of length = length(targ) should be provided. Not supported yet (leave blank, or it will return an error)

verbose

Logical. Print status messages to the console?

Value

A list of avialable rasters cropped to the extent of the input object + padding. Side effect: cropped rasters written to file if a filename vector is supplied (not supported yet).

Author(s)

Ben DeVries


bendv/timeSyncR documentation built on May 12, 2019, 10:58 a.m.