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
OUT | surface_type | (Index) | Local surface type value. |
OUT | surface_type_aux | (Numeric) | Auxiliary variable to surface_type. |
IN | atmosphere_dim | (Index) | The atmospheric dimensionality (1-3). |
IN | lat_grid | (Vector) | The latitude grid. |
IN | lat_true | (Vector) | Latitudinal geolocation for 1D and 2D data. |
IN | lon_true | (Vector) | Longitudinal geolocation for 1D and 2D data. |
IN | rtp_pos | (Vector) | Position of a radiative transfer point. |
IN | surface_type_mask | (GriddedField2) | Classification of the surface using a type coding. |