nshelvesGet

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

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

Author(s): Oliver Lemke

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

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

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