ScatSpeciesExtendTemperature

Workspace.ScatSpeciesExtendTemperature(self: pyarts.arts._Workspace, scat_data_raw: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfArrayOfSingleScatteringData | None = self.scat_data_raw, scat_species: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfString | None = self.scat_species, species: pyarts.arts.WorkspaceVariable | pyarts.arts.String | None = '', scat_species_delim: pyarts.arts.WorkspaceVariable | pyarts.arts.String | None = '-', T_low: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = -1., T_high: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = -1., verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Extends valid temperature range of single scattering data.

The method allows to extend the temperature range of given single scattering data by duplicating optical property data at the low and/or high limits of the associated temperature grid. T_low and T_high specify the temperature grid points that are added. Extension is only performed if T_low is lower and T_high is higher than the original lowest and highest temperatures, respectively, and if the original data contains more than one temperature grid point (i.e., when not assumed constant anyways).

The method is thought, e.g., for atmospheric ice falling into atmospheric layers with temperatures above the melting point of ice, where ambient and particle temperature deviate (as long as frozen the ice temperature remains at the melting point temperature). It is not internally checked, whether the original data includes the melting point. The method can be used in a wider sense. However, it remains in the responsibility of the user to apply the method in a meaningful sense and on meaningful single scattering data.

The temperature extension is applied on all scattering elements of a scattering species. If scat_species is defined, species can be used to select the species on which the extension shall be applied comparing species with the scattering species name part of scat_species. If no species is specified, the method is applied on the current last existing scattering species in scat_data. Through the latter the method can be applied for cases when scat_species is not defined (e.g. when pnd_field data is created externally instead of from hydrometeor fields

Author(s): Jana Mendrok

Parameters:
  • scat_data_raw (ArrayOfArrayOfSingleScatteringData, optional) – Array of raw single scattering data. See scat_data_raw, defaults to self.scat_data_raw [INOUT]

  • scat_species (ArrayOfString, optional) – Array of Strings defining the scattering species to consider. See scat_species, defaults to self.scat_species [IN]

  • species (String, optional) – Scattering species to act on (see WSM description for details). Defaults to "" [IN]

  • scat_species_delim (String, optional) – Delimiter string of scat_species elements. Defaults to "-" [IN]

  • T_low (Numeric, optional) – Temperature grid extension point at low temperature limit. Defaults to -1. [IN]

  • T_high (Numeric, optional) – Temperature grid extension point at high temperature limit. Defaults to -1. [IN]

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