Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

convRad2BT

Convert a band's scaled counts to brightness temperature


Description

Convert a band's radiance values to brightness temperature without any kind of atmospheric correction etc.

Usage

## S4 method for signature 'Satellite'
convRad2BT(x)

## S4 method for signature 'RasterStack'
convRad2BT(x, k1, k2)

## S4 method for signature 'RasterLayer'
convRad2BT(x, k1, k2)

Arguments

x

An object of class Satellite, raster::RasterStack or raster::RasterLayer providing radiance values.

k1, k2

Temperature correction parameters.

Details

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

Value

If x is a Satellite object, a Satellite object with added converted layers;
if x is a raster::Raster* object, a raster::Raster* object with converted layer(s).

See Also

calcAtmosCorr for converions of scaled counts to physical units including a scene-based atmospheric correction.

Examples

path <- system.file("extdata", package = "satellite")
files <- list.files(path, pattern = glob2rx("LC08*.TIF"), full.names = TRUE)
sat <- satellite(files)  
sat <- convRad2BT(sat)

satellite

Handling and Manipulating Remote Sensing Data

v1.0.2
MIT + file LICENSE
Authors
Thomas Nauss, Hanna Meyer, Tim Appelhans, Florian Detsch
Initial release
2019-12-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.