ScatSpeciesPndAndScatAdd

Workspace.ScatSpeciesPndAndScatAdd(self: pyarts.arts._Workspace, scat_data_raw: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfArrayOfSingleScatteringData]] = self.scat_data_raw, pnd_field_raw: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfGriddedField3]] = self.pnd_field_raw, atmosphere_dim: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.atmosphere_dim, scat_data_files: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfString], pnd_fieldarray_file: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.String], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Adds single scattering data and particle number densities for one scattering species.

The WSV pnd_field_raw containing particle number densities for all scattering species can be generated outside ARTS, for example by using PyARTS or atmlab. This method reads this data as well as its corresponding single scattering data, which is added as a new scattering species to scat_data. This method needs as input an ArrayOfString holding the filenames of the single scattering data for each scattering element and a file containing the corresponding pnd_field_raw. In contrast to the scattering data, the pnd-fields are stored in a single XML-file containing an ArrayofGriddedField3, i.e. holding the pnd-field data of all scattering elements.

Important note: The order of the filenames for the scattering data files has to correspond to the order of the pnd-fields, stored in the variable pnd_field_raw.

Author(s): Claudia Emde, 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]

  • pnd_field_raw (ArrayOfGriddedField3, optional) – The particle number density field raw data. See pnd_field_raw, defaults to self.pnd_field_raw [INOUT]

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

  • scat_data_files (ArrayOfString) – Array of names of files containing the single scattering data. [IN]

  • pnd_fieldarray_file (String) – Name of file holding the corresponding array of pnd_field data. [IN]

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