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).
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 | ||
---|---|---|---|---|---|---|
real, | intent(out) | :: | var |
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 |
air temperature (C), |
||
real, | intent(in) | :: | pmb |
surface air pressure (hPa) |