spectral_ndwi
Calculate Normalized Difference Water Index (NDWI) to detect water bodies, assess flood extent, and monitor drought conditions using green and NIR band reflectance.
Instructions
Calculate Normalized Difference Water Index (NDWI) from Green and NIR band reflectance values. NDWI = (Green - NIR) / (Green + NIR). Values range from -1 to 1. Used for detecting water bodies, assessing flood extent, and monitoring drought conditions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nir | Yes | NIR band reflectance value (0–1). Near-Infrared band, typically Sentinel-2 Band 8 or Landsat Band 5. | |
| green | Yes | Green band reflectance value (0–1). Green visible band, typically Sentinel-2 Band 3 or Landsat Band 3. |