Phase 3: flip recent/forecast leg off Open-Meteo (NASA past + MET Norway forward) #1
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Jinemi/thermograph#1
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/metno-recent-flip"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ports Phase 3 of the Open-Meteo migration into the monorepo. Stacked on
feature/era5-seed(which carries Phases 0-2b); merge that stack first, then this.Adapted to the monorepo's newer
climate.py(which has the_forecast_cooldown_untilrate-limit hardening that landed after the original split branches) — this is not a blind copy of the split-repo diff.What changes
_fetch_recent_forecast(new primary): recent observed window from a NASA POWER range (measured, reusing the range fetch from the history flip) + forward days from MET Norway, merged by date. Meteostat fills gusts — measured for observed days, estimated from wind for forecast days._fetch_recent_forecast_om), still gated by the existing_forecast_cooldown_untilcooldown, then a stale cache./complete->/compact; forecast bundle TTL1h -> 4h.Verified in the monorepo:
cd backend && make test-> 365 passed, 7 skipped. (Also re-ran the basefeature/era5-seed: 364 passed, confirming Phases 0-2b actually pass — they were flagged unverified in CUTOVER-NOTES.) Adapted the two recent/forecast tests and theforecast_cooldown_skips_*test to the new source order;test_forecast_429_sets_its_own_cooldownstill passes unchanged.Only
feature/drift-check(Phase 4) remains to complete the port.Pull request closed