eoreader.bands.index.NDWI
eoreader.bands.index.NDWI¶
- NDWI(bands: dict) xarray.core.dataarray.DataArray [source]¶
Normalized Difference Water Index (GREEN Version): https://pro.arcgis.com/fr/pro-app/2.7/arcpy/image-analyst/ndwi.htm
NDWI = (Green - NIR) / (Green + NIR)
For the SWIR version, see the NDMI.
- Parameters
bands (dict) – Bands as {band_name: xr.DataArray}
- Returns
Computed index
- Return type
xr.DataArray