Sources: from radiance to persistence
GeoStack · application · 3 December 2026
Abstract¶
Anything that puts a trace into a moving fluid from a place: methane from a facility, NO₂ from a stack, SO₂ from a volcano, heat from an outfall. Each case runs the same chain: retrieve the trace, find the plume, quantify the source, attribute it, and ask how often it comes back. Methane carries the examples, because the stack owns its whole chain.
The four questions¶
From plumax’s applications page: anything that puts a passive tracer into a moving fluid from a place. Let be the concentration at position and time , the carrier flow (wind or current), the diffusivity, a loss rate and the source with parameters ; is spatial.
A sensor sees it through an observation operator on top of the background , the scene without the plume, with noise ; the enhancement is what every step works on.
Four questions follow: segment (where is it?), quantify (how much?), attribute (from where?) and persist (how often?). The page’s fit test asks for four conditions: a source, a known carrier flow, an image to segment, and events that recur. All four make a perfect fit, one weak condition a medium fit, and no source a poor one, where only segment and persist apply.
Segment · where is it?
Find, readgeocatalog · geoproducts · xrproducts
Observation spectroscopy, noiseradtrax
Background local or learnedgeoops · geonnax
Enhancement matched filtergeoops
Mask, contoursthreshold, componentsgeoops
Learned maskswith uncertaintygeonnax · pyrox-nn
Quantify · how much?
Carrier: airplumax.met
Carrier: oceannot yet wiredsesmax
Transport plume, puff, LESplumax
Particlesdrift, windagetracerax
Mass balanceIME, cross-sectiongeoops
Bayesian, NUTSplumax
Attribute · from where?
Footprints, inversionlinear, 4D-Var, fusedplumax
Entitiesfacility, operatorapp layer
Persist · how often?
Event catalogue, persistencethinned marked point process, POD, totalsplumax.population · pyrox-xtreme
Segment, quantify, attribute and persist, as in plumax’s applications page. The dashed boxes are where a tool sits in another library than the page says, or where the stack has no carrier yet.
| Step | Libraries | Shelf |
|---|---|---|
| SEGMENT · WHERE IS IT? | ||
| Find, read | geocatalog, geoproducts readers, xrproducts L2 openers (TROPOMI, EMIT, GHGSat: methane only) | data ② |
| Observation operator | radtrax spectroscopy, BeerLambert, instrument and noise models; plumax.adapters RadtranObservationOperator | assemble ③ |
| Background | geoops local or clustered statistics; a learned background with geonnax | data |
| Enhancement | geoops MatchedFilter, ColumnEnhancement | data ① |
| Mask, contours | geoops PlumeMask, PlumeContours, PlumeFootprint; learned masks with geonnax, pyrox-nn | data ① |
| QUANTIFY · HOW MUCH? | ||
| Carrier flow | plumax.met: ERA5, WRF, boundary layer, surface layer (air only); ocean currents from sesmax not yet wired | assemble ④ |
| Transport | plumax Gaussian plume and puff, Lagrangian, LES finite-volume; tracerax particles | assemble ③ |
| Mass balance | geoops IMEEstimate, CrossSectionalFlux | data ① |
| Bayesian | plumax infer_emission_rate, infer_multi_source (NUTS) | fit |
| ATTRIBUTE · FROM WHERE? | ||
| Footprints, inversion | plumax compute_footprint, linear_gaussian_inversion, solve_4dvar, fuse_observations | assemble |
| Entities | facilities and operators live in the app layer, not in a library | app |
| PERSIST · HOW OFTEN? | ||
| Events, persistence, totals | plumax.population: EmissionCatalog, detection curves (POD), per-source intensities, fit_poisson_rate, total_emission; on pyrox-xtreme | assemble, fit |
The chain, level by level¶
The chain starts upstream of the retrieval, with the two inputs every emission estimate inherits: the wind that carries the plume and the radiative transfer that sees it.
| Stage | Cards | Tier | What is estimated | In the stack |
|---|---|---|---|---|
| Forcing | atm.met.wind, atm.met.stability, atm.turb.dispersion | 0 | the effective wind, stability, turbulence and | plumax.met (MetField, load_era5, load_wrf, MoninObukhov); plumax.lagrangian (HomogeneousTurbulence, HannaTurbulence) |
| Forward RT | atm.rtm.forward, atm.rtm.emulate | RT track | radiance and its Jacobian from a state | radtrax (CrossSectionTable, BeerLambert); plumax.coupled (LinearisedRadianceOperator, linearise) |
| L1 → L2 | atm.ch4.retrieve | RT track | the enhancement per pixel | radtrax.geo and geoops MatchedFilter, ColumnEnhancement |
| L2 → L3 | atm.ch4.grid | — | the plume mask | geoops PlumeMask, PlumeContours |
| L3 → L4 | atm.ch4.emission, atm.disp.emulate | I to IV | the emission rate per event | plumax.gauss_plume infer_emission_rate; plumax.lagrangian, plumax.les_fvm, plumax.coupled |
| L4 → L5 | atm.ch4.persistency, atm.ch4.inventory | V | rate, size distribution, wait time, yearly total | plumax.population (tmtpp_iw_model, expected_wait_time, total_emission); see Persistence |
The wind’s error passes straight into . For the mass-balance estimate , with the effective wind, the integrated mass enhancement and the plume length, the relative errors add to first order:
A 30% error in the wind is a 30% error in however good the retrieval, which is why the forcing has cards of its own. The whole chain is the natural test of a cascade: substitute the oracle at one stage at a time (wind, retrieval, mask, inversion) and see which one dominates the error in the yearly total.
The retrieval front end¶
Every source question begins as radiance. Each stage from photons to a column adds to three error tracks that never mix, and the order of the stages matters.
Each stage adds to three error tracks that never mix: random (removed by averaging), structured (survives averaging; removed only by a projection or a difference) and bias (shifts the estimate). Resampling and band aggregation can lose information outright, so the order matters: retrieve in sensor geometry, then warp, because for a linear resampling and a nonlinear retrieval .
Table 1:Each stage from photons to a column, and what it adds to the three error tracks.
| Stage | What happens | Random | Structured | Bias | In the stack |
|---|---|---|---|---|---|
| Scene | the radiance field | — | surface spectra, , aerosol | — | — |
| Optics | PSF blurs the plume | — | — | stray light | — |
| Spectrometer | the ISRF smooths each line | — | smile, keystone | ISRF knowledge | — |
| Detector · L0 | photons to digital numbers | shot, read, dark, quantization | PRNU and DSNU stripes, 1/f | nonlinearity | radtrax SNRNoise, DiagonalNoise |
| Calibration · L1B | digital numbers to radiance | rescaled | flat-field residual | absolute gain | radiomax counts_to_radiance |
| Resampling · L1C | onto a map grid | now correlated | co-registration | geolocation | geoops Reproject |
| Band aggregation | channels to broad bands | fewer, brighter | smooth clutter passes | SRF knowledge | radiomax apply_response |
| Retrieval · L2 | the column , by a matched filter: | enters | enters | shifts the estimate | geoops MatchedFilter, radtrax |
The retrieval ladder¶
From a filter to radiative transfer
Matched filterlinear, one target signature, scene backgroundradtrax.geo MatchedFilter
· a physical Jacobian
Linearised Beer–Lamberttangent-linear radianceLinearisedRadianceOperator
· drop the linearity
Nonlinear Beer–Lambertone slab, normalised by the backgroundforward_nonlinear_normalized
· a layered column
Layered columnper-layer pressure, temperature and gasesLayeredRadianceOperator
· scattering
Scatteringaerosol, cloud, multiple scatteringno home
· coupled to transport
Coupled to transportplumax Tier IVplumax.coupled
Each arrow names the rung it changes. Scattering is dashed: the forward model stops at passive absorbers (note 3).
| Model | Relaxes | Rung | In the stack |
|---|---|---|---|
| Matched filter | linear in the enhancement, one fixed target signature, a Gaussian background from the scene | the bottom rung | radtrax.geo MatchedFilter |
| Linearised Beer–Lambert | a physical Jacobian of the radiance instead of a fixed signature | LinearisedRadianceOperator, linearise | |
| Nonlinear Beer–Lambert | the exponential kept: strong plumes saturate | forward_nonlinear_normalized, plume_ratio_spectrum | |
| Layered column | one slab becomes layers with their own pressure, temperature and gases | LayeredRadianceOperator, AtmosphericState, layers_from_levels | |
| Scattering | absorption only becomes the full radiative transfer equation | no home ③ | |
| Coupled to transport | the retrieval joins the plume model | plumax coupled, Tier IV | |
| Instrument | the band form and spectral shift | BandInstrument | |
| Noise | diagonal, then signal-dependent, then structured | DiagonalNoise, SNRNoise; structured noise ⑤ |
Reading the ladder¶
The bottom rung’s hypotheses are stronger than they look. The matched filter assumes linearity, one signature and a Gaussian background, all at once. A narrow and wrong misfit says it is over-constrained.
Linear against nonlinear isolates saturation. On the same scene the gap grows with the enhancement, which shows where the filter’s linearity breaks.
Noise is a ladder of its own. Diagonal, signal-dependent, then structured: stripes, pixel gains, smile. Only the first two exist (note 5).
The sensor’s scales are architecture. Pixel size, band set, revisit and geometry are decisions on the architecture rung; Sensor fusion treats them as a problem of their own.
The transport tiers¶
plumax’s tiers are the model ladder: each step relaxes one hypothesis, and the population tier changes the question rather than the physics.
plumax tiers · one forward interface
Gaussian plumesteady, closed formgauss_plume
· steady → transient
Gaussian pufftransient, closed formgauss_puff
· stochastic paths
Lagrangian particlestrajectories in a real windlagrangian
· the transport PDE
Eulerian finite volumesmass conserved on a C-gridles_fvm · gridax
· coupled to radiance
Coupledtransport + radiative transfercoupled · radtrax
the unit: event → population
Populationevents, rates, sizes, detectionpopulation
plumax’s tiers, read as rungs. The arrows name the hypothesis each step relaxes; the population tier changes the question rather than the physics.
| Tier | Model | Relaxes | Rung | Done today |
|---|---|---|---|---|
| I | Gaussian plume | the reference: steady, closed form | — | forward; MAP and MCMC |
| I | Gaussian puff | steady becomes transient: puffs released over time | forward; MAP and MCMC | |
| II | Lagrangian particles | the dispersion law becomes stochastic trajectories in a real wind | forward; inversion; the footprint emulator (steps 1 to 4) | |
| III | Eulerian finite volumes | the full transport equation, mass conserved on a C-grid, any wind | forward; 4D-Var; Laplace posterior | |
| IV | Coupled | transport joined to radiative transfer and several instruments | linear fusion; nonlinear inversion | |
| V | Population | one event becomes a population of events | the unit of inference | rates, sizes, detection, persistency, totals |
Reading the ladder¶
plumax already climbs it bottom up. Every higher tier is checked against Tier I in the limit of weak turbulence and steady wind, so the lower rung is the reference for the one above.
Compare neighbours. Plume against puff asks whether the source is steady; puff against particles, whether the dispersion law holds; particles against finite volumes, whether mass and the wind’s structure matter.
Classes on the process rung. Inside a tier the dispersion law is a choice of class: Pasquill–Gifford (
get_pg_params), Briggs (get_dispersion_params) or Golder, whose class comes from the Monin–Obukhov scales (GolderDispersion); plume rise isBriggsPlumeRise.One interface makes the ladder cheap to climb. Every tier is
forward(params, met) → observations, so swapping a rung leaves the inference untouched. Only Tier II has an emulator, and no tier an amortised predictor yet.
The cycle on every tier¶
| Tier | Forward model | 1 · Model | 2 · Inference | 3 · Emulator | 4 · Emulator inference | 5 · Amortized |
|---|---|---|---|---|---|---|
| 0 · Forcing | met fields, boundary layer, Monin–Obukhov, turbulence | landed | open | none | none | none |
| RT track | line-by-line cross sections, Beer–Lambert, instrument | landed | matched filter landed; optimal estimation open | LUT, neural RTM | open | open |
| I · Gaussian | steady plume, puff | landed | MAP and NUTS landed | skipped | none | NPE |
| II · Lagrangian | Langevin particles, backward footprint | landed | closed-form Gaussian and lognormal landed | footprint emulator landed | landed | conditional flow |
| III · Eulerian | finite-volume advection–diffusion | landed | 4D-Var, Laplace posterior landed | FV emulator | open | open |
| IV · Coupled | transport, averaging kernel, radiance, several instruments | landed | linear fusion, nonlinear inversion landed | open | open | open |
| V · Population | thinned marked point process: intensity, sizes, detection | landed | Gamma–Poisson; NUTS on the importance-corrected likelihood landed | skipped | SVI at national scale | (tile, history) → posterior |
landed: exists on main; open: designed, not built; skipped: the model is already cheap. From plumax’s status, read against the capability indexes on 2 December 2026.
Beyond methane: thirteen applications¶
| § | Application | Fit | Needs | In the stack |
|---|---|---|---|---|
| 2.1 | Combustion and industrial gases: NO₂, SO₂, CO₂, CO | perfect | a loss term , with the lifetime | loss missing; NO₂ and SO₂ need a UV forward model |
| 2.2 | Volcanic SO₂ and ash | perfect | injection height, conversion loss, ash settling | loss and settling missing; UV forward model |
| 2.3 | Wildfire smoke | perfect | a moving line source, plume rise, deposition | Briggs plume rise today; moving source missing |
| 2.4 | Oil spills | perfect | an ocean carrier, windage, weathering | tracerax floating objects; sesmax carrier not wired |
| 2.5 | River sediment plumes | perfect | settling, a buoyant fresh layer | settling missing |
| 2.6 | Thermal discharges | perfect | heat as the tracer, in watts | units in plumax not checked |
| 2.7 | Mineral dust | medium | an area source whose strength depends on wind | extended sources missing |
| 2.8 | Ammonia | medium | coarse thermal-IR columns (IASI, CrIS) | thermal-IR forward model missing |
| 2.9 | Radionuclide and chemical accidents | medium | point data, rare events | footprints and 4D-Var today |
| 2.10 | Marine plastics and debris | medium | weak imaging | tracerax transport today |
| 2.11 | Algal blooms and sargassum | medium | growth in place () | growth term missing |
| 2.12 | Groundwater contaminants | medium | a porous medium, no image, years | out of scope (cf. note ①) |
| 2.13 | Eddies, heatwaves, flood extent | poor | no source: segment and persist only | outside plumax: diagnostix, the events framework |
Grades and needs from plumax: applications of the four questions beyond trace gases (28 Nov 2026, at plumax b14cd8b). The last column is checked against the capability indexes at plumax 06a10f1.
Persistence: a thinned marked point process¶
Tiers I to IV ask how much one plume emits. Persistence asks how often the source emits, how big its events are, how many the satellites missed and how much it emitted in all. One model answers the four: events in time, each with a size, thinned by detection.
One source · one year
True events: when · : how big
thin: keep each with
Detected eventsfewer, and bigger
observe: per event
Detected cataloguetimes and per-event posteriorsEmissionCatalog
invert: NUTS, reweighted
Posterior over , , the source, apart from the sensortmtpp_iw_model
Whencount, waitexpected_*
How muchtotal, missingtotal_emission
How seen per sensorproposed
The same ten events before and after the sieve: four survive, and they are the big ones. Inversion recovers the source from the survivors and the curve that chose them.
Three layers and a sieve¶
A source does not emit one plume; it emits events. Each event starts at a time , carries an emission rate [kg h⁻¹] and lasts on average hours. The model has three layers, and the observer adds a fourth:
When: the ground intensity. Events arrive as a Poisson process with intensity [events day⁻¹]; the expected count in a window is . This is the source dynamics: a diurnal tank, a scheduled blowdown, a ventilation shaft.
What: the marks. Each event’s rate is drawn from a size distribution , heavy-tailed for methane: most events are small, a few carry most of the mass.
The sieve: detection. Each event is seen independently with probability , where holds the covariates of the overpass: wind, SNR, solar zenith, scene class, instrument.
What is left: the detected process. By the thinning theorem it is again Poisson, and the missed events form a second Poisson process, independent of the first.
So the detected record is distorted twice: events seem rarer, at rate , and bigger, with sizes drawn from . Persistence, totals and forecasts all have to be read through that distortion.
The likelihood¶
Over a window with detected set , each event’s rate is known only through its posterior from Tiers I to IV. With the per-event likelihood, the negative log-likelihood is:
The last term is what makes and separately identifiable; without it a busy, poorly seen source and a quiet, well seen one fit equally well. The per-event integral is computed from the posterior draws , , reweighted by the per-event prior they were drawn under:
The correction is not optional: fed the posterior samples directly, the fit counts each event’s prior twice and biases both and the total. The effective sample size of the weights, per event, is the health check (ess_report).
What it answers¶
Every question below is a functional of one posterior over , evaluated draw by draw (posterior_metric), so each comes with its interval.
| Question | Quantity | In the stack | Status |
|---|---|---|---|
| How many events in the next days? | expected_count | landed | |
| Will it emit while a crew is on site, ? | occurrence_probability | landed | |
| How long until the next event? | expected_wait_time | landed | |
| How big are its events? | , | fit_size_distribution_iw, MarkPosterior | landed |
| How much did it emit? | total_emission, TotalEmission | landed | |
| How much did the satellites miss? | TotalEmission.missing_kg | landed | |
| How persistent will it look to sensor ? | none | open |
Persistence depends on who is looking¶
Persistence as usually reported is the fraction of overpasses that see a plume. The model says what that fraction is. The events active at an overpass are those that started in the last hours, a Poisson count with mean ; each is seen with probability by sensor , on average , so the seen ones are Poisson too, and in the table is the chance that at least one is. For a steady source, .
Take one source with three events a day lasting four hours each, so events are active at any moment. A sensor that sees 20% of its events reports a persistence of ; one that sees 70% reports . Same source, a threefold difference. Persistence is a property of the source and the sensor together; and are the source’s alone, which is why the inventory and the alerts should be built on them.
The missing-mass paradox¶
The naive total, the sum of over detections, is biased low even though each detected event is biased high. In expectation it is exactly the detected mass,
so the size bias of the kept events never makes up for the ones lost. simulate_paradox reproduces it by Monte Carlo, and the atm.ch4.inventory card scores it: the corrected total must agree under two sensors’ detection curves, where the naive totals disagree.
The ladder of complexity¶
Each axis climbs on its own, and every rung keeps the same three-term likelihood: only , , or the per-event evidence changes form. Start at the left column on every axis; the left column is the oracle for the rung above.
| Axis | Simplest | Rungs above | In the stack | Status |
|---|---|---|---|---|
| Source dynamics | constant (Poisson) | diurnal, seasonal, both; renewal with memory (a valve that recharges); operating schedules and batches; sector shapes (landfill, coal-mine ventilation, feedlot, offshore, wetland); then clustering: self-exciting Hawkes, or a Cox process with a latent | INTENSITY_REGISTRY (13 kernels), make_process; pyrox_xtreme RenewalProcess, ExponentialHawkes | landed thirteen kernels; partial Hawkes in pyrox-xtreme, not wired in; open Cox |
| Marks | lognormal | power law; lognormal body with a Pareto tail; mixtures of lognormals; sizes that change with time, | LognormalMark, PowerLawMark, LognormalParetoMark, MixtureLognormalMark; time_varying_marks | landed; partial in pyrox-xtreme only |
| Detection | logistic in | probit, cloglog, log-logistic links; covariates (concentration proxy, SNR, spectral, several at once); coefficients that vary by basin, season and scene; several sensors with coverage and hour of day | LogisticPOD, SNRBasedPOD, SpectralAwarePOD, VaryingCoefficientPOD, pod_union, load_pod_calibrations | landed; open which sensor saw it, as a categorical mark |
| Observation operator | one point estimate per event | a lognormal summary; full posterior draws with the importance correction; then one latent state per source, shared by every overpass that saw it | event_from_posterior, catalog_evidence, Regime, ess_report | landed up to full draws; open shared state |
| Space | one facility, in time | many independent facilities; marked spatial and space–time processes; space–time Hawkes; a Cox process whose log intensity is a Matérn GP, the same field Tier III inverts as its source | pyrox_xtreme InhomogeneousSpatioTemporalPP, MarkedSpatioTemporalPP, SpatioTemporalHawkes; plumax.population.spatial | partial the processes exist; open plumax’s spatial tier |
| Aggregation | one source | a basin, where independent sources superpose, ; a facility class that pools its parameters hierarchically; a national total, with duplicate sightings across sensors merged | fit_lognormal_size_distribution (pooled sizes); total_emission over a basin catalogue | landed pooled sizes; open pooled intensities |
The intensity kernels run on pyrox_xtreme.point_processes through plumax.population.processes, so compensators, thinning samplers, survival functions and goodness of fit are pyrox-xtreme’s. Its space–time and Hawkes classes live in pyrox_xtreme.point_processes.operators, which the GeoML capability index does not list yet. Status from plumax’s Tier V design (06), checked against the code on 3 December 2026.
The suite: eleven cards¶
One card per arrow, plus the forcing and the forward model that every arrow inherits.
| Card | Transition | Synthetic truth → oracle | Real-data track | Headline scores | Status |
|---|---|---|---|---|---|
atm.met.wind | forcing | LES wind at the source → a Bayesian from reanalysis wind and the plume’s shape | sonic anemometers at release sites | bias, and its share of the error | card |
atm.met.stability | forcing | LES surface layer → a Monin–Obukhov fit of | the Turner Pasquill–Gifford table | class accuracy; and error | card |
atm.turb.dispersion | forcing | LES plume → Langevin particles under homogeneous, Hanna or LES-calibrated turbulence | none | , error; the well-mixed test | card |
atm.rtm.forward | state → L1 | line-by-line → analytic optical depth and air-mass factor | none | unit optical depth; two-way path | card |
atm.rtm.emulate | state → L1 | line-by-line → a factorised LUT, a neural RTM | none | radiance error under 1% in the LUT box; Jacobian error under 5% in operator norm | card |
atm.ch4.retrieve | L1 → L2 | radtrax radiance with an injected plume → optimal estimation with the true forward model | TROPOMI, EMIT and GHGSat L2 on overlap pixels | bias; SBC stratified by SNR, solar zenith and aerosol; degrees of freedom | card |
atm.ch4.grid | L2 → L3 | a known footprint → threshold and opening | controlled releases | mask IoU; false-plume rate | card |
atm.disp.emulate | params → state | Lagrangian or FV runs → a footprint or FV emulator | none | relative Frobenius error of the footprint under 5% | card |
atm.ch4.emission | L3 → L4 | a Gaussian plume → NUTS at Tier I; the same task climbs Tiers II to IV | controlled releases | SBC, coverage, distance to the oracle, gap to IME | 3a, 3b |
atm.ch4.persistency | L4 → L5 | a known , thinned, with a bank of per-event posteriors → the same TMTPP by NUTS | repeat overpasses of monitored facilities | population SBC; coverage of wait time and visit probability; ESS of the weights | 4a |
atm.ch4.inventory | L4 → L5 | synthetic basins with known totals → total_emission | bottom-up inventories (GHGI, GHGRP) | total-mass coverage; missing-mass fraction; the same total under two sensors’ detection curves | card |
Status names the GeoBench build phase that writes the card’s code; “card” means the contract is written and no code is planned yet. The emulator thresholds are plumax’s own hard tests.
The first card: atm.ch4.emission¶
Once the wind is fixed, the enhancement is linear in the emission rate, with the unit-rate plume seen through the observation operator:
So its posterior is exact at Tier I, and the engine can be tested on it before any science is. The truth climbs the twin ladder: Tier I plumes (identical), Tier III plumes with real noise residuals (fraternal), plumes added to real scenes (hybrid), then controlled releases with metered (an observed intervention). The floor is the prior alone; the bar is the IME mass balance, the method in use. A learned estimator has to beat both the physics and the exact answer.
Sketch¶
A code sketch of the first card, atm.ch4.emission: the names marked today exist; the arguments are sketched. Nothing here runs yet.
import pipekit_evaluate as pke
from geoops import IMEEstimate
from plumax.gauss_plume import infer_emission_rate
from plumax.les_fvm import simulate_eulerian_dispersion
# Shapes: N_Ω = 4,096 pixels (64 × 64); N_post = 1,000 posterior draws
# today* (plumax.les_fvm)
# truth: a Tier III plume from a metered rate Q⋆ (the fraternal twin)
truth_column = simulate_eulerian_dispersion(source, wind, grid) # → (N_Ω,)
# user
# Δy = truth + ε, with ε drawn from a bank of real residuals
enhancement = truth_column + residual_bank.sample(key) # (N_Ω,) → (N_Ω,)
# today* (plumax.gauss_plume)
# p(Q | Δy) ∝ p(Δy | Q, u) p(Q) at Tier I, by NUTS: rung 2, the oracle
posterior_q = infer_emission_rate(enhancement, wind, geometry) # → (N_post,)
# today* (geoops)
# the bar: Q̂ = U_eff · IME / L
q_ime = IMEEstimate()(enhancement) # → ()
# today* (pipekit_evaluate)
# one cell (L3 → L4, Tier I, rung 2, NUTS): SBC, coverage, gap to IME
report = pke.evaluate(posterior_q, q_true, scorers) # → EvaluationReportThe persistence cards: atm.ch4.persistency, atm.ch4.inventory¶
One fit, three products. The truth is a synthetic source with known , thinned and passed through a bank of per-event posteriors; the oracle is the same model fitted by NUTS.
from numpyro.infer import MCMC, NUTS
from plumax.population import (
LognormalMark,
Regime,
TMTPPPosterior,
catalog_evidence,
expected_wait_time,
load_pod_calibrations,
occurrence_probability,
posterior_metric,
tmtpp_iw_model,
total_emission,
)
# Shapes: N_det detected events; N_𝓔 = 256 draws per event; N_post = 1,000 posterior members;
# N_sensor sensors; times in days over a one-year window
# today (plumax.population)
# P_d⁽ʲ⁾(Q), one calibrated detection curve per sensor
pods = load_pod_calibrations("pod_calibrations.yaml") # → N_sensor curves
# today* (plumax.population)
# Qᵢ⁽ᵉ⁾ ∼ p(Q | Δyᵢ) from Tiers I–IV, with log πᵢ(Q) recalled
evidence = catalog_evidence(catalog, regime=Regime.FULL) # → (N_det, N_𝓔)
# today* (plumax.population, numpyro)
# ℒ_NLL = −Σᵢ [log ρ(tᵢ) + log ∫ P_d p(Δyᵢ | Q) p(Q) dQ] + P_eff Λ(0, T)
sampler = MCMC(NUTS(tmtpp_iw_model), num_warmup=1000, num_samples=1000)
sampler.run(
key, event_times, mask, evidence,
mark=LognormalMark(), intensity="diurnal", window=(0.0, 365.0),
pods=pods, coverage=coverage,
)
draws = sampler.get_samples() # → N_post members
# today (plumax.population)
# the posterior over (θ_ρ, θ_Q, θ_d)
posterior = TMTPPPosterior("diurnal", LognormalMark(), draws)
# today* (plumax.population)
# 𝔼[Δt | t₀] = ∫₀^∞ exp(−Λ(t₀, t₀ + τ)) dτ, member by member
wait = posterior_metric(expected_wait_time, posterior, t_visit) # → {"samples": (N_post,), …}
# today* (plumax.population)
# ℙ(N(t₀, t₀ + h) ≥ 1) = 1 − exp(−Λ(t₀, t₀ + h)), a six-hour visit
visit = posterior_metric(
occurrence_probability, posterior, t_visit, 0.25
) # → {"samples": (N_post,), …}
# today* (plumax.population)
# M = Λ 𝔼_p(Q)[Q] t_dur, M_missed = Λ 𝔼_p(Q)[Q (1 − P_d)] t_dur
totals = total_emission(
posterior, horizon=(0.0, 365.0), event_duration=4.0,
log_pod=None, q_min=10.0, q_max=1e5, pods=pods,
) # → 3 × (N_post,)
# proposed (observed persistence)
# θ_frac,j(t) = 1 − exp(−P_eff⁽ʲ⁾ Λ(t − t_dur, t)), per sensor
persistence = observed_persistence(posterior, pods, t_overpass) # → (N_post, N_sensor)Gaps¶
Where it doesn’t fit¶
[1] Segment and mass balance live in geoops, not plumax. The plumax page names PlumeMask, PlumeContours, PlumeFootprint, IMEEstimate and CrossSectionalFlux as its tools; at the pins they are geoops operators. The matched filter is there too, while its target and forward model are in radtrax. Proposed: Decide one home: the maths in plumax (segment, mass balance) and radtrax (matched filter), with geoops keeping thin operators over them, or say on the plumax page that these are geoops tools.
[2] L2 openers return xarray, and only for methane. The EMIT, AVIRIS-3, GHGSat and TROPOMI openers are in xrproducts and return CF Datasets, while the data-levels axis puts L2 on the raster carrier; the plumax page also finds the observation side is methane only. Proposed: Check whether the xarray choice is deliberate (TROPOMI is a swath of points), and add the first non-methane opener with the first non-methane demo.
[3] Transport and the forward model stop at passive SWIR absorbers. plumax’s tiers have no loss, deposition, settling or windage, and no moving or extended source. radtrax’s solver is Beer–Lambert with no scattering and no emission, so NO₂ and SO₂ (UV–visible) and NH₃ (thermal IR) have no forward model. The plumax page’s four additions (loss or growth, settling and deposition, moving or extended sources, non-atmospheric carriers) cover every perfect and medium fit. Proposed: Follow the page: a first-order loss on every tier first, with an NO₂ or SO₂ demo; volcanic SO₂ is the cleanest. A UV forward model in radtrax goes with it.
[4] The carrier is atmospheric only. plumax.met reads ERA5, WRF and boundary-layer fields. Oil spills, sediment plumes, thermal discharges and debris need ocean currents, from sesmax or a product. Proposed: The carrier contract the plumax page proposes, accepting ocean currents; oil spills are the case that forces it.
[5] Noise models cover the random track only. radtrax’s NoiseModel ships diagonal and SNR noise. Stripes, PRNU and DSNU, smile and co-registration error are structured: they survive averaging and dominate methane retrievals. Proposed: A structured-noise model in radtrax (per-column offsets and gains, low-rank spectral terms), scored against the Retrieval SNR Budget’s closed forms.
[6] Observed persistence has no function. The model implies the persistence each sensor should report, , but nothing computes it, so the card cannot score a predicted persistence against the detection frequency of a real record. Proposed: An observed_persistence metric beside expected_wait_time in plumax.population, vmapped by posterior_metric
[7] Clustering and space stop at the library boundary. Hawkes and space–time processes exist in pyrox-xtreme but no plumax intensity uses them, and the Cox process with a GP log intensity, the one that would share a field with Tier III, is not built. Proposed: Wire the pyrox-xtreme classes into plumax.population.processes; the temporal LGCP first (plumax #115), then plumax.population.spatial
[8] No real catalogue yet. Ingesting IMEO, Carbon Mapper, GHGSat and Tanager detections is open, and repeat sightings of one leak break the independence the likelihood assumes, which over-tightens . Proposed: CSV and parquet ingestion (plumax #111), with clustering of near-coincident sightings at the catalogue stage until the shared per-source state lands
[9] No large-eddy truth for the forcing cards. The three forcing cards need LES wind and plume fields as their synthetic truth, and none is in the stack; without them they run on real data only. Proposed: A GeoBench data recipe that stages published LES runs as reference tracks, not a library
Sources and status
Cards, transitions, tiers and the worked chains from the GeoBench catalogue (7 October 2026), with library names moved to today’s and checked against geostack’s capability indexes on 2 December 2026. How a card is run and scored is GeoBench; what the applications share is the Application stack. Noise tracks and the photon budget from the Retrieval SNR Budget.