fips.problems.flux.FluxProblem#
- class fips.problems.flux.FluxProblem(obs, prior, forward_operator, modeldata_mismatch, prior_error, constant=None, round_index=6)[source]#
Atmospheric flux inversion problem.
Subclass of InverseProblem specialized for estimating spatial and temporal surface fluxes from observed atmospheric concentrations using a forward transport model. Supports multi-block state composition (e.g., fluxes + bias corrections).
Attributes
averaging_kernelAveraging kernel matrix (A).
backgroundBackground concentration.
concentration_errorModel-data mismatch covariance matrix for observations.
concentrationsObserved concentrations.
desroziersDesroziers et al. (2005) diagnosed observation error covariance.
enhancementThe background-subtracted observation vector.
Return the fitted estimator (raises if not solved).
jacobianForward operator (Jacobian) mapping state to observations.
kalman_gainKalman gain matrix (K).
n_obsReturn number of observations.
n_stateReturn number of state variables.
obs_indexReturn the observation space index.
plotPlotting interface for flux inversion results.
posteriorPosterior state estimate.
posterior_concentrationsModelled concentrations from posterior fluxes.
posterior_errorPosterior error covariance.
posterior_flux_errorPosterior flux error covariance matrix after inversion.
posterior_fluxesPosterior flux estimates after inversion.
posterior_obsModeled observations (H @ posterior).
prior_concentrationsModelled concentrations from prior fluxes.
prior_flux_errorInventory error covariance matrix.
prior_fluxesPrior flux inventory.
prior_obsModeled observations using the prior (H @ prior).
state_indexReturn the state space index.
Observation vector.
Prior state vector.
forward_operatorForward operator mapping state space to observation space.
prior_errorCovariance matrix representing prior error.
modeldata_mismatchCovariance matrix representing model-data mismatch (observation error).
constantOptional constant term added to the forward model (e.g., background or bias).
Methods