ARTS built-in documentation server

Workspace Method cloudboxSetManually

Description

Sets the cloud box to encompass the given positions.

The function sets cloudbox_on to 1 and sets cloudbox_limits
following the given pressure, latitude and longitude positions.
The index limits in cloudbox_limits are selected to give the
smallest possible cloud box that encompass the given points.

The points must be given in the same order as used in
cloudbox_limits. That means that the first keyword argument
shall be a higher pressure than argument two, while the latitude
and longitude points are given in increasing order. Positions
given for dimensions not used by the selected atmospheric
dimensionality are ignored.

The given pressure points can be outside the range of p_grid.
The pressure limit is then set to the end point of p_grid.
The given latitude and longitude points must be inside the range
of the corresponding grid. In addition, the latitude and longitude
points cannot be inside the outermost grid ranges as the latitude
and longitude limits in cloudbox_limits are not allowed to be
grid end points.

Authors: Patrick Eriksson

Synopsis

cloudboxSetManually( cloudbox_on, cloudbox_limits, atmosphere_dim, p_grid, lat_grid, lon_grid, p1, p2, lat1, lat2, lon1, lon2 )

Variables

OUTcloudbox_on(Index)Flag to activate the cloud box.
OUTcloudbox_limits(ArrayOfIndex)The limits of the cloud box.
INatmosphere_dim(Index)The atmospheric dimensionality (1-3).
INp_grid(Vector)The pressure grid.
INlat_grid(Vector)The latitude grid.
INlon_grid(Vector)The longitude grid.
GINp1(Numeric)Upper pressure point.
GINp2(Numeric)Lower pressure point.
GINlat1(Numeric)Lower latitude point.
GINlat2(Numeric)Upper latitude point.
GINlon1(Numeric)Lower longitude point.
GINlon2(Numeric)Upper longitude point.