Calculates Top of atmosphere reflectance

Description

This function calculates the TOA (Top Of Atmosphere) reflectance considering only the image metadata.

Usage

1
calcTOAr(image.DN, sat = "auto", ESPA = FALSE, aoi, incidence.rel, MTL)

Arguments

image.DN

raw image in digital numbers

sat

"L7" for Landsat 7, "L8" for Landsat 8 or "auto" to guess from filenames

ESPA

Logical. If TRUE will look for espa.usgs.gov related products on working folder

aoi

area of interest to crop images, if waterOptions("autoAoi") == TRUE will look for any object called aoi on .GlobalEnv

incidence.rel

solar incidence angle, considering the relief

MTL

Landsat Metadata File

Author(s)

Guillermo Federico Olmedo

Fonseca-Luengo, David

References

R. G. Allen, M. Tasumi, and R. Trezza, "Satellite-based energy balance for mapping evapotranspiration with internalized calibration (METRIC) - Model" Journal of Irrigation and Drainage Engineering, vol. 133, p. 380, 2007

LPSO. (2004). Landsat 7 science data users handbook, Landsat Project Science Office, NASA Goddard Space Flight Center, Greenbelt, Md., (http://landsathandbook.gsfc.nasa.gov/) (Feb. 5, 2007)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.