cloudbox_fieldCrop

Workspace.cloudbox_fieldCrop(self: pyarts.arts._Workspace, cloudbox_field: pyarts.arts.WorkspaceVariable | pyarts.arts.Tensor7 | None = self.cloudbox_field, cloudbox_limits: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfIndex | None = self.cloudbox_limits, atmosphere_dim: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.atmosphere_dim, cloudbox_on: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.cloudbox_on, new_limit0: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = 0, new_limit1: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = 0, new_limit2: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = 0, new_limit3: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = 0, new_limit4: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = 0, new_limit5: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = 0, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Extracts a part of an existing cloudbox_field.

The cropping is defined by defining new cloudbox limits. Note that new_limit0 is an index with respect to p_grid, etc.

The following must be valid:
  • new_limit0 >= cloudbox_limits[0]

  • new_limit1 <= cloudbox_limits[1]

  • new_limit2 >= cloudbox_limits[2]

  • new_limit3 <= cloudbox_limits[3]

  • new_limit4 >= cloudbox_limits[4]

  • new_limit5 <= cloudbox_limits[5]

Indexes for dimensions not used are ignored.

Author(s): Patrick Eriksson

Parameters:
  • cloudbox_field (Tensor7, optional) – The spectral radiance field inside the cloudbx. See cloudbox_field, defaults to self.cloudbox_field [INOUT]

  • cloudbox_limits (ArrayOfIndex, optional) – The limits of the cloud box. See cloudbox_limits, defaults to self.cloudbox_limits [INOUT]

  • atmosphere_dim (Index, optional) – The atmospheric dimensionality (1-3). See atmosphere_dim, defaults to self.atmosphere_dim [IN]

  • cloudbox_on (Index, optional) – Flag to activate the cloud box. See cloudbox_on, defaults to self.cloudbox_on [IN]

  • new_limit0 (Index, optional) – New value for cloudbox_limits[0]. Defaults to 0 [IN]

  • new_limit1 (Index, optional) – New value for cloudbox_limits[1]. Defaults to 0 [IN]

  • new_limit2 (Index, optional) – New value for cloudbox_limits[2]. Defaults to 0 [IN]

  • new_limit3 (Index, optional) – New value for cloudbox_limits[3]. Defaults to 0 [IN]

  • new_limit4 (Index, optional) – New value for cloudbox_limits[4]. Defaults to 0 [IN]

  • new_limit5 (Index, optional) – New value for cloudbox_limits[5]. Defaults to 0 [IN]

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