subsetRasterTS: Trim raster time series

Description Usage Arguments Details Author(s)

Description

Trim a time series RasterBrickStack based on a specified Landsat sensor or threshold date (year)

Usage

1
subsetRasterTS(x, sensor = NULL, minDate = NULL, maxDate = NULL, ...)

Arguments

x

RasterBrick or RasterStack

sensor

Character. Limit time series to specified sensor(s). Can take any combination of "ETM+ SLC-off", "ETM+ SLC-on", "ETM+", "TM", "OLI". Defaults to NULL (use all sensors).

minDate

Numeric. Optional: minumum date (in format c(year, julian day)) before which all layers will be removed from the RasterBrickStack.

maxDate

Numeric. Optional: maximum date (in format c(year, julian day)) after which all layers will be removed form the RasterBrickStack.

...

Additional arguments to be passed to raster::subset

Details

This function only supports Landsat data with associated scene ID's as names(x) at this time. Support for MODIS (and possibly other datasets) will follow in future versions.

Author(s)

Ben DeVries


dutri001/bfastSpatial documentation built on May 15, 2019, 6:05 p.m.