npagesGet

Workspace.npagesGet(self: pyarts.arts._Workspace, npages: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.npages, v: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Tensor3, pyarts.arts.Tensor4, pyarts.arts.Tensor5, pyarts.arts.Tensor6, pyarts.arts.Tensor7], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Retrieve npages from given variable and store the value in the workspace variable npages

Author(s): Oliver Lemke

Parameters:
  • npages (Index, optional) – Number of elements in 3rd lowest dimension of a Tensor. See npages, defaults to self.npages [OUT]

  • v (Tensor3 or Tensor4 or Tensor5 or Tensor6 or Tensor7) – Variable to get the number of pages from. [IN]

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