Compare

Workspace.Compare(self: pyarts.arts._Workspace, var1: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfMatrix, pyarts.arts.ArrayOfTensor7, pyarts.arts.ArrayOfVector, pyarts.arts.GriddedField3, pyarts.arts.Matrix, pyarts.arts.Numeric, pyarts.arts.SingleScatteringData, pyarts.arts.Sparse, pyarts.arts.Tensor3, pyarts.arts.Tensor4, pyarts.arts.Tensor5, pyarts.arts.Tensor7, pyarts.arts.Vector], var2: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfMatrix, pyarts.arts.ArrayOfTensor7, pyarts.arts.ArrayOfVector, pyarts.arts.GriddedField3, pyarts.arts.Matrix, pyarts.arts.Numeric, pyarts.arts.SingleScatteringData, pyarts.arts.Sparse, pyarts.arts.Tensor3, pyarts.arts.Tensor4, pyarts.arts.Tensor5, pyarts.arts.Tensor7, pyarts.arts.Vector], maxabsdiff: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric]] = Numeric{}, error_message: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.String]] = "", verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Checks the consistency between two variables.

The two variables are checked to not deviate outside the specified value (maxabsdiff). An error is issued if this is not fulfilled.

The main application of this method is to be part of the test control files, and then used to check that a calculated value is consistent with an old, reference, value.

Author(s): Oliver Lemke

Parameters: