p_gridRefine

Workspace.p_gridRefine(self: pyarts.arts._Workspace, p_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.p_grid, atmfields_checked: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.atmfields_checked, atmgeom_checked: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.atmgeom_checked, cloudbox_checked: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.cloudbox_checked, p_grid_old: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector], p_step: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Provides refined pressure grid.

Created new pressure grid has (log10) spacings below a given threshold.

For safety, new grid and old grid Vectors are not allowed to be the same variable (both will be needed later on for regridding of the atmospheric fields), and atmospheric field related ..._checked WSV are reset to 0 (unchecked).

Author(s): Stefan Buehler, Jana Mendrok

Parameters:
  • p_grid (Vector, optional) – The pressure grid. See p_grid, defaults to self.p_grid [OUT]

  • atmfields_checked (Index, optional) – OK-flag for atmospheric grids and (physical) fields. See atmfields_checked, defaults to self.atmfields_checked [OUT]

  • atmgeom_checked (Index, optional) – OK-flag for the geometry of the model atmosphere. See atmgeom_checked, defaults to self.atmgeom_checked [OUT]

  • cloudbox_checked (Index, optional) – OK-flag for variables associated with the cloudbox. See cloudbox_checked, defaults to self.cloudbox_checked [OUT]

  • p_grid_old (Vector) – A copy of the current (the old) p_grid. Not allowed to be the same variable as the output p_grid. [IN]

  • p_step (Numeric) – Maximum step in log10(p[Pa]). If the pressure grid is coarser than this, additional points are added until each log step is smaller than this. [IN]

  • verbosity (Verbosity) – ARTS verbosity. See verbosity, defaults to self.verbosity [IN]