141 |
REAL run_off_lic_0(klon), y_run_off_lic_0(klon) |
REAL run_off_lic_0(klon), y_run_off_lic_0(klon) |
142 |
|
|
143 |
REAL flux_u(klon,klev, nbsrf), flux_v(klon,klev, nbsrf) |
REAL flux_u(klon,klev, nbsrf), flux_v(klon,klev, nbsrf) |
144 |
REAL rugmer(klon), agesno(klon,nbsrf),rugoro(klon) |
REAL rugmer(klon), agesno(klon,nbsrf) |
145 |
|
real, intent(in):: rugoro(klon) |
146 |
REAL cdragh(klon), cdragm(klon) |
REAL cdragh(klon), cdragm(klon) |
147 |
integer jour ! jour de l'annee en cours |
integer jour ! jour de l'annee en cours |
148 |
real rmu0(klon) ! cosinus de l'angle solaire zenithal |
real rmu0(klon) ! cosinus de l'angle solaire zenithal |
254 |
LOGICAL first_appel |
LOGICAL first_appel |
255 |
SAVE first_appel |
SAVE first_appel |
256 |
DATA first_appel/.true./ |
DATA first_appel/.true./ |
257 |
LOGICAL debugindex |
LOGICAL:: debugindex = .false. |
|
SAVE debugindex |
|
|
DATA debugindex/.false./ |
|
258 |
integer idayref |
integer idayref |
259 |
REAL t2m(klon,nbsrf), q2m(klon,nbsrf) |
REAL t2m(klon,nbsrf), q2m(klon,nbsrf) |
260 |
REAL u10m(klon,nbsrf), v10m(klon,nbsrf) |
REAL u10m(klon,nbsrf), v10m(klon,nbsrf) |
455 |
pctsrf_pot(:,is_oce) = 1. - zmasq(:) |
pctsrf_pot(:,is_oce) = 1. - zmasq(:) |
456 |
pctsrf_pot(:,is_sic) = 1. - zmasq(:) |
pctsrf_pot(:,is_sic) = 1. - zmasq(:) |
457 |
|
|
458 |
DO 99999 nsrf = 1, nbsrf |
DO nsrf = 1, nbsrf |
459 |
|
|
460 |
c chercher les indices: |
c chercher les indices: |
461 |
DO j = 1, klon |
DO j = 1, klon |
491 |
CALL histwrite(nidbg,cl_surf(nsrf),itap,debugtab,iim*(jjm+1) |
CALL histwrite(nidbg,cl_surf(nsrf),itap,debugtab,iim*(jjm+1) |
492 |
$ ,ndexbg) |
$ ,ndexbg) |
493 |
ENDIF |
ENDIF |
494 |
IF (knon.EQ.0) GOTO 99999 |
IF (knon.EQ.0) cycle |
495 |
DO j = 1, knon |
DO j = 1, knon |
496 |
i = ni(j) |
i = ni(j) |
497 |
ypct(j) = pctsrf(i,nsrf) |
ypct(j) = pctsrf(i,nsrf) |
940 |
seaice(1:klon) = y_seaice(1:klon) |
seaice(1:klon) = y_seaice(1:klon) |
941 |
ENDIF !nsrf |
ENDIF !nsrf |
942 |
ENDIF !OCEAN |
ENDIF !OCEAN |
943 |
99999 CONTINUE |
end do |
944 |
C |
C |
945 |
C On utilise les nouvelles surfaces |
C On utilise les nouvelles surfaces |
946 |
C A rajouter: conservation de l'albedo |
C A rajouter: conservation de l'albedo |