No description
Past minute 30 of the wall clock the next forecast hour is closer to utc_now() than the current hour, so the picker would land on (e.g.) 19:00Z when the user is at 18:43Z. HRRR has 19:00Z, but the HRDPS chain only seeds the *current* hour (18:00Z), so the dual-source map showed an empty Canadian half whenever we crossed the half-hour mark. Switch to "most-recent valid_time <= now", with a fallback to the closest future when nothing on disk is yet at-or-before now (cold start). Hoist the picker into a public function so it can be unit- tested deterministically — anchoring the integration test on DateTime.utc_now() truncated to the hour would have only verified the new behavior past minute 30. /weather-ca delegates to the same picker so the two maps agree on "current." |
||
|---|---|---|
| .forgejo/workflows | ||
| .github | ||
| assets | ||
| bin | ||
| config | ||
| docs | ||
| k8s | ||
| lib | ||
| lib_ml | ||
| notebooks | ||
| priv | ||
| rel | ||
| rust/prop_grid_rs | ||
| scripts | ||
| test | ||
| vendor | ||
| .credo.exs | ||
| .dockerignore | ||
| .formatter.exs | ||
| .gitignore | ||
| .tool-versions | ||
| AGENTS.md | ||
| algo.md | ||
| app.json | ||
| bugs.md | ||
| CLAUDE.md | ||
| Dockerfile | ||
| elevation.md | ||
| LICENSE | ||
| mix.exs | ||
| mix.lock | ||
| prediction.md | ||
| README.md | ||
| tail_logs.sh | ||
| updates.md | ||
Microwaveprop
To start your Phoenix server:
- Run
mix setupto install and setup dependencies - Start Phoenix endpoint with
mix phx.serveror inside IEx withiex -S mix phx.server
Now you can visit localhost:4000 from your browser.
Ready to run in production? Please check our deployment guides.
Learn more
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix