custom-scripts

A repository of custom scripts that can be used with Sentinel-Hub services.

Landsat 1-5 MSS NDWI

Show script or download it.

Evaluate and Visualize

General description of the script

The NDWI is used to monitor changes related to water content in water bodies. As water bodies strongly absorb light in visible to infrared electromagnetic spectrum, NDWI uses green and near infrared bands to highlight water bodies. It is sensitive to built-up land and can result in over-estimation of water bodies.

NDWI = (GREEN - NIR) / (GREEN + NIR)

For Landsat 1-5 MSS, the index calculates as:

NDWI = (B01 - B04) / (B01 + B04)

Values description: Index values greater than 0.5 usually correspond to water bodies. Vegetation usually corresponds to much smaller values and built-up areas to values between zero and 0.2.

See also this page.

Description of Representative Images

NDWI over northern Tunisia. Acquired on 1987-10-15. The script example 1