water (version 0.5)

loadImage: Load Landsat data from folder

Description

This function loads Landsat bands from a specific folder.

Usage

loadImage(path = getwd(), sat = "auto", aoi)

Arguments

path
folder where band files are stored
sat
"L7" for Landsat 7, "L8" for Landsat 8 or "auto" to guess from filenames
aoi
area of interest to crop images, if waterOptions("autoAoi") == TRUE will look for any object called aoi on .GlobalEnv

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