repo.or.cz
/
WRF.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated top-level README and version_decl for V4.5 (#1847)
[WRF.git]
/
chem
/
KPP
/
inc
/
mozcart
/
kpp_mechd_ibu_mozcart.inc
blob
10c7aeb9eaa20ea428a184ca3c1bdb63b2207fee
1
!
2
! calculate relative humidity
3
!
4
5
es = 1000._dp*0.6112_dp*exp(17.67_dp*(t_phy(i,k,j)-273.15_dp)/(t_phy(i,k,j)- 29.65_dp))
6
qvs = es / ( p_phy(i,k,j) - es )
7
8
9
rh = moist(i,k,j,P_QV) / qvs
10
rh = MIN ( MAX ( rh, 0._dp), 1._dp)
11