Sections
The Normalized Difference Water Index (NDWI) is used for agricultural monitoring of drought and irrigation management.
The equation is: (NIR - SWIR) / (NIR + SWIR)
For Sentinel you can use NIR = Band 8 and SWIR = Band 11
Please submit the link to the code.