The PropagationGridWorker now fetches native hybrid-sigma levels (TMP, SPFH, HGT, PRES × 50 levels) alongside the standard surface and pressure products. Native data provides 10-50m vertical spacing vs 250m from pressure levels, detecting thin surface ducts invisible to the standard product. Key design: cell-by-cell reducer in Wgrib2.extract_grid_from_file_mapped processes each of the 95k CONUS cells through a duct analysis function inline, keeping only scalar metrics per cell. Peak memory ~86 MB instead of ~1.8 GB for the full grid map. Per-cell output: native_min_gradient, best_duct_freq_ghz, max_duct_thickness_m, duct_count. The scorer prefers the native gradient over the pressure-level gradient when available. Native fetch is optional — if it fails, scoring continues with pressure-level data only. |
||
|---|---|---|
| .. | ||
| microwaveprop | ||
| microwaveprop_web | ||
| mix/tasks | ||
| microwaveprop.ex | ||
| microwaveprop_web.ex | ||