Compute the modified moist temperature tm
as a function of the virtual temperature tv
and
the water vapor mixing ratio qv
.
Essentially, . This modified "moist" temperature is described herein:
The paragraph below equation 2.7 in doi:10.5065/1DFH-6P97.
The paragraph below equation 2 in doi:10.1175/MWR-D-11-00215.1.
Similarly, it can be shown that the relation, , also holds.
(KCW, 2025-07-11)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | tv | |||
real(kind=real64), | intent(in) | :: | qv |
pure elemental function tm_of_tv_qv(tv, qv) result(tm) use, intrinsic :: iso_fortran_env, only: real64 real(real64), intent(in) :: tv, qv real(real64) :: tm tm = tv * (1.0_real64 + qv) end function tm_of_tv_qv