Open-Meteo's daily high/low for the current day aggregates only the hours elapsed so far, so grading it reads a still-unfolding day as complete and produces spurious extremes — a cool morning served as a 1st-percentile record-low high. The MET Norway primary already guards this with its diurnal-coverage gate; the Open-Meteo fallback had no equivalent, so a fleet-wide failover onto it exposed the bug. Use the utc_offset_seconds Open-Meteo reports for a timezone=auto request to identify the cell's local today and exclude it from the bundle. Past days are complete and future days are whole-day forecasts, so only today is dropped; the day lands in the record once it is over. When no offset is reported the guard is skipped rather than guessing a date. |
||
|---|---|---|
| .. | ||
| test_climate.py | ||
| test_climate_store.py | ||
| test_era5lake.py | ||
| test_grading.py | ||
| test_grid.py | ||
| test_meteostat.py | ||
| test_places.py | ||
| test_scoring.py | ||
| test_store.py | ||