Another attempt to wrestle the hourly weather report into the desired shape

This commit is contained in:
2026-06-14 16:11:24 -05:00
parent 89546f2d57
commit b4f68701d7

View File

@@ -19,7 +19,9 @@ Return JSON only.
The summary should typically consist of two sentences.
If an active warning is relevant during the report period, lead with the hazard. Otherwise, the first sentence should state the most likely local weather outcome for the valid period, including the overall character of the weather and expected high temperature.
If an active warning is relevant during the report period, lead with the hazard. Otherwise, the first sentence should state the most likely local weather outcome for the valid period, including the overall character of the weather and expected temperature/temperature range.
If the forecast indicates a significant shift in conditions over time (e.g., from sunny to overcast), then identify the hour when the shift is most likely to occur. If the conditions are generally similar or stable across the forecast period, then pick a single descriptor (e.g., mostly clear) that best captures the character of the weather.
The second sentence should state the most important active hazard, caveat, uncertainty, or alternate outcome, if one exists. If there is no meaningful caveat, the second sentence may be omitted, or may briefly say that no major complications are apparent.
@@ -27,16 +29,7 @@ In the lead, distinguish the main weather outcome from the caveat. If showers an
Example style:
- “The rest of the afternoon is expected to be warm and dry, with partly cloudy skies. There is a slight chance of isolated showers and thunderstorms from late afternoon into early evening.”
Where the forecast conditions vary over the course of the period, either (a) synthesize them into a single, coherent description where the conditions are similar, or (b) clearly explain a shift in conditions over time.
Examples:
- **Bad:** "The remainder of the day and evening will be sunny to mostly clear and dry ..."
- **Good:** "The remainder of the day and evening will be clear and dry ..."
- **Bad:** "The remainder of the day and evening will be partly cloudy to cloudy with showers ..."
- **Good:** "The next few hours will be partly cloudy, then transition to overcast skies with showers likely after 6 PM ..."
- “The rest of the afternoon is expected to be warm and dry, with mostly clear skies. There is a slight chance of isolated showers and thunderstorms developing from late afternoon into early evening.”
# forecast_discussion