atmospheric_fieldHydrostaticPressure
- Workspace.atmospheric_fieldHydrostaticPressure(self, atmospheric_field: pyarts3.arts.AtmField | None = None, gravity_operator: pyarts3.arts.NumericTernaryOperator | None = None, altitude_grid: pyarts3.arts.AscendingGrid | None = None, p0: pyarts3.arts.GeodeticField2 | pyarts3.arts.Numeric | None = None, fixed_specific_gas_constant: pyarts3.arts.Numeric | None = None, fixed_atmospheric_temperature: pyarts3.arts.Numeric | None = None, hydrostatic_option: pyarts3.arts.String | None = None) None
Add the hydrostatic pressure to the atmospheric field
The field must already be able to compute temperature as a function of altitude, latitude, and longitude.
If a positive
fixed_specific_gas_constantis not provided, the field must also consist of correct volume mixing ratios so that the mass of an average molecule can be computed.The first altitude in
altitude_gridis used as the altitude of thep0grid. The extrapolation outside of this range simply uses the formalism of the selecthydrostatic_option.Note
The gradient changes only at the grid points of the
altitude_grid. Please make it dense enough to avoid missing features. A recommendation is to extract thealtitude_griddirectly from the temperature field.Also be aware that missing VMRs for important species, e.g., \(\textrm{N}_2\) or \(\textrm{O}_2\), will lead to incorrect results. The mean molecular mass need these VMRs, so if the VMRs are missing, the pressure will not be correct either.
Author: Richard Larsson
- Parameters:
atmospheric_field (AtmField, optional) – An atmospheric field in ARTS. See
atmospheric_field, defaults toself.atmospheric_field[INOUT]gravity_operator (NumericTernaryOperator, optional) – The gravity operator. See
gravity_operator, defaults toself.gravity_operator[IN]altitude_grid (AscendingGrid, optional) – An ascending list of
altitude. Often related to a field or a profile. Seealtitude_grid, defaults toself.altitude_grid[IN]p0 (GeodeticField2,Numeric) – Lowest altitude pressure field. \(P_0\) above. [IN]
fixed_specific_gas_constant (Numeric, optional) – Specific gas constant if larger than 0. Defaults to
-1[IN]fixed_atmospheric_temperature (Numeric, optional) – Constant atmospheric temprature if larger than 0. Defaults to
-1[IN]hydrostatic_option (String, optional) – Computational option for levels. See
HydrostaticPressureOptionfor valid options. Defaults to"HydrostaticEquation"[IN]