atm_fieldAppendXsecSpeciesData

Workspace.atm_fieldAppendXsecSpeciesData(self, atm_field: pyarts3.arts.AtmField | None = None, abs_xfit_data: pyarts3.arts.ArrayOfXsecRecord | None = None, basename: pyarts3.arts.String | None = None, extrapolation: pyarts3.arts.String | None = None, missing_is_zero: pyarts3.arts.Index | None = None, replace_existing: pyarts3.arts.Index | None = None) None

Append species data to the atmospheric field based on absorption cross-section fit 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: Richard Larsson

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

  • abs_xfit_data (ArrayOfXsecRecord, optional) – Fitting model coefficients for cross section species. See abs_xfit_data, defaults to self.abs_xfit_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]