sh_of_qv Function

public pure elemental function sh_of_qv(qv) result(sh)

Uses

  • proc~~sh_of_qv~~UsesGraph proc~sh_of_qv sh_of_qv iso_fortran_env iso_fortran_env proc~sh_of_qv->iso_fortran_env

Compute the specific humidity sh as a function of the water vapor mixing ratio qv. Essentially, . (KCW, 2025-07-21)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: qv

Return Value real(kind=real64)


Source Code

    pure elemental function sh_of_qv(qv) result(sh)
        use, intrinsic :: iso_fortran_env, only: real64

        real(real64), intent(in) :: qv
        real(real64) :: sh

        sh = qv / (1.0_real64 + qv)
    end function sh_of_qv