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

Subroutine that computes Theta-E. More...

Go to the source code of this file.

Functions/Subroutines

subroutine calthte (p1d, t1d, q1d, thte)
 Subroutine that computes Theta-E.
 

Detailed Description

Subroutine that computes Theta-E.

This routine computes the equivalent potential temperature given pressure, temperature, and specific humidity. The equations of Bolton (MWR,1980) are used.

Parameters
[in]P1Dpressure (Pa).
[in]T1Dtemperature (K).
[in]Q1Dspecific humidity(kg/kg).
[out]THTETheta-E (K).

Program history log:

Date Programmer Comments
1993-06-18 Russ Treadon Initial
1998-06-16 T Black Convesion from 1-D to 2-D
2000-01-04 Jim Tuccillo MPI Version
2021-07-28 W Meng Restrict computation from undefined grids
2021-09-02 Bo Cui Decompose UPP in X direction
Author
Russ Treadon W/NP2
Date
1993-06-18

Definition in file CALTHTE.f.

Function/Subroutine Documentation

◆ calthte()

subroutine calthte ( real, dimension(ista:iend,jsta:jend), intent(in)  p1d,
real, dimension(ista:iend,jsta:jend), intent(in)  t1d,
real, dimension(ista:iend,jsta:jend), intent(in)  q1d,
real, dimension(ista:iend,jsta:jend), intent(inout)  thte 
)

Subroutine that computes Theta-E.

Parameters
[in]P1Dpressure (Pa).
[in]T1Dtemperature (K).
[in]Q1Dspecific humidity(kg/kg).
[out]THTETheta-E (K).

Definition at line 31 of file CALTHTE.f.

Referenced by miscln().