qsatfjh2 Subroutine

public subroutine qsatfjh2(var, CRMH2O, CRMAIR, CTETENA, CTETENB, CTETENC, tair, pmb)

Purpose

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).

Method

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.

Reference

Murray F. W., 1967

Arguments

Type IntentOptional 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)