get_water_balance
Calculate precipitation minus reference evapotranspiration for a location and date range, with totals, weekly breakdowns, and a dryness note to assess water balance.
Instructions
Calculate precipitation minus reference evapotranspiration.
Dates use ISO YYYY-MM-DD, are inclusive, and span at most 366 days.
Precipitation, ET0, and the resulting balance are millimetres. ET0 is
et0_fao_evapotranspiration for a well-watered reference grass field.
Results include total precipitation, total ET0, total balance, weekly
breakdowns, and a plain-language dryness note. Past and future ranges are
merged from archive and forecast data. Example: get_water_balance(52.52, 13.41, "2025-06-01", "2025-06-30").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| end_date | Yes | ||
| start_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||