slv.inversion.report#

Domain totals, the printed summary, Desroziers diagnostics and the plots of an SLV inversion.

Each function takes the solved Posterior (post) and, where the whole state is needed, the Problem build_problem() gave (problem): with the coverage filter on, post.problem holds only the kept cells.

Functions

calculate_total_flux

Domain-total emission per flux interval.

desroziers_diagnostic

Compare Desroziers-diagnosed vs specified observation error variances.

fluxes_as_inventory

Converts a flux vector to an inventory format for easier analysis.

plot_diagnostics

Plot fluxes per time step, the Desroziers diagnostics and, with the coverage filter on, the left-out cells' contribution to the obs.

plot_inputs

Plot the grid and sites, the obs time series and the prior fluxes.

plot_obs

Plot the obs against what the prior and the posterior model, one figure per location.

plot_results

Plot the posterior fluxes, the full-domain posterior (with the coverage filter on), domain totals over time, modelled vs observed concentrations, residuals, and background and bias.

summarize

Print the fit of the solve, then prior and posterior domain totals.

total_units

Unit of calculate_total_flux(): it integrates each flux interval over its cells and its duration, so the mass part of output_units per interval.