InterpSurfaceFieldToPosition
- Workspace.InterpSurfaceFieldToPosition(self: pyarts.arts._Workspace, output: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], atmosphere_dim: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.atmosphere_dim, lat_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.lat_grid, lon_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.lon_grid, rtp_pos: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.rtp_pos, z_surface: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Matrix]] = self.z_surface, field: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Matrix], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
Point interpolation of surface fields.
The default way to specify the position is by
rtp_pos
.Linear interpolation is applied.
The interpolation is done for the latitude and longitude in
rtp_pos
, while the altitude inrtp_pos
is not part of the calculations. However, it is checked that the altitude ofrtp_pos
is inside the range covered byz_surface
with a 1 m margin, to give a warning when the specified position is not consistent with the surface altitudes.Author(s): Patrick Eriksson
- Parameters:
output (Numeric) – Value obtained by interpolation. [OUT]
atmosphere_dim (Index, optional) – The atmospheric dimensionality (1-3). See
atmosphere_dim
, defaults toself.atmosphere_dim
[IN]lat_grid (Vector, optional) – The latitude grid. See
lat_grid
, defaults toself.lat_grid
[IN]lon_grid (Vector, optional) – The longitude grid. See
lon_grid
, defaults toself.lon_grid
[IN]rtp_pos (Vector, optional) – Position of a radiative transfer point. See
rtp_pos
, defaults toself.rtp_pos
[IN]z_surface (Matrix, optional) – The surface altitude. See
z_surface
, defaults toself.z_surface
[IN]field (Matrix) – Field to interpolate. [IN]
verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]