UPP (develop)
Loading...
Searching...
No Matches
WETFRZLVL.f File Reference

wetfrzlvl() computes level of 0 wet bulb. More...

Go to the source code of this file.

Functions/Subroutines

subroutine wetfrzlvl (twet, zwet)
 This routine computes the lowest height with a wet bulb temperature of freezing for each mass point on the eta grid.
 

Detailed Description

wetfrzlvl() computes level of 0 wet bulb.

Author
Geoff Manikin W/NP2
Date
2003-11-14

Definition in file WETFRZLVL.f.

Function/Subroutine Documentation

◆ wetfrzlvl()

subroutine wetfrzlvl ( real, dimension(ista_2l:iend_2u,jsta_2l:jend_2u,lm), intent(in)  twet,
real, dimension(ista:iend,jsta:jend), intent(out)  zwet 
)

This routine computes the lowest height with a wet bulb temperature of freezing for each mass point on the eta grid.


The computed wet bulb zero height is the mean sea level height. At each mass point we move up from the surface to find the first eta layer where the tw is less than 273.16K. Vertical interpolation in temperature to the freezing temperature gives the freezing level height. Pressure and specific humidity are interpolated to this level and along with the temperature provide the freezing level relative humidity. If the surface (skin) temperature is below freezing, the routine uses surface based fields to compute the relative humidity.

Parameters
[in]TWETWet bulb temperatures.
[out]ZWETAbove ground level height of level with 0 wet bulb.

Program history log:

Date Programmer Comments
2003-11-14 Geoff Manikin Initial
2004-12-06 Geoff Manikin Corrected computation of SFC temperature
2005-03-11 H CHUANG WRF Version
2021-07-26 W Meng Restrict computation from undefined grids
2021-09-13 J Meng 2D DECOMPOSITION
Author
Geoff Manikin W/NP2
Date
2003-11-14

Definition at line 31 of file WETFRZLVL.f.