ARTS built-in documentation server

Workspace Method AtmFieldsRefinePgrid

Description

Refine the pressure grid in the atmospheric fields.

This method is used for absorption lookup table testing. It probably
has no other application.

It adds additional vertical grid points to the atmospheric fields, by
interpolating them in the usual ARTS way (linear in log pressure).

How fine the new grid will be is determined by the keyword parameter
p_step. The definition of p_step, and the interpolation behavior, is
consistent with abs_lookupSetup and abs_lookupSetupBatch. (New
points are added between the original ones, so that the spacing is
always below p_step.)

Authors: Stefan Buehler

Synopsis

AtmFieldsRefinePgrid( p_grid, t_field, z_field, vmr_field, lat_grid, lon_grid, atmosphere_dim, p_step )

Variables

OUT+INp_grid(Vector)The pressure grid.
OUT+INt_field(Tensor3)The field of atmospheric temperatures.
OUT+INz_field(Tensor3)The field of geometrical altitudes.
OUT+INvmr_field(Tensor4)VMR field.
INlat_grid(Vector)The latitude grid.
INlon_grid(Vector)The longitude grid.
INatmosphere_dim(Index)The atmospheric dimensionality (1-3).
GINp_step(Numeric)Maximum step in log(p[Pa]) (natural logarithm, as always). If the pressure grid is coarser than this, additional points are added until each log step is smaller than this.