11 |
use dimens_m, only: iim, jjm, llm |
use dimens_m, only: iim, jjm, llm |
12 |
use temps, only: itau_phy, day_ref, annee_ref |
use temps, only: itau_phy, day_ref, annee_ref |
13 |
USE calendar, only: ymds2ju |
USE calendar, only: ymds2ju |
14 |
use histcom, only: histbeg_totreg, histvert, histend, histdef |
USE histbeg_totreg_m, ONLY : histbeg_totreg |
15 |
|
USE histdef_m, ONLY : histdef |
16 |
|
USE histend_m, ONLY : histend |
17 |
|
USE histvert_m, ONLY : histvert |
18 |
use phyetat0_m, only: rlon, rlat |
use phyetat0_m, only: rlon, rlat |
19 |
use clesphys, only: ecrit_day |
use clesphys, only: ecrit_day |
20 |
use grid_change, only: gr_phy_write_2d |
use grid_change, only: gr_phy_write_2d |
21 |
use comvert, only: presnivs |
use disvert_m, only: presnivs |
22 |
|
|
23 |
REAL, intent(in):: dtime ! pas temporel de la physique (s) |
REAL, intent(in):: dtime ! pas temporel de la physique (s) |
24 |
logical, intent(in):: ok_journe |
logical, intent(in):: ok_journe |
38 |
CALL histbeg_totreg("histday", rlon(2: iim+1), zx_lat(1, :), 1, iim, & |
CALL histbeg_totreg("histday", rlon(2: iim+1), zx_lat(1, :), 1, iim, & |
39 |
1, jjm + 1, itau_phy, zjulian, dtime, nhori, nid_day) |
1, jjm + 1, itau_phy, zjulian, dtime, nhori, nid_day) |
40 |
CALL histvert(nid_day, "presnivs", "Vertical levels", "mb", & |
CALL histvert(nid_day, "presnivs", "Vertical levels", "mb", & |
41 |
llm, presnivs/100., nvert) |
presnivs/100., nvert) |
42 |
if (nq <= 4) then |
if (nq <= 4) then |
43 |
call histdef(nid_day, "Sigma_O3_Royer", & |
call histdef(nid_day, "Sigma_O3_Royer", & |
44 |
"column-density of ozone, in a cell, from Royer", "DU", & |
"column-density of ozone, in a cell, from Royer", "DU", & |
45 |
pxsize=iim, pysize=jjm+1, phoriid=nhori, pzsize=llm, & |
xsize=iim, ysize=jjm+1, horiid=nhori, pzsize=llm, oriz=1, & |
46 |
par_oriz=1, par_szz=llm, pzid=nvert, popp="ave(X)", & |
szz=llm, zid=nvert, opp="ave(X)", pfreq_opp=dtime, & |
47 |
pfreq_opp=dtime, pfreq_wrt=real(ecrit_day)) |
pfreq_wrt=real(ecrit_day)) |
48 |
end if |
end if |
49 |
CALL histend(nid_day) |
CALL histend(nid_day) |
50 |
ENDIF |
ENDIF |