scale_toar: Scale the first or last top of atmosphere (TOA) reflectance...

Description Usage Arguments Value See Also

View source: R/extract_gfc.R

Description

This function applies the scale factors provided by Hansen et al. to rescale the first and last TOA reflectance images from integer to floating point. The following scale factors are used: band 3, 508; band 4, 254; band 5, 363; band 7, 423. The output datatype is FLT4S.

Usage

1

Arguments

x

the "first" or "last" image for a given aoi as a RasterStack (see stack option for extract_gfc).

...

additional arguments as for writeRaster, such as filename, or overwrite.

Value

RasterStack of TOA reflectance values

See Also

extract_gfc


azvoleff/gfcanalysis documentation built on June 4, 2017, 12:07 a.m.