scat_dataCheck

Workspace.scat_dataCheck(self: pyarts.arts._Workspace, scat_data: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfArrayOfSingleScatteringData | None = self.scat_data, check_type: pyarts.arts.WorkspaceVariable | pyarts.arts.String | None = 'all', sca_mat_threshold: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = 5e-2, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Method for checking the validity and consistency of the single scattering properties in scat_data.

It checks that scat_data does not contain any invalid values, that is any NaN elements in K, Z, or a or any negative values in the ‘scalar’ properties K11, Z11, and a1.

When check_type is ‘all’, it is furthermore checked that the scattering matrix is properly normalized, that is that the solid sphere integrated scattering matrix (int_Z11), which is supposed to be normalized to the scattering cross section, is sufficiently consistent with the scattering cross section (C_sca) derived from the difference of extinction (K11) and absorption (a1): int_z11 ~ C_sca = K11-a1. Sufficient consistency is defined by the maximum allowed deviation in single scattering albedo, sca_mat_threshold, testing for:

( <int_Z11>/<C_sca>-1. ) * ( <C_sca>/<K11> ) <= sca_mat_threshold.

The check is skipped if check_type is ‘sane’.

Author(s): Claudia Emde, Jana Mendrok

Parameters:
  • scat_data (ArrayOfArrayOfSingleScatteringData, optional) – Array of single scattering data. See scat_data, defaults to self.scat_data [IN]

  • check_type (String, optional) – The level of checks to apply on scat_data (‘sane’ or ‘all’; see above). Defaults to "all" [IN]

  • sca_mat_threshold (Numeric, optional) – Threshold for allowed albedo deviation (see above). Defaults to 5e-2 [IN]

  • verbosity (Verbosity) – ARTS verbosity. See verbosity, defaults to self.verbosity [IN]