GriddedFieldPRegrid
- Workspace.GriddedFieldPRegrid(self: pyarts.arts._Workspace, output: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfGriddedField3, pyarts.arts.GriddedField3, pyarts.arts.GriddedField4], p_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.p_grid, input: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfGriddedField3, pyarts.arts.GriddedField3, pyarts.arts.GriddedField4, object], interp_order: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = 1, zeropadding: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = 0, verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
Interpolates the input field along the pressure dimension to
p_grid
.If zero-padding is applied (zeropadding=1), pressures that are outside the
p_grid
are set to 0. This is thought, e.g., for VMR fields that outside the given pressure can safely be assumed to be zero. Note: Using zeropadding for altitude and temperature fields is strongly discouraged (it will work here, though, but likely trigger errors later on). Extrapolation is allowed within the common 0.5grid-step margin, but is overruled by zeropadding. input and output fields can be the same variable.Author(s): Oliver Lemke
- Parameters:
output (GriddedField3 or GriddedField4 or ArrayOfGriddedField3) – Regridded gridded field. [OUT]
p_grid (Vector, optional) – The pressure grid. See
p_grid
, defaults toself.p_grid
[IN]input (GriddedField3 or GriddedField4 or ArrayOfGriddedField3) – Raw input gridded field. [IN]
interp_order (Index, optional) – Interpolation order. Defaults to
1
[IN]zeropadding (Index, optional) – Apply zero-padding. Defaults to
0
[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]