calc_msi: Calculate Moisture Stress Index (MSI)

View source: R/calc_indices.R

calc_msiR Documentation

Calculate Moisture Stress Index (MSI)

Description

Computes the Moisture Stress Index (MSI) from SWIR1 and NIR bands.

Usage

calc_msi(swir1, nir)

Arguments

swir1

Short-wave infrared 1 band (terra::SpatRaster or numeric).

nir

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

Details

MSI = \frac{SWIR1}{NIR}

Value

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

References

Rock, B. N., Vogelmann, J. E., Williams, D. L., & Vogelmann, A. F. (1986). Remote detection of forest damage. BioScience, 36(7), 439-445.

See Also

calc_ndmi, geo_index

Examples

calc_msi(swir1 = 0.4, nir = 0.8)


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