atm_fieldRead

Workspace.atm_fieldRead(self, atm_field: pyarts3.arts.AtmField | None = None, toa: pyarts3.arts.Numeric | None = None, pressure_log_interp: pyarts3.arts.Index | None = None, missing_is_zero: pyarts3.arts.Index | None = None, load_nlte: pyarts3.arts.Index | None = None, load_isot: pyarts3.arts.Index | None = None, extrapolation: pyarts3.arts.String | None = None, default_isotopologue: pyarts3.arts.String | None = None, deal_with_field_component: pyarts3.arts.String | None = None, basename: pyarts3.arts.String | None = None, allow_missing_temperature: pyarts3.arts.Index | None = None, allow_missing_pressure: pyarts3.arts.Index | None = None) None

The standard method to read atmospheric data files from a directory

Common use case (requires having set the ENV variables, as described in the documentation):

```python ws.atm_fieldRead(

toa=100e3, basename=”planets/Earth/afgl/tropical/”, missing_is_zero=1

)

Wrapper calling Methods (in order):

  • atm_fieldInit()

  • atm_fieldAppendBaseData()

  • atm_fieldAppendAuto()

Equivalent (mostly) Python code:

1ws = pyarts.Workspace()
2
3# ...
4
5 ws.atm_fieldInit()
6 ws.atm_fieldAppendBaseData()
7 ws.atm_fieldAppendAuto()

Author: Richard Larsson

param atm_field:

An atmospheric field in ARTS, this is the main atmospheric data structure in ARTS. See atm_field, defaults to self.atm_field [OUT]

type atm_field:

~pyarts3.arts.AtmField, optional

param toa:

Top of atmosphere altitude [m]. [IN]

type toa:

~pyarts3.arts.Numeric

param pressure_log_interp:

Whether or not to use log interpolation for pressure data. Defaults to 1 [IN]

type pressure_log_interp:

~pyarts3.arts.Index, optional

param missing_is_zero:

Whether or not to zero-out missing data. Defaults to 0 [IN]

type missing_is_zero:

~pyarts3.arts.Index, optional

param load_nlte:

Whether or not to load NLTE data. Defaults to 0 [IN]

type load_nlte:

~pyarts3.arts.Index, optional

param load_isot:

Whether or not to load isotopologue data. Defaults to 0 [IN]

type load_isot:

~pyarts3.arts.Index, optional

param extrapolation:

The extrapolation to use. Defaults to "Linear" [IN]

type extrapolation:

~pyarts3.arts.String, optional

param default_isotopologue:

Default option for the isotopologue ratios. Defaults to "Builtin" [IN]

type default_isotopologue:

~pyarts3.arts.String, optional

param deal_with_field_component:

How to deal with the field component. Defaults to "Throw" [IN]

type deal_with_field_component:

~pyarts3.arts.String, optional

param basename:

The base name of the files. [IN]

type basename:

~pyarts3.arts.String

param allow_missing_temperature:

Whether or not to allow missing temperature data. Defaults to 0 [IN]

type allow_missing_temperature:

~pyarts3.arts.Index, optional

param allow_missing_pressure:

Whether or not to allow missing pressure data. Defaults to 0 [IN]

type allow_missing_pressure:

~pyarts3.arts.Index, optional