get_frost_risk
Assess overnight frost risk for the next 1 to 16 forecast days by location and temperature threshold, returning per-night minimums and hours below threshold.
Instructions
Assess overnight frost risk for the next 1 to 16 forecast days.
threshold_c is degrees Celsius and days is a forecast horizon. A night is
low risk when its minimum is above threshold minus 2 C, moderate when it is
above threshold minus 5 C, and high at or below threshold minus 5 C. Any
hours below threshold make risk at least low. The result includes per-night
minimum temperature and hours below threshold, in the forecast timezone.
Example: get_frost_risk(45.52, -122.68, 7, 0.0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| days | No | ||
| threshold_c | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||