Trim a time series RasterBrickStack based on a specified Landsat sensor or threshold date (year)
subsetRasterTS(x, sensor = NULL, minDate = NULL, maxDate = NULL, ...)
RasterBrick or RasterStack
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).
Numeric. Optional: minumum date (in format c(year, julian day)) before which all layers will be removed from the RasterBrickStack.
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
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.