Learn R Programming

satellite (version 1.0.5)

convRef2RadLinear: Convert reflectance to radiance using linear function coefficients

Description

The function converts the reflectance (ref) back to radiance (rad) given that linear conversion coefficients for both radiance and reflectance are available.

Usage

convRef2RadLinear(band, refm, refa, radm, rada, szen)

Value

raster::Raster* object with converted values.

Arguments

band

raster::RasterStack or raster::RasterLayer containing reflectance.

refm

Multiplication coefficient for reflectance conversion.

refa

Addtition coefficient for reflectance conversion.

radm

Multiplication coefficient for radiance conversion.

rada

Addition coefficient for radiance conversion.

szen

Sun zenith angle.

Details

The conversion functions are taken from USGS' Landsat 8 Data Users Handbook which is available online at https://www.usgs.gov/landsat-missions/landsat-8-data-users-handbook.