This SUBROUTINE evaluates the specific humidity (water vapour mixing ratio) at saturation (in kgkg), at a given air temperature (in C) and air pressure (in hPa) for an array of size mp.
The Teten's formula for specific humidity at saturation is used,
based on the values for the mass of a mole of water,CRMH2o
,
mass of a mole of dry air Crmair
, and the Teten constants.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | mp |
size of array of land points (-) |
||
real, | intent(out) | :: | var(mp) |
specific humidity at saturation (kgkg) |
||
real, | intent(in) | :: | CRMH2O | |||
real, | intent(in) | :: | CRMAIR | |||
real, | intent(in) | :: | CTETENA | |||
real, | intent(in) | :: | CTETENB | |||
real, | intent(in) | :: | CTETENC | |||
real, | intent(in) | :: | tair(mp) |
air temperature (C) |
||
real, | intent(in) | :: | pmb(mp) |