Skip to content

Latest commit

 

History

History
 
 

ndwi

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Landsat 7 ETM+ NDWI

Show script or download{:target="_blank"} it.

{% highlight javascript %} {% include_relative script.js %} {% endhighlight %}

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 7 ETM+, the index calculates as:

NDWI = (B02 - B04) / (B02 + 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

The NDWI over northern Tunisia. Acquired on 2001-06-23. The script example 1