ARTS built-in documentation server

Workspace Method AtmFieldPerturbAtmGrids


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 done
  perturbed_field = original_field
  perturbed_field(p_index,lat_index,lon_index) *= 1*pert_size
where p_index etc. are derived from *pert_index*.

Authors: Patrick Eriksson


AtmFieldPerturbAtmGrids( perturbed_field, atmosphere_dim, p_grid, lat_grid, lon_grid, original_field, pert_index, pert_size, pert_mode )


GOUTperturbed_field(Tensor3)Perturbed/modified field.
INatmosphere_dim(Index)The atmospheric dimensionality (1-3).
INp_grid(Vector)The pressure grid.
INlat_grid(Vector)The latitude grid.
INlon_grid(Vector)The longitude grid.
GINoriginal_field(Tensor3)Original field, e.g. t_field.
GINpert_index(Index)Index of position where the perturbation shall be performed.
GINpert_size(Numeric)Size of perturbation.
GINpert_mode(String, Default: "absolute")Type of perturbation, absolute or relative.