ARTS built-in documentation server

Workspace Method scat_data_checkedCalc

Description

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.

Authors: Jana Mendrok

Synopsis

scat_data_checkedCalc( scat_data_checked, scat_data, f_grid, dfrel_threshold, check_level, sca_mat_threshold )

Variables

OUTscat_data_checked(Index)OK-flag for scat_data.
INscat_data(ArrayOfArrayOfSingleScatteringData)Array of single scattering data.
INf_grid(Vector)The frequency grid for monochromatic pencil beam calculations.
GINdfrel_threshold(Numeric, Default: 0.1)Maximum relative frequency deviation between (single entry) scattering element f_grid values and the RT calculation's f_grid.
GINcheck_level(String, Default: "all")See *check_level* in scat_dataCheck.
GINsca_mat_threshold(Numeric, Default: 5e-2)See *sca_mat_threshold* in scat_dataCheck.