calc_awei: Calculate Automated Water Extraction Index (AWEI)

View source: R/calc_indices.R

calc_aweiR Documentation

Calculate Automated Water Extraction Index (AWEI)

Description

Computes the Automated Water Extraction Index (AWEI) to extract surface water while suppressing shadow artifacts and dark impervious surfaces.

Usage

calc_awei(green, nir, swir1, swir2)

Arguments

green

Green band (terra::SpatRaster or numeric).

nir

Near-infrared band (terra::SpatRaster or numeric).

swir1

SWIR 1 band (terra::SpatRaster or numeric).

swir2

SWIR 2 band (terra::SpatRaster or numeric).

Details

AWEI = 4 \times (GREEN - SWIR1) - (0.25 \times NIR + 2.75 \times SWIR2)

Value

A terra::SpatRaster (named "AWEI") or numeric vector with index values.

References

Feyisa, G. L., Meilby, H., Fensholt, R., & Proud, S. R. (2014). Automated Water Extraction Index: A new technique for surface water mapping using Landsat imagery. Remote Sensing of Environment, 140, 23-35.

See Also

calc_ndwi, calc_mndwi, geo_index

Examples

calc_awei(green = 0.5, nir = 0.2, swir1 = 0.1, swir2 = 0.05)


GeoIndexR documentation built on Oct. 10, 2026, 5:08 p.m.