ARTS built-in documentation server
Workspace Method atm_fields_compactAddConstant
Description
Adds a constant field to atm_fields_compact.
This is handy, e.g., for nitrogen or oxygen. The constant value can
be appended or prepended as an additional field to the already
existing collection of fields. All dimensions (pressure, latitude,
longitude) are filled up, so this works for 1D, 2D, or 3D
atmospheres.
The passed *name* of the field has to be in accordance with the
tagging structure described for atm_fields_compact.
A list of condensibles can be optionally specified if the VMR of
the added species is assuming dry air. The VMR of the added species
is then scaled down by the sum of the condensibles' VMR:
VMR * (1 - VMR_sum_of_condensibles).
For Earth this should be set to ["abs_species-H2O"]
Authors: Stefan Buehler, Oliver Lemke
Synopsis
Variables
OUT+IN | atm_fields_compact | (GriddedField4) | A compact set of atmospheric fields on a common set of grids. |
GIN | name | (String) | Name of additional atmospheric field, with constant value. |
GIN | value | (Numeric) | Constant value of additional field. |
GIN | prepend | (Index, Default: 0) | 0 = Append to the end, 1 = insert at the beginning. |
GIN | condensibles | (ArrayOfString, Default: []) | List of condensibles used to scale down the VMR of the added species. |