Check dry spell / drought status
get_dry_spell_statusEvaluate drought risk by counting consecutive dry days and total precipitation over a specified lookback window for any geographic coordinates.
Instructions
Check how many consecutive dry days a location has had and total precipitation over a lookback window, as a rough drought-risk indicator. Severity thresholds are a general rule of thumb, not a calibrated meteorological drought index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | Latitude in decimal degrees. | |
| longitude | Yes | Longitude in decimal degrees. | |
| lookback_days | No | How many past days to examine (default 14). | |
| dry_day_threshold_mm | No | Precipitation below which a day counts as dry, in mm (default 1.0). |