NDWI Time-Series and Threshold Analysis Template (Sentinel-2, GEE) This Google Earth Engine (GEE) script analyzes annual NDWI distributions for any selected study area using Sentinel-2 surface reflectance data. For each year, it: Computes NDWI using the green (B3) and NIR (B8) bands Generates NDWI histograms Automatically estimates NDWI thresholds (90th percentile) to identify water-dominant pixels.Ideal for hydrological or wetland change detection studies. To use: Replace the polygon geometry with your own study area, Adjust the year range as needed, Run in Google Earth Engine I’m open to feedback and suggestions for improving this script. You can reach me at fuatbugra@gmail.com