abs_lookupSetup

Workspace.abs_lookupSetup(self: pyarts.arts._Workspace, abs_p: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.abs_p, abs_t: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.abs_t, abs_t_pert: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.abs_t_pert, abs_vmrs: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix | None = self.abs_vmrs, abs_nls: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfArrayOfSpeciesTag | None = self.abs_nls, abs_nls_pert: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.abs_nls_pert, atmosphere_dim: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.atmosphere_dim, p_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.p_grid, t_field: pyarts.arts.WorkspaceVariable | pyarts.arts.Tensor3 | None = self.t_field, vmr_field: pyarts.arts.WorkspaceVariable | pyarts.arts.Tensor4 | None = self.vmr_field, atmfields_checked: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.atmfields_checked, abs_species: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfArrayOfSpeciesTag | None = self.abs_species, abs_p_interp_order: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.abs_p_interp_order, abs_t_interp_order: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.abs_t_interp_order, abs_nls_interp_order: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.abs_nls_interp_order, p_step: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = 0.05, t_step: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = 100, h2o_step: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = 100, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Set up input parameters for abs_lookupCalc.

More information can be found in the documentation for method abs_lookupSetupBatch()

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.

Note: For homogeneous 1D cases, it can be advantageous to calculate abs_lookup from the 1D atmosphere, and to expand the atmosphere to 3D only after that. This particularly if nonlinear species (i.e., H2O) are involved. See also: abs_lookupSetupBatch()

Author(s): Stefan Buehler

Parameters:
  • abs_p (Vector, optional) – List of pressures to be used for the calculation of absorption. See abs_p, defaults to self.abs_p [OUT]

  • abs_t (Vector, optional) – List of temperatures to be used for the calculation of absorption. See abs_t, defaults to self.abs_t [OUT]

  • abs_t_pert (Vector, optional) – Temperature perturbations for the absorption lookup table. See abs_t_pert, defaults to self.abs_t_pert [OUT]

  • abs_vmrs (Matrix, optional) – The VMRs (unit of absolute number) on the abs_p grid. See abs_vmrs, defaults to self.abs_vmrs [OUT]

  • abs_nls (ArrayOfArrayOfSpeciesTag, optional) – Nonlinear species for absorption lookup table generation. See abs_nls, defaults to self.abs_nls [OUT]

  • abs_nls_pert (Vector, optional) – Fractional perturbations for the nonlinear species in the absorption. See abs_nls_pert, defaults to self.abs_nls_pert [OUT]

  • atmosphere_dim (Index, optional) – The atmospheric dimensionality (1-3). See atmosphere_dim, defaults to self.atmosphere_dim [IN]

  • p_grid (Vector, optional) – The pressure grid. See p_grid, defaults to self.p_grid [IN]

  • t_field (Tensor3, optional) – The field of atmospheric temperatures. See t_field, defaults to self.t_field [IN]

  • vmr_field (Tensor4, optional) – VMR field. See vmr_field, defaults to self.vmr_field [IN]

  • atmfields_checked (Index, optional) – OK-flag for atmospheric grids and (physical) fields. See atmfields_checked, defaults to self.atmfields_checked [IN]

  • abs_species (ArrayOfArrayOfSpeciesTag, optional) – Tag groups for gas absorption. See abs_species, defaults to self.abs_species [IN]

  • abs_p_interp_order (Index, optional) – The interpolation order to use when interpolating absorption. See abs_p_interp_order, defaults to self.abs_p_interp_order [IN]

  • abs_t_interp_order (Index, optional) – The interpolation order to use when interpolating absorption between. See abs_t_interp_order, defaults to self.abs_t_interp_order [IN]

  • abs_nls_interp_order (Index, optional) – The interpolation order to use when interpolating absorption between. See abs_nls_interp_order, defaults to self.abs_nls_interp_order [IN]

  • p_step (Numeric, optional) – Maximum step in log10(p[Pa]). If the pressure grid is coarser than this, additional points are added until each log step is smaller than this. Defaults to 0.05 [IN]

  • t_step (Numeric, optional) – The temperature variation grid step in Kelvin, for a 2D or 3D atmosphere. For a 1D atmosphere this parameter is not used. Defaults to 100 [IN]

  • h2o_step (Numeric, optional) – The H2O variation grid step [fractional], if H2O variations are done (which is determined automatically, based on abs_species and the atmospheric dimension). For a 1D atmosphere this parameter is not used. Defaults to 100 [IN]

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