26 use params_mod,
only: eps, oneps, d001, h1m12
27 use ctlblk_mod,
only: jsta, jend, im, spval, ista, iend
33 REAL,
dimension(ista:iend,jsta:jend),
intent(in) :: P1D,Q1D,T1D
34 REAL,
dimension(ista:iend,jsta:jend),
intent(inout) :: TDWP
36 REAL EVP(ista:iend,jsta:jend)
47 IF(p1d(i,j)<spval .and. q1d(i,j)<spval)
THEN
48 evp(i,j) = p1d(i,j)*q1d(i,j)/(eps+oneps*q1d(i,j))
49 evp(i,j) = max(h1m12,evp(i,j)*d001)
65 tdwp(i,j) = min(tdwp(i,j),t1d(i,j))
subroutine caldwp(p1d, q1d, tdwp, t1d)
Computes dewpoint from P, T, and Q.