Add historical weather min/max values and occurrence years - #29
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Caelus historical weather section now shows Min and Max with occurrence years, followed by Avg, for temperature, RH, wind, and rainfall. The heading uses “Historical Min, Max, Avg 1991–2026 for 19-Sep” format to match the supplied reference.
Daily lows/highs supply temperature, RH, and wind extrema; daily totals supply rainfall extrema. Ties show the earliest year. Existing averages-only caches rebuild automatically, while average fields remain compatible. Updated the user guide and version to v0.26.262.1.
Verification
python3 -m pytest testApparatus/test_weather_climate.py testApparatus/test_rain_climate.py -q: 26 passed.python3 -m pytest testApparatus/test_integrated_weather_forecast.py testApparatus/test_weather_forecast.py -q: 82 passed.npm run validate:pr: 42 Chromium tests passed, including Metric/Imperial and desktop/tablet/mobile layout checks.git diff --check: passed.Contributor checklist
Maintainer verification
npm run validate:prpasses on a trusted host when the change can affect rendered UI behavior.Residual risk or unverified areas
Live archive retrieval was mocked in automated tests. No hardware, MQTT broker, onboarding, or non-macOS runtime testing was needed for this weather display change.