11 |
|
|
12 |
use coefcdrag_m, only: coefcdrag |
use coefcdrag_m, only: coefcdrag |
13 |
USE suphec_m, ONLY: rg, rkappa |
USE suphec_m, ONLY: rg, rkappa |
14 |
|
use screenp_m, only: screenp |
15 |
|
|
16 |
! Objet : calcul de la température et de l'humidité relative à 2 m |
! Objet : calcul de la température et de l'humidité relative à 2 m |
17 |
! et du module du vent à 10 m à partir des relations de |
! et du module du vent à 10 m à partir des relations de |
91 |
LOGICAL okri |
LOGICAL okri |
92 |
REAL, dimension(klon):: u_zref_p, temp_p, q_zref_p |
REAL, dimension(klon):: u_zref_p, temp_p, q_zref_p |
93 |
!convertgence |
!convertgence |
|
REAL, dimension(klon):: te_zref_con, q_zref_con |
|
94 |
REAL, dimension(klon):: u_zref_c, temp_c, q_zref_c |
REAL, dimension(klon):: u_zref_c, temp_c, q_zref_c |
95 |
REAL, dimension(klon):: ok_pred, ok_corr |
REAL, dimension(klon):: ok_pred, ok_corr |
96 |
|
|
124 |
|
|
125 |
! First aproximation of variables at zref |
! First aproximation of variables at zref |
126 |
zref = 2.0 |
zref = 2.0 |
127 |
CALL screenp(klon, knon, nsrf, speed, tpot, q1, & |
CALL screenp(klon, knon, speed, tpot, q1, & |
128 |
ts1, qsurf, rugos, lmon, & |
ts1, qsurf, rugos, lmon, & |
129 |
ustar, testar, qstar, zref, & |
ustar, testar, qstar, zref, & |
130 |
delu, delte, delq) |
delu, delte, delq) |
157 |
! return to normal temperature |
! return to normal temperature |
158 |
|
|
159 |
temp(i) = te_zref(i) * (psol(i)/pref(i))**(-RKAPPA) |
temp(i) = te_zref(i) * (psol(i)/pref(i))**(-RKAPPA) |
|
|
|
|
IF(n == ncon) THEN |
|
|
te_zref_con(i) = te_zref(i) |
|
|
q_zref_con(i) = q_zref(i) |
|
|
ENDIF |
|
160 |
ENDDO |
ENDDO |
161 |
ENDDO |
ENDDO |
162 |
|
|
176 |
! First aproximation of variables at zref |
! First aproximation of variables at zref |
177 |
|
|
178 |
zref = 10.0 |
zref = 10.0 |
179 |
CALL screenp(klon, knon, nsrf, speed, tpot, q1, & |
CALL screenp(klon, knon, speed, tpot, q1, & |
180 |
ts1, qsurf, rugos, lmon, & |
ts1, qsurf, rugos, lmon, & |
181 |
ustar, testar, qstar, zref, & |
ustar, testar, qstar, zref, & |
182 |
delu, delte, delq) |
delu, delte, delq) |