Mathematical models for plume simulation, methane retrieval, source identification, and emission estimation.
This page is the index for the architecture roadmap. The detail for each tier lives in its own file so they can grow independently as design decisions land. The high-level overview (philosophy, tier table, principles) stays here; each tier page expands the math, module layout, validation strategy, and open questions.
The Data-Driven Modeling Cycle¶
Every tier in plumax follows the same loop:
┌─────────────────────────────────────────────────────────────────┐
│ (1) Simple Model │
│ ↓ │
│ (2) Model-Based Inference │
│ ↓ │
│ (3) Model Emulator ← skip if model is cheap │
│ ↓ │
│ (4) Emulator-Based Inference │
│ ↓ │
│ (5) Amortized Inference (Predictor) │
│ ↓ │
│ (6) Improve ───────────────────────────────────────────────┐ │
│ ↑ upgrade model / data / emulator / posterior │ │
│ └───────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────┘Step 1 gives us a generative story (a known mathematical structure we can simulate from).
Step 2 gives us ground truth inference (slow but exact), used to validate everything downstream.
Step 3 makes Step 2 tractable at scale by replacing the expensive forward model with a fast surrogate.
Step 4 is Step 2 again, but now running in seconds instead of hours.
Step 5 collapses the inference loop entirely, as the predictor learns the posterior map directly.
Step 6 closes the loop: every component is independently upgradable, with the previous step as ground truth.
Tier overview¶
plumax tier table: forward models, complexity, and links to detail pages.
| Tier | Forward model | Complexity | When to use | Detail |
|---|---|---|---|---|
| 0 (prereq) | Met field + AK operator | Data interface | All tiers depend on it | Prerequisites |
| I | Gaussian plume / puff | Analytical | Fast prototyping, validation | Tier I: Gaussian family |
| II | Lagrangian particle / footprint | Stochastic ODE | Wind-realistic transport | Tier II: Lagrangian |
| III | Eulerian finite-volume PDE | PDE | High-fidelity spatial fields | Tier III: Eulerian FV |
| RTM | Radiative transfer (parallel track) | Multi-physics | Connects any tier to radiances | RTM stack |
| IV | Coupled transport + RTM | End-to-end | Operational satellite → source posterior | Tier IV: Coupled E2E |
| V | Population & forecasting (TMTPP) | Stochastic point process | Aggregate per-event posteriors → wait times, totals | Tier V: Population (and V.A, V.B, V.C, V.D) |
The build order is roughly Prerequisites → Tier I → RTM stack (parallel) → Tier II → Tier III → Tier IV → Tier V. RTM is independent of transport tier, so it can be developed in parallel by a different person without coordination cost. Tier V depends on at least Tier I being usable end-to-end (per-event posteriors are the input), but does not need Tiers II-IV, as it can launch with Tier I posteriors and absorb richer ones later.
Architectural principles¶
Status snapshot (2026-11-10)¶
Module-level status is tracked per tier; every scheduled ☐ / 🚧 row on a tier page links to its GitHub issue, grouped under one epic per tier (#69-#75); the unlinked ☐ rows (Step 3 / 5 / 6 items in Tiers III-IV and the RTM stack, plus Tier III diagnostics and multi-species coupling) are later-phase work deliberately not filed yet. Since the previous snapshot (2026-09-15) the Tier 0 data layer, the Tier I-IV follow-ups and most of Tier V have landed, and the RTM work moved to radtrax (#133, so the RTM epic #73 and its issues were closed there as not planned). The overall picture: Tier 0 is complete except the static-fields carrier; Tiers I-III have Steps 1-2 at v1 plus the Tier II footprint emulator (Steps 3-4) and met-ensemble runner, with the Tier I NPE predictor and the Tier III FV emulator still open; Tier IV has Tier II / III transport backends, the quality-flag aggregator, masked-K multi-source and a nonlinear end-to-end inversion through the radiance operator with a Laplace posterior, with the Q(t) process open; Tier V has everything except catalog ingest and Hawkes / LGCP intensities; only the Tier II footprint emulator has reached Step 3, and no tier has reached Step 5 (amortized predictor).
| Tier | Landed | Epic | Next |
|---|---|---|---|
| 0: Prerequisites | MetField + WRF and ERA5 loaders, PBL + Monin-Obukhov diagnostics, coordinate frames and time axis, emission-inventory and background priors, L2 ingest with AKs; partial PG stability | #69 (closed) | static-fields carrier (z0, land use, terrain), not in tree although #78 is closed |
| I: Gaussian | Plume + puff forward, turbulence, MAP / MCMC for both, Briggs plume rise, column + AK pipeline, Student-t / heteroscedastic likelihoods, masked-K multi-source, Monin-Obukhov dispersion | #70 | Amortized NPE predictor #87 |
| II: Lagrangian | Particles, Hanna + homogeneous turbulence, forward concentration, backward footprint, Gaussian / lognormal inversion, C-grid wind interpolator, met-ensemble runner, footprint emulator with emulator-based inversion | #71 | Field predictor (Step 5), not filed yet |
| III: Eulerian | Full FV stack, end-to-end 4D-Var with exact AD adjoint, Gauss-Newton Laplace covariance, PG + Monin-Obukhov + Smagorinsky diffusivity, spatial per-cell control, background / BC-scaling terms | #72 | Incremental Gauss-Newton 4D-Var #93, then FV emulator #95 |
| RTM | LUTs, Beer-Lambert, SRF / instrument / background, matched filter, gaussx linear solve | #73 (closed, moved to radtrax) | Optimal-estimation retrieval, now tracked in radtrax (plumax #96 closed as superseded) |
| IV: Coupled | Tier I + AK multi-instrument closed-form fusion with per-instrument bias; nonlinear + linearised radiance operators; Tier II / III transport backends; quality-flag aggregator; masked-K multi-source; nonlinear end-to-end inversion with Laplace posterior | #74 | Q(t) Ornstein-Uhlenbeck process #103 |
| V: Population | Cross-tier catalog, hierarchical lognormal size distribution, Gamma-Poisson + log-linear intensity; intensity + POD registries, missing-mass simulator, POD-power-law NUTS fitter; pyrox-xtreme generative layer, per-event payload v2, mark registry, importance-corrected TMTPP likelihood; multi-satellite POD union, persistency metrics, total-emission estimator, SBC harness | #75 | Catalog ingest #111, then Hawkes / LGCP #115 |
Tier 0 (Prerequisites): ✓
MetFieldcontainer +wrfoutloader inplumax.met(per-column η→z regrid, bilinear onto theles_fvmstagger,to_prescribed_windfeeds the Eulerian solver). ✓ ERA5 loader (#77), PBL and Monin-Obukhov diagnostics (#78), coordinate frames and time axis (#79), L2 ingest with averaging kernels (#80), inventory and background priors (#81). ☐ the static-fields carrier (z0, land use, terrain), which is not in tree.Tier I (Gaussian): ✓ plume + puff forward models, ✓ MAP / MCMC inversion. ✓ Briggs plume rise, the shared column + AK pipeline, the likelihoods module, masked-K multi-source and Monin-Obukhov dispersion (#82-#86). ☐ NPE predictor (#87). Emulator deliberately skipped (model is cheap).
Tier II (Lagrangian): ✓ Steps 1-2 in
plumax.lagrangian: Markov-1 Langevin particles, turbulence (homogeneous + Hanna adapter), forward residence-time concentration, backward footprint on the exact reverse clock, closed-form Gaussian / lognormal inversion with a Matérn-3/2 prior. ✓ C-grid wind interpolator (#88), met-ensemble runner (#89) and footprint emulator with emulator-based inversion (#90). ☐ amortized field predictor (Step 5).Tier III (Eulerian FV): ✓
les_fvmadvection / diffusion / dynamics with open-wall + periodic BCs, C-grid wind staggering, CFL guard, and the strong-constraint 4D-Var loop (les_fvm/fourdvar.py): emission → column-obs forward, whitened (temporal Matérn-3/2) control space, L-BFGS with the exact discrete adjoint via reverse-mode AD, convergence surfaced, Gauss-Newton Laplace posterior (posterior_covariance/laplace_sample), all as avardax.ThreeDVaranalysis behind theassimextra (#163). v1 inverts a time-resolved scalar emission rate at a known source. ✓ spatial per-cell control vector (#91), IC / background / BC-scaling term (#92), MO + Smagorinsky diffusivity (#94). 🚧 incremental Gauss-Newton solve (solve_4dvar(method="gauss_newton")is in tree but #93 is still open). ☐ FV emulator (#95).RTM stack: ✓
hapi_lutLUT generator + Beer-Lambert,radtraninstrument / SRF / forward,matched_filterdetection pipeline, gaussx linear solve. ☐ optimal-estimation retrieval, quality flags + information content, SWIR / TIR surface models, factorised LUT and neural RTM: these moved withplumax.radtranto radtrax (#133), and the plumax issues (#96-#100) were closed as not planned.Tier IV (Coupled): ✓ v1 multi-instrument fusion in
plumax.coupled: Tier I plume + averaging-kernel forward per instrument (CoupledForward,Instrument), closed-form joint posterior over(Q, bias_inst)(fuse_observations), and the additive RTM observation operator (coupled/rtm.py) mapping column enhancement → ΔVMR → band-integrated radiance. ✓ Tier II / III transport backends (#101), the nonlinear end-to-end inversion through the radiance operator with a Laplace posterior (solve_coupled, #102), masked-K multi-source (#104) and the quality-flag aggregator (#105). ☐Q(t)OU process (#103); emulators and the operational predictor follow.Tier V (Population & forecasting): ✓ v1 core in
plumax.population: tier-agnostic posterior catalog (event_from_posterioroverGaussianPosterior/LognormalPosterior/FusionPosterior), V.A hierarchical lognormal size-distribution fit, V.B Gamma-Poisson rate + log-linear inhomogeneous intensity. ✓ The former standalonemethane_podlibrary is in tree:plumax.population.intensity(13 λ(t) kernels),plumax.population.pod(10 probability-of-detection models),plumax.population.paradox(missing-mass Monte Carlo) andplumax.population.fitting(POD-modified power-law NUTS fit), with its theory pages and notebooks. ✓ The generative layer runs onpyrox-xtremepoint processes (plumax.population.processes, thepopulationextra;ThinningProcessfor POD thinning). ✓ Extended per-event payload (samples + prior recall) from every tier and the mark registry with the heavy-tail families (plumax.population.marks). ✓ The importance-corrected TMTPP likelihood (plumax.population.importance,fitting.tmtpp_iw_model). ✓ Multi-satellite POD union (#110), persistency metrics (#112), the total-emission estimator (#113) and the SBC harness (#114). ☐ Catalog ingest (#111) and Hawkes / LGCP intensities (#115).
See each tier page for the module-level breakdown and the linked issues.