Description Usage Arguments Details Value References Examples
View source: R/landsat_preprocessing.R
Convert the DN contained in a Landsat band to TOA reflectance.
1 |
x |
Image band in DN to be converted. |
band |
Character. Number of the Landsat band to convert. |
mult |
Reflectance multiplicative band rescaling factor. |
add |
Reflectance additive band rescaling factor. |
Convert the DN of a Landsat optical band to TOA reflectance employing the reflectance multiplicative and additive band rescaling factors. If band is specified, the function reads the metadata (.txt) directly from the work directory (folder containing bands as downloaded from NASA EarthExplorer) and automatically extracts the multiplicative and additive rescaling factors. These scaling factors can be manually defined employing mult and add parameters. In this case, band is ignored.
Raster layer with TOA reflectance values.
USGS. (2019). Landsat 8 data users handbook version 4. USGS Earth Resources Observation and Science (EROS). Sioux Falls, South Dakota. USA. 106.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.