ARTS built-in documentation server
Workspace Method abs_lookupSetupBatch
Description
Set up input parameters for abs_lookupCalc for batch calculations.
This method performs a similar task as abs_lookupSetup, with the
difference, that the lookup table setup is not for a single
atmospheric state, but for a whole batch of them, stored in
batch_atm_fields_compact.
The method checks abs_species to decide, which species depend on
*abs_h2o*, and hence require nonlinear treatment in the lookup table.
The method also checks which range of pressures, temperatures, and
VMRs occurs, and sets abs_p, abs_t, abs_t_pert, and abs_vmrs
accordingly.
If nonlinear species are present, abs_nls and abs_nls_pert are also
generated.
Max and min values of H2O and temperature are adjusted to allow for
numerical perturbations in Jacobian calculation.
The input variables abs_nls_interp_order and abs_t_interp_order
are used to make sure that there are enough points in abs_nls_pert
and abs_t_pert for the chosen interpolation order.
See also:
abs_lookupSetup
Authors: Stefan Buehler
Synopsis
abs_lookupSetupBatch( | abs_p, abs_t, abs_t_pert, abs_vmrs, abs_nls, abs_nls_pert, abs_species, batch_atm_fields_compact, abs_p_interp_order, abs_t_interp_order, abs_nls_interp_order, p_step, t_step, h2o_step, extremes ) |
Variables
OUT | abs_p | (Vector) | List of pressures to be used for the calculation of absorption coefficients. |
OUT | abs_t | (Vector) | List of temperatures to be used for the calculation of absorption coefficients. |
OUT | abs_t_pert | (Vector) | Temperature perturbations for the absorption lookup table. |
OUT | abs_vmrs | (Matrix) | The VMRs (unit: absolute number) on the abs_p grid. |
OUT | abs_nls | (ArrayOfArrayOfSpeciesTag) | Nonlinear species for absorption lookup table generation. |
OUT | abs_nls_pert | (Vector) | Fractional perturbations for the nonlinear species in the absorption lookup table. |
IN | abs_species | (ArrayOfArrayOfSpeciesTag) | Tag groups for scalar gas absorption. |
IN | batch_atm_fields_compact | (ArrayOfGriddedField4) | An array of compact atmospheric states. |
IN | abs_p_interp_order | (Index) | The interpolation order to use when interpolating absorption between pressure levels. |
IN | abs_t_interp_order | (Index) | The interpolation order to use when interpolating absorption between the temperature values given by abs_t_pert. |
IN | abs_nls_interp_order | (Index) | The interpolation order to use when interpolating absorption between the H2O values given by abs_nls_pert. |
GIN | p_step | (Numeric, Default: 0.05) | Grid step in log10(p[Pa]) (base 10 logarithm). |
GIN | t_step | (Numeric, Default: 20) | The temperature variation grid step in Kelvin. The true step can become finer than this, if required by the interpolation order. |
GIN | h2o_step | (Numeric, Default: 100) | The H2O variation grid step [fractional], if H2O variations are done (which is determined automatically, based on abs_species and the atmospheric dimension). As for T, the true step can turn out finer if required by the interpolation order. |
GIN | extremes | (Vector, Default: []) | You can give here explicit extreme values to add to abs_t_pert and abs_nls_pert. The order is [t_pert_min, t_pert_max, nls_pert_min, nls_pert_max]. |