Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Sentinel-2 120 m Mosaic - NDWI


const colorRamp = [[0,0xffffff],[0.2,0x28B4EC],[0.5,0x192A68]]
let viz = new ColorRampVisualizer(colorRamp);

var NDWI = (B03-B08)/(B03+B08)

return[...viz.process(NDWI), dataMask]; 

Collection Access

Sentinel-2 L2A 120 m mosaic is a public data collection, that is not part of open EO data. It is not included in EO Browser. To access it, you need a Sentinel Hub account, and then either create a process request to the collection or to create a configuration based on the preprepared template, which will allow you to view it in EO Browser and make OGC requests to it. The collection ID is 484d8dbb-9e3e-41f2-b96b-35189d3ae37f, and the collection type is byoc-484d8dbb-9e3e-41f2-b96b-35189d3ae37f.

General description

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.


For Sentinel-2, the index calculates as:

NDWI = (B03 - B08) / (B03 + B08)

See also this page.

Description of representative images

NDMI of northern Africa and Europe, 27.12.2019.

120 m mosaic NDWI

NDMI of Japan, 27.12.2019.

120 m mosaic NDWI

NDMI of Ganges delta in Bangladesh, 27.12.2019.

120 m mosaic NDWI