ARTS built-in documentation server
Workspace Method p_gridDensify
Description
A simple way to make p_grid more dense.
The method includes new values in p_grid. For each intermediate
pressure range, *nfill* points are added. That is, setting *nfill*
to zero returns an unmodified copy of *p_grid_old*. The number of
elements of the new p_grid is (n0-1)*(1+nfill)+1, where n0 is the
length of *p_grid_old*.
The new points are distributed equidistant in log(p).
For safety, new grid and old grid Vectors are not allowed to be the
same variable (both will be needed later on for regridding of the
atmospheric fields), and atmospheric field related *checked WSV are
reset to 0 (unchecked).
Authors: Patrick Eriksson, Jana Mendrok
Synopsis
Variables
OUT | p_grid | (Vector) | The pressure grid. |
OUT | atmfields_checked | (Index) | OK-flag for atmospheric grids and (physical) fields. |
OUT | atmgeom_checked | (Index) | OK-flag for the geometry of the model atmosphere. |
OUT | cloudbox_checked | (Index) | OK-flag for variables associated with the cloudbox. |
GIN | p_grid_old | (Vector) | A copy of the current (the old) p_grid. Not allowed to be the same variable as the output p_grid. |
GIN | nfill | (Index, Default: -1) | Number of points to add between adjacent pressure points.The default value (-1) results in an error. |