12 |
tsurf_new, alb_new, alblw, z0_new, pctsrf_new, agesno, fqcalving, & |
tsurf_new, alb_new, alblw, z0_new, pctsrf_new, agesno, fqcalving, & |
13 |
ffonte, run_off_lic_0, flux_o, flux_g) |
ffonte, run_off_lic_0, flux_o, flux_g) |
14 |
|
|
15 |
! Cette routine sert d'aiguillage entre l'atmosphère et la surface |
! Cette routine sert d'aiguillage entre l'atmosph\`ere et la surface |
16 |
! en général (sols continentaux, océans, glaces) pour les flux de |
! en g\'en\'eral (sols continentaux, oc\'eans, glaces) pour les flux de |
17 |
! chaleur et d'humidité. |
! chaleur et d'humidit\'e. |
18 |
|
|
19 |
! Laurent Fairhead, February 2000 |
! Laurent Fairhead, February 2000 |
20 |
|
|
84 |
! rugos rugosite |
! rugos rugosite |
85 |
! rugoro rugosite orographique |
! rugoro rugosite orographique |
86 |
real, intent(INOUT):: snow(klon), qsurf(klon) |
real, intent(INOUT):: snow(klon), qsurf(klon) |
87 |
real, intent(IN):: tsurf(:) ! (knon) température de surface |
real, intent(IN):: tsurf(:) ! (knon) temp\'erature de surface |
88 |
real, dimension(klon), intent(IN):: p1lay |
real, dimension(klon), intent(IN):: p1lay |
89 |
! p1lay pression 1er niveau (milieu de couche) |
! p1lay pression 1er niveau (milieu de couche) |
90 |
real, dimension(klon), intent(IN):: ps |
real, dimension(klon), intent(IN):: ps |
96 |
! fluxsens flux de chaleur sensible |
! fluxsens flux de chaleur sensible |
97 |
! fluxlat flux de chaleur latente |
! fluxlat flux de chaleur latente |
98 |
real, dimension(klon), intent(OUT):: dflux_l, dflux_s |
real, dimension(klon), intent(OUT):: dflux_l, dflux_s |
99 |
real, intent(OUT):: tsurf_new(knon) ! température au sol |
real, intent(OUT):: tsurf_new(knon) ! temp\'erature au sol |
100 |
real, intent(OUT):: alb_new(klon) ! albedo |
real, intent(OUT):: alb_new(klon) ! albedo |
101 |
real, dimension(klon), intent(OUT):: alblw |
real, dimension(klon), intent(OUT):: alblw |
102 |
real, dimension(klon), intent(OUT):: z0_new |
real, dimension(klon), intent(OUT):: z0_new |
105 |
! pctsrf_new nouvelle repartition des surfaces |
! pctsrf_new nouvelle repartition des surfaces |
106 |
real, dimension(klon), intent(INOUT):: agesno |
real, dimension(klon), intent(INOUT):: agesno |
107 |
|
|
108 |
! Flux d'eau "perdue" par la surface et nécessaire pour que limiter la |
! Flux d'eau "perdue" par la surface et n\'ecessaire pour que limiter la |
109 |
! hauteur de neige, en kg/m2/s |
! hauteur de neige, en kg/m2/s |
110 |
!jld a rajouter real, dimension(klon), intent(INOUT):: fqcalving |
!jld a rajouter real, dimension(klon), intent(INOUT):: fqcalving |
111 |
real, dimension(klon), intent(INOUT):: fqcalving |
real, dimension(klon), intent(INOUT):: fqcalving |
207 |
|
|
208 |
! calcul albedo: lecture albedo fichier boundary conditions |
! calcul albedo: lecture albedo fichier boundary conditions |
209 |
! puis ajout albedo neige |
! puis ajout albedo neige |
210 |
call interfsur_lim(itime, dtime, jour, nisurf, knindex, debut, & |
call interfsur_lim(itime, dtime, jour, knindex, debut, alb_new, z0_new) |
|
alb_new, z0_new) |
|
211 |
|
|
212 |
! calcul snow et qsurf, hydrol adapté |
! calcul snow et qsurf, hydrol adapt\'e |
213 |
CALL calbeta(nisurf, snow(:knon), qsol(:knon), beta(:knon), & |
CALL calbeta(nisurf, snow(:knon), qsol(:knon), beta(:knon), & |
214 |
capsol(:knon), dif_grnd(:knon)) |
capsol(:knon), dif_grnd(:knon)) |
215 |
|
|
245 |
! Remplissage des pourcentages de surface |
! Remplissage des pourcentages de surface |
246 |
pctsrf_new(:, nisurf) = pctsrf(:, nisurf) |
pctsrf_new(:, nisurf) = pctsrf(:, nisurf) |
247 |
case (is_oce) |
case (is_oce) |
248 |
! Surface "ocean" appel à l'interface avec l'océan |
! Surface "ocean" appel \`a l'interface avec l'oc\'ean |
249 |
! lecture conditions limites |
! lecture conditions limites |
250 |
call interfoce_lim(itime, dtime, jour, knindex, debut, tsurf_temp, & |
call interfoce_lim(itime, dtime, jour, knindex, debut, tsurf_temp, & |
251 |
pctsrf_new) |
pctsrf_new) |
275 |
|
|
276 |
! calcul albedo |
! calcul albedo |
277 |
if (minval(rmu0) == maxval(rmu0) .and. minval(rmu0) == -999.999) then |
if (minval(rmu0) == maxval(rmu0) .and. minval(rmu0) == -999.999) then |
278 |
CALL alboc(FLOAT(jour), rlat, alb_eau) |
CALL alboc(jour, rlat, alb_eau) |
279 |
else ! cycle diurne |
else ! cycle diurne |
280 |
CALL alboc_cd(rmu0, alb_eau) |
CALL alboc_cd(rmu0, alb_eau) |
281 |
endif |
endif |