atmospheric_fieldAppendXsecSpeciesData

Workspace.atmospheric_fieldAppendXsecSpeciesData(self, atmospheric_field: pyarts.arts.AtmField | None = None, absorption_xsec_fit_data: pyarts.arts.ArrayOfXsecRecord | 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 cross-section 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_xsec_fit_data (ArrayOfXsecRecord, optional) – Fitting model coefficients for cross section species. See absorption_xsec_fit_data, defaults to self.absorption_xsec_fit_data [IN]

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

  • extrapolation (String, optional) – , optionalThe extrapolation to use. [IN]

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

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