The function converts the reflectance (ref) back to radiance (rad) given that linear conversion coefficients for both radiance and reflectance are available.
convRef2RadLinear(band, refm, refa, radm, rada, szen)
raster::Raster*
object with converted values.
raster::RasterStack or raster::RasterLayer containing reflectance.
Multiplication coefficient for reflectance conversion.
Addtition coefficient for reflectance conversion.
Multiplication coefficient for radiance conversion.
Addition coefficient for radiance conversion.
Sun zenith angle.
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.