abs_predef_dataReadSpeciesSplitCatalog

Workspace.abs_predef_dataReadSpeciesSplitCatalog(self, abs_predef_data: PredefinedModelData = self.abs_predef_data, abs_species: ArrayOfSpeciesTag = self.abs_species, basename: String, name_missing: Index = 1, ignore_missing: Index = 0) → None

Reads abs_predef_data catalog but only for abs_species

The file names are expected to be of the form:

<basename><Spec>-<Model>.xml

where <Spec> is the SpeciesEnum names of the species and <Model> is the model name. See abs_speciesSet() for more information on how to define a species with a predefined model.

If name_missing is true, missing models are set to named model, which is the most common form of a predefined model.

Tip

A common and perhaps more convenient alternative to this method is ReadCatalogData().

If you have downloaded the ARTS catalog data - arts-cat-data - and set the environment variable ARTS_DATA_PATH to point to the location of this data, you can use that method to automagically read the data more easily than calling this method directly.

Author: Richard Larsson

Parameters:
  • abs_predef_data (~pyarts3.arts.PredefinedModelData, optional) – This contains predefined model data. Defaults to self.abs_predef_data. [OUT]

  • abs_species (~pyarts3.arts.ArrayOfSpeciesTag, optional) – Tag groups for gas absorption. Defaults to self.abs_species. [IN]

  • basename (String) – The path to the split catalog files. [IN]

  • name_missing (~pyarts3.arts.Index, optional) – Flag to name models that are missing. Defaults to 1 [IN]

  • ignore_missing (~pyarts3.arts.Index, optional) – Flag to otherwise (if not name_missing is true) ignore missing models. Defaults to 0 [IN]