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: