absorption_bandsReadSpeciesSplitARTSCAT

Workspace.absorption_bandsReadSpeciesSplitARTSCAT(self, absorption_bands: pyarts3.arts.AbsorptionBands | None = None, absorption_species: pyarts3.arts.ArrayOfArrayOfSpeciesTag | None = None, basename: pyarts3.arts.String | None = None, ignore_missing: pyarts3.arts.Index | None = None, pure_species: pyarts3.arts.Index | None = None) None

Same as absorption_bandsReadSpeciesSplitCatalog() but for reading the old ARTSCAT format.

One key difference is that ARTSCAT were often stored in a single file per SpeciesEnum rather than per SpeciesIsotope, so the optional argument pure_species is available and evaluates to true by default to use SpeciesEnum. Switch this off to use the SpeciesIsotope instead.

Note that ARTSCAT does not support many of the features of the modern line catalog format. This reading routine is intended for use-as-is of the produced absorption_bands. Or after minor changes, like removing absorption lines outside of some frequency span.

Author: Richard Larsson

Parameters:
  • absorption_bands (AbsorptionBands, optional) – Bands of absorption lines for line-by-line (LBL) calculations. See absorption_bands, defaults to self.absorption_bands [OUT]

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

  • basename (String) – Absolute or relative path to the directory. [IN]

  • ignore_missing (Index, optional) – Flag to ignore missing files instead of throwing an error. Defaults to 0 [IN]

  • pure_species (Index, optional) – Flag that when true uses SpeciesEnum instead of SpeciesIsotope for file names. Defaults to 1 [IN]