ARTS built-in documentation server

Workspace Method surface_typeInterpTypeMask

Description

Closest neighbour interpolation of surface type mask.

The method determines the surface type at the position of concern
(rtp_pos) from the provided type mask (surface_type_mask).
The closest point in the mask is selected. The surface type
is set to the integer part of the value at the found point, while
surface_type_aux is set to the reminder. For example, if the
mask value at closest point is 2.23, surface_type is set to 2
surface_type_aux becomes 0.23.

The altitude in rtp_pos is ignored.

Authors: Patrick Eriksson

Synopsis

surface_typeInterpTypeMask( surface_type, surface_type_aux, atmosphere_dim, lat_grid, lat_true, lon_true, rtp_pos, surface_type_mask )

Variables

OUTsurface_type(Index)Local surface type value.
OUTsurface_type_aux(Numeric)Auxiliary variable to surface_type.
INatmosphere_dim(Index)The atmospheric dimensionality (1-3).
INlat_grid(Vector)The latitude grid.
INlat_true(Vector)Latitudinal geolocation for 1D and 2D data.
INlon_true(Vector)Longitudinal geolocation for 1D and 2D data.
INrtp_pos(Vector)Position of a radiative transfer point.
INsurface_type_mask(GriddedField2)Classification of the surface using a type coding.