reflconvS: Conversion to TOA Reflectance with a Correction for the Sun...

Description Usage Arguments Value Author(s) References Examples

View source: R/land8tools.R

Description

Conversion to TOA reflectance with a correction for the sun angle of satellite data.

Usage

1
reflconvS(x, Mp, Ap, sunelev)

Arguments

x

Image to be converted, in matrix, data frame, or SpatialGridDataFrame format.

Mp

band specific multiplicative rescaling factor from the metadata (MTL file) (REFLECTANCE_MULT_BAND_x, where x is the band number).

Ap

band specific additive rescaling factor from the metadata (MTL file) (REFLECTANCE_ADD_BAND_x, where x is the band number).

sunelev

Sun elevation in degrees is provided in the metadata (MTL file) (SUN_ELEVATION).

Value

TOA spectral radiance with a correction for the sun angle.

Author(s)

Alexandre dos Santos

References

U.S. Geological Survey. 2015. Landsat 8 (L8) data users handbook. Version 1.0. 97p.

Examples

1
2
3
data(band5)
band5.dn<- as(band5, 'SpatialGridDataFrame')
band5.reflS<-reflconvS(band5.dn,2.0000E-05,-0.100000,41.12846745)

Example output



landsat8 documentation built on May 2, 2019, 9:11 a.m.

Related to reflconvS in landsat8...