qsatfjh Subroutine

public subroutine qsatfjh(mp, 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) for an array of size mp.

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