Usage

Water Stress (NDWI)

Dedicated shortcut endpoints for NDWI-based water stress monitoring. These are convenience wrappers around the general vegetation indices endpoint with indexType: "NDWI".

Process Water Stress

Use processWaterStress() to generate an NDWI analysis for your field:

GraphQL Mutation
mutation { processWaterStress( polygonId: "abc123-def456-ghi789" startDate: "2025-06-01" endDate: "2025-08-31" dailyEstimates: false ) { Status Message Result { requestId } } }

Parameters

polygonId REQUIRED
The polygon to analyze.
startDate REQUIRED
Start of the analysis period (YYYY-MM-DD).
endDate REQUIRED
End of the analysis period (YYYY-MM-DD).
dailyEstimates
Optional boolean. Enable ML-based daily gap filling. Consumes processing units.

Retrieve Water Stress

GraphQL Query
query { retrieveWaterStress( polygonId: "abc123-def456-ghi789" startDate: "2025-06-01" endDate: "2025-08-31" ) { colorlegend tif png json } }

Response Format

Field Description
colorlegend URL to the static NDWI color legend image.
tif Array of GeoTIFF URLs with full NDWI raster data for each available date.
png Array of PNG image URLs for visual display, one per date.
json Array of statistical summaries (min, max, mean, std) for each date.

Tip: Combine water stress data with plant health to get a complete picture of crop conditions. Areas with low NDWI and declining NDVI often indicate drought stress.