oemFinalizeDiagonal

Workspace.oemFinalizeDiagonal(self, oem: OptimalEstimationData = self.oem, jac_targets: JacobianTargets = self.jac_targets, atm_field: AtmField = self.atm_field, surf_field: SurfaceField = self.surf_field, subsurf_field: SubsurfaceField = self.subsurf_field, abs_bands: AbsorptionBands = self.abs_bands, measurement_sensor: ArrayOfSensorObsel = self.measurement_sensor) None

Finalize the retrieval setup.

Calls jac_targetsFinalize() to determine target sizes and state-vector offsets, then adds the per-target covariance blocks collected in oem.covmat_diagonal_blocks by the oemAdd methods. “Diagonal” refers to their positions on the block diagonal; the matrices inside those blocks may be correlated. Add cross-target correlations afterwards with oemStateCovmatCorrelateConstant(). Finally calls oemCheck(): observations, prior and measurement-error covariance must already be set in oem. Success marks oem checked; validation failure leaves it unchecked and reports the missing or invalid data. This method does not select an oemCalc method.

If target offsets are needed to calculate the prior or a forward model before this step, call jac_targetsFinalize() first. This only finalizes the mapping; oemFinalizeDiagonal() completes and checks the numerical retrieval setup.

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. [INOUT]

  • atm_field (~pyarts3.arts.AtmField, optional) – An atmospheric field in ARTS, this is the main atmospheric data structure in ARTS. Defaults to self.atm_field. [IN]

  • surf_field (~pyarts3.arts.SurfaceField, optional) – The surface field. Defaults to self.surf_field. [IN]

  • subsurf_field (~pyarts3.arts.SubsurfaceField, optional) – The sub-surface field. Defaults to self.subsurf_field. [IN]

  • abs_bands (~pyarts3.arts.AbsorptionBands, optional) – Bands of absorption lines for line-by-line (LBL) calculations. Defaults to self.abs_bands. [IN]

  • measurement_sensor (~pyarts3.arts.ArrayOfSensorObsel, optional) – A list of sensor elements that fully describe one or more observing sensor(s). Defaults to self.measurement_sensor. [IN]