ARTS built-in documentation server
Workspace Method vmr_fieldSetRh
Description
Sets the first H2O species to have a constant relative humidity (RH). The water vapour saturation pressure is obtained by water_p_eq_agenda and the setytings in this agenda determines if the RH is e.g. defined with respect to liquid, or a combination of liquid and ice. Only the first H2O species is modified. The default value of *vmr_threshold* aims at avoiding changing VMRs above the tropopause.
Authors: Patrick Eriksson
Synopsis
vmr_fieldSetRh( | vmr_field, abs_species, t_field, p_grid, water_p_eq_agenda, rh, vmr_threshold ) |
Variables
OUT+IN | vmr_field | (Tensor4) | VMR field. |
IN | abs_species | (ArrayOfArrayOfSpeciesTag) | Tag groups for gas absorption. |
IN | t_field | (Tensor3) | The field of atmospheric temperatures. |
IN | p_grid | (Vector) | The pressure grid. |
IN | water_p_eq_agenda | (Agenda) | Agenda to calculate the saturation pressure of water. |
GIN | rh | (Numeric, Default: 1.0) | Relative humidity to set. |
GIN | vmr_threshold | (Numeric, Default: 15.0e-6) | Don't change H2O VMR values below this value. |