ScatSpeciesScatAndMetaRead
- Workspace.ScatSpeciesScatAndMetaRead(self: pyarts.arts._Workspace, scat_data_raw: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfArrayOfSingleScatteringData]] = self.scat_data_raw, scat_meta: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfArrayOfScatteringMetaData]] = self.scat_meta, scat_data_files: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfString], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
Reads single scattering data and scattering meta data for one scattering species.
This method takes a string array as input containing the location (path and filename) of the single scattering data. Location of corresponding scattering meta data is derived applying a naming convention: ending ‘.xml*’ is replaced by ‘.meta.xml’ (search for zipped files is done automatically).
All scattering elements read in one call of the method are assigned to one and the same scattering species. That is, reading in data for a bunch of scattering species can be realized by multiple call of this method. Assignment to scattering species is in the order of the calls (i.e., first method call reads data for first
scat_species
entry, second call for second scat_species entry and so on). Note that no two scattering elements of the same scattering species are allowed to be equal in size*Important note: The order of the filenames for the single scattering data files has to exactly correspond to the order of the scattering meta data files.
Author(s): Daniel Kreyling, Oliver Lemke, Jana Mendrok
- Parameters:
scat_data_raw (ArrayOfArrayOfSingleScatteringData, optional) – Array of raw single scattering data. See
scat_data_raw
, defaults toself.scat_data_raw
[INOUT]scat_meta (ArrayOfArrayOfScatteringMetaData, optional) – An Array of scattering meta data (
scat_meta_single
). Seescat_meta
, defaults toself.scat_meta
[INOUT]scat_data_files (ArrayOfString) – Array of single scattering data file names. [IN]
verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]