1 | SUBROUTINE evappot(klon,nbsrf,ftsol,pplay,cdragh, & |
---|
2 | & t_seri,q_seri,u_seri,v_seri,evap_pot) |
---|
3 | |
---|
4 | USE yoethf_mod_h |
---|
5 | USE yomcst_mod_h |
---|
6 | IMPLICIT NONE |
---|
7 | |
---|
8 | |
---|
9 | INCLUDE "FCTTRE.h" |
---|
10 | |
---|
11 | |
---|
12 | INTEGER :: klon, nbsrf |
---|
13 | REAL, DIMENSION(klon,nbsrf) :: ftsol,evap_pot |
---|
14 | REAL, DIMENSION(klon) :: pplay,t_seri,wind,q_seri,u_seri,v_seri,cdragh |
---|
15 | |
---|
16 | INTEGER :: nsrf,i |
---|
17 | REAL, DIMENSION(klon,nbsrf) :: qsat_ftsol |
---|
18 | REAL, DIMENSION(klon) :: rhos, norme_u |
---|
19 | REAL :: t_coup |
---|
20 | |
---|
21 | t_coup=234. ! Quelle horreur !!!!! |
---|
22 | |
---|
23 | DO nsrf = 1, nbsrf |
---|
24 | DO i = 1, klon |
---|
25 | IF (ftsol(i,nsrf).LT.t_coup) THEN |
---|
26 | qsat_ftsol(i,nsrf) = qsats(ftsol(i,nsrf))/pplay(i) |
---|
27 | ELSE |
---|
28 | qsat_ftsol(i,nsrf) = qsatl(ftsol(i,nsrf))/pplay(i) |
---|
29 | ENDIF |
---|
30 | ENDDO |
---|
31 | ENDDO |
---|
32 | ! ========================================================== c |
---|
33 | ! Calcul de l'evaporation Potentielle |
---|
34 | |
---|
35 | |
---|
36 | rhos(:) = pplay(:)/(RD*t_seri(:)) |
---|
37 | norme_u(:)=1.+sqrt(u_seri(:)*u_seri(:)+v_seri(:)*v_seri(:)) |
---|
38 | DO nsrf = 1, nbsrf |
---|
39 | evap_pot(:,nsrf)=rhos(:)*cdragh(:)*norme_u(:)*(qsat_ftsol(:,nsrf)-q_seri(:)) |
---|
40 | ENDDO |
---|
41 | RETURN |
---|
42 | |
---|
43 | END SUBROUTINE evappot |
---|