No description
The grid worker stopped writing HRRR profiles to the DB on April 14 when the forecast grid moved to /data/scores binary files, but the 24/72h-windowed prune left every is_grid_point=true row older than 72 hours sitting in the table (billions of rows across every partition back to 2016, ~90% of the 146 GB table size). Nothing reads them anymore. Replace prune_old_grid_profiles/0 with purge_grid_point_profiles/0, which walks every hrrr_profiles partition directly and deletes is_grid_point=true rows regardless of age. Per-partition DELETEs avoid a parent-table full scan. QSO-linked rows (is_grid_point=false) are untouched — those still back contact enrichment and /path. Call the new purge from the grid worker's end-of-chain hook so any grid-point row that somehow slips back in gets cleaned up within the next hour. Add `mix hrrr.purge_grid_points` for a one-shot historical cleanup. |
||
|---|---|---|
| .forgejo/workflows | ||
| .github | ||
| assets | ||
| bin | ||
| config | ||
| docs | ||
| k8s | ||
| lib | ||
| lib_ml | ||
| notebooks | ||
| priv | ||
| rel | ||
| 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