prop/lib/mix/tasks
Graham McIntire 864a91fc5c Phase 2 tasks 2.1-2.4: BL turbulence feature computations
Inversion detection module (Propagation.Inversion):
- find_inversion_top/1 walks the native profile to locate the first
  temperature inversion (surface-based or elevated)
- bulk_richardson/3 computes the Richardson number across the
  inversion layer (Ri < 0.25 = turbulent, > 1 = laminar/good)
- shear_magnitude/3 computes the wind shear vector magnitude
- potential_temperature/2 for θ = T*(P0/P)^0.286

Theta-e module (Weather.ThetaE):
- Bolton (1980) equivalent potential temperature
- dewpoint_from_spfh/2 via Magnus-Tetens inversion
- theta_e_jump/3 for the thermodynamic decoupling metric

mix hrrr_native_derive_fields populates inversion_top_m,
bulk_richardson, theta_e_jump_k, and shear_at_top_ms on existing
hrrr_native_profiles rows.

First real data: 2022-08-20 12Z TX profile shows inversion at
186 m, Ri = 0.16 (turbulent), θ_e jump = 0.33 K — consistent with
marginal propagation conditions at that hour.
2026-04-10 08:21:23 -05:00
..
backtest.ex Accept CamelCase feature names in mix backtest 2026-04-09 16:15:01 -05:00
era5_backfill.ex Batch ERA5 fetches by month and 2° tile 2026-04-09 13:01:49 -05:00
hrrr_backfill.ex fix enrichment 2026-04-02 15:30:41 -05:00
hrrr_native_backfill.ex Phase 1 tasks 1.1-1.5: HRRR native hybrid-sigma ingestion 2026-04-09 16:23:51 -05:00
hrrr_native_derive.ex Phase 2 tasks 2.1-2.4: BL turbulence feature computations 2026-04-10 08:21:23 -05:00
notebook.ex Add bin/notebook script to start Phoenix + Livebook together 2026-04-07 11:15:49 -05:00
propagation_grid.ex HRRR forecast hours (f00-f18) with timeline map UI 2026-03-31 16:44:47 -05:00
reset_enrichment.ex Replace boolean enrichment flags with enum status fields 2026-04-02 12:07:51 -05:00