Timeline scrubs on /weather were reading a 21 MB NFS ProfilesFile and then calling SoundingParams.derive on all 92k CONUS points before filtering to the viewport. Flip the order: filter the raw grid_data map by bounds first, so derivation work is bounded by the viewport (~4k points on a DFW box) instead of the full grid. Add build_grid_cache_rows/3 with an optional bounds argument; the /2 arity is unchanged so PropagationGridWorker still derives the full grid on f00. |
||
|---|---|---|
| .. | ||
| microwaveprop | ||
| microwaveprop_web | ||
| mix/tasks | ||
| microwaveprop.ex | ||
| microwaveprop_web.ex | ||