atmospheric_fieldAppendPredefSpeciesData

Workspace.atmospheric_fieldAppendPredefSpeciesData(self, atmospheric_field: pyarts.arts.AtmField | None = None, absorption_predefined_model_data: pyarts.arts.PredefinedModelData | None = None, basename: pyarts.arts.String | None = None, extrapolation: pyarts.arts.String | None = None, missing_is_zero: pyarts.arts.Index | None = None, replace_existing: pyarts.arts.Index | None = None) None

Append species data to the atmospheric field based on predefined model data

This will look at the valid basename for files matching base data. The base data file names are of the short-name form: “species.xml” (e.g., “H2O.xml”). See SpeciesEnum for valid short names.

See InterpolationExtrapolation for valid extrapolation.

The missing_is_zero sets missing data to zero.

The replace_existing is used to determine if the data should be replaced if it already exists in the atmospheric field.

Author(s): Richard Larsson

Parameters:
  • atmospheric_field (AtmField, optional) – An atmospheric field in ARTS. See atmospheric_field, defaults to self.atmospheric_field [INOUT]

  • absorption_predefined_model_data (PredefinedModelData, optional) – This contains predefined model data. See absorption_predefined_model_data, defaults to self.absorption_predefined_model_data [IN]

  • basename (String) – The base name of the files. [IN]

  • extrapolation (String, optional) – The extrapolation to use. Defaults to "Linear" [IN]

  • missing_is_zero (Index, optional) – Whether or not to zero-out missing data. Defaults to 0 [IN]

  • replace_existing (Index, optional) – Whether or not to replace existing data. Defaults to 0 [IN]