No description
native_duct.rs is the Rust side of HrrrNativeClient.fetch_native_duct_grid: fetch native-level HRRR idx → select duct byte ranges (TMP/SPFH/HGT/PRES × 50 hybrid levels = 200 messages, ~300 MB subset) → wgrib2 decode via the existing decoder::extract_grid plumbing → per-cell build_native_profile → duct::analyze → HashMap<(lat, lon), DuctMetrics>. build_native_profile keeps the Elixir semantics intact: drop cells that don't reach 3 levels, sort by ascending height, tolerate missing SPFH/PRES as zero (the duct math handles zeros gracefully). merge_duct_grid gives the pipeline.rs caller a drop-in replacement for Elixir's apply_duct_grid. claim_next_analysis is the analysis-lane companion to claim_next: selects kind='analysis' rows only, same SKIP LOCKED + newest-first ordering. Kept on a separate claim function so the forecast lane can keep running unaffected during cutover; the analysis pipeline wiring lands next. 9 pure unit tests cover message generation, URL builder, profile-sort, min-level filter, and merge-into-base behaviour. Network-live golden against a real native GRIB2 deferred to the cutover commit. |
||
|---|---|---|
| .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 | ||
| CLAUDE.md | ||
| Dockerfile | ||
| elevation.md | ||
| 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