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 ofdfrel_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 parameterscheck_level
andsca_mat_threshold
inscat_dataCheck()
) or can be skipped entirely (settingcheck_level
to ‘none’). NOTE: These test shall only be skipped when one is confident that the data is correct, e.g. by having runscat_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
. Seescat_data_checked
, defaults toself.scat_data_checked
[OUT]scat_data (ArrayOfArrayOfSingleScatteringData, optional) – Array of single scattering data. See
scat_data
, defaults toself.scat_data
[IN]f_grid (Vector, optional) – The frequency grid for monochromatic pencil beam calculations. See
f_grid
, defaults toself.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 to0.1
[IN]check_level (String, optional) – See
check_level
inscat_dataCheck()
. Defaults to"all"
[IN]sca_mat_threshold (Numeric, optional) – See
sca_mat_threshold
inscat_dataCheck()
. Defaults to5e-2
[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]