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

View source: R/extract_gfc.R

scale_toarR Documentation

Scale the first or last top of atmosphere (TOA) reflectance images

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

scale_toar(x, ...)

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


gfcanalysis documentation built on Oct. 11, 2023, 5:15 p.m.