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.

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 )

Variables

OUTatmgeom_checked(Index)OK-flag for the geometry of the model atmosphere.
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.
INz_field(Tensor3)The field of geometrical altitudes.
INrefellipsoid(Vector)Reference ellipsoid.
INz_surface(Matrix)The surface altitude.
INlat_true(Vector)Latitudinal geolocation for 1D and 2D data.
INlon_true(Vector)Longitudinal geolocation for 1D and 2D data.