surface_scalar_reflectivityFromGriddedField4
- Workspace.surface_scalar_reflectivityFromGriddedField4(self: pyarts.arts._Workspace, surface_scalar_reflectivity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.surface_scalar_reflectivity, stokes_dim: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.stokes_dim, f_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.f_grid, 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, lat_true: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.lat_true, lon_true: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.lon_true, rtp_pos: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.rtp_pos, rtp_los: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.rtp_los, r_field: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.GriddedField4], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
Extracts scalar surface reflectivities from a field of such data.
This method allows to specify a field of surface reflectivity for automatic interpolation to points of interest. The position and direction for which the reflectivity shall be extracted are given by
rtp_pos
andrtp_los
. The reflectivity field is expected to be stored as:GriddedField4:
Vector “Frequency” [N_f]
Vector “Incidence angle” [N_ia]
Vector “Latitude” [N_lat]
Vector “Longitude” [N_lon]
Tensor4 data[N_f][N_ia][N_lat][N_lon]
Grids for incidence angle, latitude and longitude must have a length of >= 2 (ie. no automatic expansion). If the frequency grid has length 1, this is taken as the reflectivity is constant, following the definition of
surface_scalar_reflectivity
.The interpolation is done in steps:
Linear interpolation for lat and lon (std. extrapolation).
Interpolation in incidence angle (std. extrapolation). If the grid has a length of >= 4, cubic interpolation is applied. Otherwise linear interpolation.
Linear interpolation if frequency (if input data have more than one frequency).
Author(s): Patrick Eriksson
- Parameters:
surface_scalar_reflectivity (Vector, optional) – Surface reflectivity, assuming it can be described as a scalar value. See
surface_scalar_reflectivity
, defaults toself.surface_scalar_reflectivity
[OUT]stokes_dim (Index, optional) – The dimensionality of the Stokes vector (1-4). See
stokes_dim
, defaults toself.stokes_dim
[IN]f_grid (Vector, optional) – The frequency grid for monochromatic pencil beam calculations. See
f_grid
, defaults toself.f_grid
[IN]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]lat_true (Vector, optional) – Latitudinal geolocation for 1D and 2D data. See
lat_true
, defaults toself.lat_true
[IN]lon_true (Vector, optional) – Longitudinal geolocation for 1D and 2D data. See
lon_true
, defaults toself.lon_true
[IN]rtp_pos (Vector, optional) – Position of a radiative transfer point. See
rtp_pos
, defaults toself.rtp_pos
[IN]rtp_los (Vector, optional) – Line-of-sight at a radiative transfer point. See
rtp_los
, defaults toself.rtp_los
[IN]r_field (GriddedField4) – A field of scalar surface reflectivities. [IN]
verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]