atm_fieldAppendBaseData
- Workspace.atm_fieldAppendBaseData(self, atm_field: AtmField = self.atm_field, basename: String, extrapolation: String = Linear, deal_with_field_component: String = Throw, replace_existing: Index = 1, allow_missing_pressure: Index = 0, allow_missing_temperature: Index = 0, pressure_log_interp: Index = 1) None
Append base data to the atmospheric field
This will look at the valid
basenamefor files matching base data. The base data file names are of the form“<…>t.xml”
“<…>p.xml”
“<…>wind_u.xml”
“<…>wind_v.xml”
“<…>wind_w.xml”
“<…>mag_u.xml”
“<…>mag_v.xml”
“<…>mag_w.xml”
If any of these files are found, they are appended to the atmospheric field.
See
InterpolationExtrapolationfor validextrapolation.See
MissingFieldComponentErrorfor validdeal_with_field_component.The
replace_existingis used to determine if the data should be replaced if it already exists in the atmospheric field.The
allow_missing_pressureandallow_missing_temperatureare used to determine if the method should throw if the pressure or temperature is missing.Author: Richard Larsson
Used by wrapper method
- Parameters:
atm_field (~pyarts3.arts.AtmField, optional) – An atmospheric field in ARTS, this is the main atmospheric data structure in ARTS. Defaults to
self.atm_field. [INOUT]basename (String) – The base name of the files. [IN]
extrapolation (~pyarts3.arts.String, optional) – The extrapolation to use. Defaults to
"Linear"[IN]deal_with_field_component (~pyarts3.arts.String, optional) – How to deal with the field component. Defaults to
"Throw"[IN]replace_existing (~pyarts3.arts.Index, optional) – Whether or not to replace existing data. Defaults to
1[IN]allow_missing_pressure (~pyarts3.arts.Index, optional) – Whether or not to allow missing pressure data. Defaults to
0[IN]allow_missing_temperature (~pyarts3.arts.Index, optional) – Whether or not to allow missing temperature data. Defaults to
0[IN]pressure_log_interp (~pyarts3.arts.Index, optional) – Whether or not to use log interpolation for pressure data. Defaults to
1[IN]