ARTS built-in documentation server
Workspace Method atmgeom_checkedCalc
Description
Checks consistency of geometric considerations of the atmosphere.
The following WSVs are checked: z_field, refellipsoid, z_surface,
lat_true and lon_true. If any of the variables above is changed,
then this method shall be called again (no automatic check that this is
fulfilled!).
The tests include that:
1. refellipsoid has correct size, and that eccentricity is
set to zero if 1D atmosphere.
2. z_field and z_surface have sizes consistent with the
atmospheric grids.
3. There is no gap between z_surface and z_field.
4. A rough search of maximum gradient of the altitude of the pressure
level closest to 500 hPa is made. If this value exceeds the GIN
``max500hpa_gradient`` an error is issued. Please note that the unit
of this GIN is m per 100km. For normal conditions on Earth, large
scale gradients of the 500 hPa level is in the order of 20m/100km.
lat_true and lon_true are allowed to be empty.
If any test fails, there is an error. Otherwise, atmgeom_checked
is set to 1.
See further atmgeom_checkedCalc.
Authors: Patrick Eriksson
Synopsis
atmgeom_checkedCalc( | atmgeom_checked, atmosphere_dim, p_grid, lat_grid, lon_grid, z_field, refellipsoid, z_surface, lat_true, lon_true, max500hpa_gradient ) |
Variables