filter_qa: Filter with QA Band

Description Usage Arguments Value See Also Examples

View source: R/filter.R

Description

Using MODIS QA band information, filter the NDVI time series.

Usage

1
filter_qa(DT, qa = "SummaryQA", good = c(0, 1))

Arguments

DT

data.table of NDVI time series

qa

QA column. default is 'SummaryQA'.

good

values which correspond to quality pixels. default is 0 and 1.

Value

filtered data.table with appended 'filtered' column of "quality" NDVI.

See Also

Other filter: filter_ndvi, filter_roll, filter_top, filter_winter

Examples

1
2
3
4
5
6
7
# Load data.table
library(data.table)

# Read example data
ndvi <- fread(system.file("extdata", "ndvi.csv", package = "irg"))

filter_qa(ndvi, qa = 'SummaryQA', good = c(0, 1))

robitalec/irg documentation built on March 20, 2020, 2:03 a.m.