oemCheck

Workspace.oemCheck(self, oem: OptimalEstimationData = self.oem, jac_targets: JacobianTargets = self.jac_targets) None

Validate oem against the finalized jac_targets.

Checks numerical inputs, covariance dimensions and validity, optional stored modeling results, bases and normalization vectors, and agreement with the state size of the target mapping. Sets oem.checked to true on success.

On failure, leaves oem unchecked and throws a report of all detected problems. Does not consume inputs or run the forward model. Checks again even if oem is already checked, so it can also validate in-place edits. Call after setup or structural edits, before oemCalc() or oemCalcReduced(). Repeated calculations can reuse checked data without calling this method again.

Warning

Automatic size constraints are not checked for this method. Group-invariant checks on read-only inputs still apply.

Author: Richard Larsson

Parameters:
  • oem (~pyarts3.arts.OptimalEstimationData, optional) – Numerical problem and results for oemCalc() and oemCalcReduced(). Defaults to self.oem. [INOUT]

  • jac_targets (~pyarts3.arts.JacobianTargets, optional) – A list of targets for the Jacobian Matrix calculations. Defaults to self.jac_targets. [IN]