pnd_fieldExpand1D
- Workspace.pnd_fieldExpand1D(self: pyarts.arts._Workspace, pnd_field: pyarts.arts.WorkspaceVariable | pyarts.arts.Tensor4 | None = self.pnd_field, atmosphere_dim: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.atmosphere_dim, cloudbox_on: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.cloudbox_on, cloudbox_limits: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfIndex | None = self.cloudbox_limits, nzero: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = 1, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None
Maps a 1D pnd_field to a (homogeneous) 2D or 3D pnd_field.
This method takes a 1D
pnd_field
and converts it to a 2D or 3D “cloud”. It is assumed that a complete 1D case has been created, and after thisatmosphere_dim
,lat_grid
,lon_grid
andcloudbox_limits
have been changed to a 2D or 3D case (without changing the vertical extent of the cloudbox.No modification of
pnd_field
is made for the pressure dimension. At the latitude and longitude cloudbox edge pointspnd_field
is set to zero. This corresponds to nzero=1. If you want a larger margin between the lat and lon cloudbox edges and the “cloud” you increasenzero
, wherenzero
is the number of grid points for whichpnd_field
shall be set to 0, counted from each lat and lon edge.See further
AtmFieldsExpand1D()
.Author(s): Patrick Eriksson
- Parameters:
pnd_field (Tensor4, optional) – Particle number density field. See
pnd_field
, defaults toself.pnd_field
[INOUT]atmosphere_dim (Index, optional) – The atmospheric dimensionality (1-3). See
atmosphere_dim
, defaults toself.atmosphere_dim
[IN]cloudbox_on (Index, optional) – Flag to activate the cloud box. See
cloudbox_on
, defaults toself.cloudbox_on
[IN]cloudbox_limits (ArrayOfIndex, optional) – The limits of the cloud box. See
cloudbox_limits
, defaults toself.cloudbox_limits
[IN]nzero (Index, optional) – Number of zero values inside lat and lon limits. Defaults to
1
[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]