Nowcast: sample a pixel neighborhood and say when forecast frames are missing (#162) #164
No reviewers
Labels
No labels
area:ai
area:ci-cd
area:notifications
area:observability
area:public-pages
backlog
bug
duplicate
enhancement
help wanted
invalid
question
type:decision
type:feature
type:infra
type:maintenance
type:security
v1.0.1
v1.1.0
v1.2.0
v1.3.0
v2.0.0
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rbrooks/WeatherBot!164
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/nowcast-sampling"
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?
Closes #162.
Problem
During the 2026-08-01 tornado-warned MO event, every location's dashboard nowcast line read "no precip in the area now" while precip cells covered 20% of the sampled radar tile (reproduced with the app's exact tile math for Rolla). Two compounding causes:
radar.nowcastframes (intermittent upstream outage): with horizon 0 the fallback string implied a forecast had been made when none existed.Change
_sample_framesamples a ±2 px (~±1 km at zoom 8) window and takes the max alpha, so a cell a few hundred meters away still counts as precip, without claiming precip that is genuinely elsewhere. Still one tile fetch per frame.nowcast_availableflag for the UI.Tests
nowcastlist →available: True,nowcast_available: False, the new honest phrasing.Nonepaths.🤖 Generated with Claude Code