41 |
USE hgardfou_m, ONLY: hgardfou |
USE hgardfou_m, ONLY: hgardfou |
42 |
USE histsync_m, ONLY: histsync |
USE histsync_m, ONLY: histsync |
43 |
USE histwrite_phy_m, ONLY: histwrite_phy |
USE histwrite_phy_m, ONLY: histwrite_phy |
44 |
USE indicesol, ONLY: clnsurf, epsfra, is_lic, is_oce, is_sic, is_ter, & |
USE indicesol, ONLY: clnsurf, epsfra, nbsrf |
|
nbsrf |
|
45 |
USE ini_histins_m, ONLY: ini_histins, nid_ins |
USE ini_histins_m, ONLY: ini_histins, nid_ins |
46 |
use lift_noro_m, only: lift_noro |
use lift_noro_m, only: lift_noro |
47 |
use netcdf95, only: NF95_CLOSE |
use netcdf95, only: NF95_CLOSE |
334 |
real rain_lsc(klon) |
real rain_lsc(klon) |
335 |
REAL snow_con(klon) ! neige (mm / s) |
REAL snow_con(klon) ! neige (mm / s) |
336 |
real snow_lsc(klon) |
real snow_lsc(klon) |
|
REAL d_ts(klon, nbsrf) ! variation of ftsol |
|
337 |
|
|
338 |
REAL d_u_vdf(klon, llm), d_v_vdf(klon, llm) |
REAL d_u_vdf(klon, llm), d_v_vdf(klon, llm) |
339 |
REAL d_t_vdf(klon, llm), d_q_vdf(klon, llm) |
REAL d_t_vdf(klon, llm), d_q_vdf(klon, llm) |
542 |
CALL pbl_surface(pctsrf, t_seri, q_seri, u_seri, v_seri, julien, mu0, & |
CALL pbl_surface(pctsrf, t_seri, q_seri, u_seri, v_seri, julien, mu0, & |
543 |
ftsol, cdmmax, cdhmax, ftsoil, qsol, paprs, play, fsnow, fqsurf, & |
ftsol, cdmmax, cdhmax, ftsoil, qsol, paprs, play, fsnow, fqsurf, & |
544 |
falbe, fluxlat, rain_fall, snow_fall, frugs, agesno, rugoro, d_t_vdf, & |
falbe, fluxlat, rain_fall, snow_fall, frugs, agesno, rugoro, d_t_vdf, & |
545 |
d_q_vdf, d_u_vdf, d_v_vdf, d_ts, flux_t, flux_q, flux_u, flux_v, & |
d_q_vdf, d_u_vdf, d_v_vdf, flux_t, flux_q, flux_u, flux_v, cdragh, & |
546 |
cdragh, cdragm, q2, dflux_t, dflux_q, coefh, t2m, q2m, u10m_srf, & |
cdragm, q2, dflux_t, dflux_q, coefh, t2m, q2m, u10m_srf, v10m_srf, & |
547 |
v10m_srf, pblh, capCL, oliqCL, cteiCL, pblT, therm, plcl, fqcalving, & |
pblh, capCL, oliqCL, cteiCL, pblT, therm, plcl, fqcalving, ffonte, & |
548 |
ffonte, run_off_lic_0, albsol, sollw, solsw, tsol) |
run_off_lic_0, albsol, sollw, solsw, tsol) |
549 |
|
|
550 |
! Incr\'ementation des flux |
! Incr\'ementation des flux |
551 |
|
|
563 |
ENDDO |
ENDDO |
564 |
|
|
565 |
call assert(abs(sum(pctsrf, dim = 2) - 1.) <= EPSFRA, 'physiq: pctsrf') |
call assert(abs(sum(pctsrf, dim = 2) - 1.) <= EPSFRA, 'physiq: pctsrf') |
|
ftsol = ftsol + d_ts ! update surface temperature |
|
566 |
tsol = sum(ftsol * pctsrf, dim = 2) |
tsol = sum(ftsol * pctsrf, dim = 2) |
567 |
zxfluxlat = sum(fluxlat * pctsrf, dim = 2) |
zxfluxlat = sum(fluxlat * pctsrf, dim = 2) |
568 |
zt2m = sum(t2m * pctsrf, dim = 2) |
zt2m = sum(t2m * pctsrf, dim = 2) |
987 |
CALL histwrite_phy("bils", bils) |
CALL histwrite_phy("bils", bils) |
988 |
CALL histwrite_phy("sens", sens) |
CALL histwrite_phy("sens", sens) |
989 |
CALL histwrite_phy("fder", fder) |
CALL histwrite_phy("fder", fder) |
|
CALL histwrite_phy("dtsvdfo", d_ts(:, is_oce)) |
|
|
CALL histwrite_phy("dtsvdft", d_ts(:, is_ter)) |
|
|
CALL histwrite_phy("dtsvdfg", d_ts(:, is_lic)) |
|
|
CALL histwrite_phy("dtsvdfi", d_ts(:, is_sic)) |
|
990 |
CALL histwrite_phy("zxfqcalving", sum(fqcalving * pctsrf, dim = 2)) |
CALL histwrite_phy("zxfqcalving", sum(fqcalving * pctsrf, dim = 2)) |
991 |
CALL histwrite_phy("albs", albsol) |
CALL histwrite_phy("albs", albsol) |
992 |
CALL histwrite_phy("tro3", wo * dobson_u * 1e3 / zmasse / rmo3 * md) |
CALL histwrite_phy("tro3", wo * dobson_u * 1e3 / zmasse / rmo3 * md) |