AtmFieldPerturbAtmGrids
- Workspace.AtmFieldPerturbAtmGrids(self: pyarts.arts._Workspace, perturbed_field: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Tensor3], atmosphere_dim: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.atmosphere_dim, p_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.p_grid, 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, original_field: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Tensor3], pert_index: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index], pert_size: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], pert_mode: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.String]] = "absolute", verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
As
AtmFieldPerturb()
, but perturbation follows the atmospheric grids.The method effectively performs this
perturbed_field = original_field
perturbed_field(p_index,lat_index,lon_index) += pert_size
if not
pert_mode
is set to relative when this is doneperturbed_field = original_field
perturbed_field(p_index,lat_index,lon_index) *= 1 * pert_size
where p_index etc. are derived from
pert_index
.Author(s): Patrick Eriksson
- Parameters:
perturbed_field (Tensor3) – Perturbed/modified field. [OUT]
atmosphere_dim (Index, optional) – The atmospheric dimensionality (1-3). See
atmosphere_dim
, defaults toself.atmosphere_dim
[IN]p_grid (Vector, optional) – The pressure grid. See
p_grid
, defaults toself.p_grid
[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]original_field (Tensor3) – Original field, e.g.
t_field
. [IN]pert_index (Index) – Index of position where the perturbation shall be performed. [IN]
pert_size (Numeric) – Size of perturbation. [IN]
pert_mode (String, optional) – Type of perturbation, absolute or relative. Defaults to
"absolute"
[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]