scat_data_checkedCalc

Workspace.scat_data_checkedCalc(self: pyarts.arts._Workspace, scat_data_checked: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.scat_data_checked, scat_data: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfArrayOfSingleScatteringData | None = self.scat_data, f_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.f_grid, dfrel_threshold: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = 0.1, check_level: 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

Checks dimensions, grids and single scattering properties of all scattering elements in scat_data.

Dimension and grid equirements:

  • The scattering element’s f_grid is either identical to f_grid or of dimension 1.

  • In the latter case, the scattering element’s f_grid value must not deviate from any of the f_grid values by more than a fraction of dfrel_threshold.

  • The frequency dimension of pha_mat_data, ext_mat_data, and abs_vec_data is either equal to the scattering element’s f_grid or 1.

  • The temperature dimension of pha_mat_data, ext_mat_data, and abs_vec_data is either equal to the scattering element’s T_grid or 1.

  • The temperature dimension of ext_mat_data, and abs_vec_data is identical.

The single scattering property contents are checked using scat_dataCheck(). For details, see there. The depth of these checks and their rigour can adapted (see description of parameters check_level and sca_mat_threshold in scat_dataCheck()) or can be skipped entirely (setting check_level to ‘none’). NOTE: These test shall only be skipped when one is confident that the data is correct, e.g. by having run scat_dataCheck() on the set of data before, e.g. in a separate ARTS run.

Author(s): Jana Mendrok

Parameters:
  • scat_data_checked (Index, optional) – OK-flag for scat_data. See scat_data_checked, defaults to self.scat_data_checked [OUT]

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

  • f_grid (Vector, optional) – The frequency grid for monochromatic pencil beam calculations. See f_grid, defaults to self.f_grid [IN]

  • dfrel_threshold (Numeric, optional) – Maximum relative frequency deviation between (single entry) scattering element f_grid values and the RT calculation’s f_grid. Defaults to 0.1 [IN]

  • check_level (String, optional) – See check_level in scat_dataCheck(). Defaults to "all" [IN]

  • sca_mat_threshold (Numeric, optional) – See sca_mat_threshold in scat_dataCheck(). Defaults to 5e-2 [IN]

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