UPP  11.0.0
 All Data Structures Files Functions Variables Pages
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. More...
 

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

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