Last data update: 2014.03.03
|
R: Conversion to TOA Reflectance with a Correction for the Sun...
Conversion to TOA Reflectance with a Correction for the Sun Angle
Description
Conversion to TOA reflectance with a correction for the sun angle of satellite data.
Usage
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
data(band5)
band5.dn<- as(band5, 'SpatialGridDataFrame')
band5.reflS<-reflconvS(band5.dn,2.0000E-05,-0.100000,41.12846745)
Results
|