ARTS built-in documentation server

Workspace Method z_fieldFromHSE


Force altitudes to fulfil hydrostatic equilibrium.

The method applies hydrostatic equilibrium. A mixture of "dry
air" and water vapour (if present as abs_species tag) is assumed.
That is, the air is assumed to be well mixed and its weight, apart
from the water vapour, is constant (molarmass_dry_air). In
addition, the effect of any particles (including liquid and ice
particles) is neglected.

The output is an update of z_field. This variable is expected to
contain approximative altitudes when calling the function. The
altitude matching p_hse is kept constant. Other input altitudes can
basically be arbitrary, but good estimates give quicker calculations.

The calculations are repeated until the change in altitude is below
z_hse_accuracy. An iterative process is needed as gravity varies
with altitude.

For 1D and 2D, the geographical position is taken from lat_true
and lon_true.

Authors: Patrick Eriksson


z_fieldFromHSE( z_field, atmosphere_dim, p_grid, lat_grid, lon_grid, lat_true, lon_true, abs_species, t_field, vmr_field, refellipsoid, z_surface, atmfields_checked, g0_agenda, molarmass_dry_air, p_hse, z_hse_accuracy )


OUT+INz_field(Tensor3)The field of geometrical altitudes.
INatmosphere_dim(Index)The atmospheric dimensionality (1-3).
INp_grid(Vector)The pressure grid.
INlat_grid(Vector)The latitude grid.
INlon_grid(Vector)The longitude grid.
INlat_true(Vector)Latitudinal geolocation for 1D and 2D data.
INlon_true(Vector)Longitudinal geolocation for 1D and 2D data.
INabs_species(ArrayOfArrayOfSpeciesTag)Tag groups for gas absorption.
INt_field(Tensor3)The field of atmospheric temperatures.
INvmr_field(Tensor4)VMR field.
INrefellipsoid(Vector)Reference ellipsoid.
INz_surface(Matrix)The surface altitude.
INatmfields_checked(Index)OK-flag for atmospheric grids and (physical) fields.
INg0_agenda(Agenda)Agenda providing the gravity constant.
INmolarmass_dry_air(Numeric)The average molar mass of dry air.
INp_hse(Numeric)Reference pressure calculation of hydrostatic equilibrium.
INz_hse_accuracy(Numeric)Minimum accuracy for calculation of hydrostatic equilibrium.