4 SUBROUTINE initphysto(infile,tstep,t_ops,t_wrt,fileid)
42 CHARACTER(len=*),
INTENT(IN) :: infile
43 REAL,
INTENT(IN) :: tstep
44 REAL,
INTENT(IN) :: t_ops
45 REAL,
INTENT(IN) :: t_wrt
46 INTEGER,
INTENT(OUT) :: fileid
55 INTEGER uhoriid, vhoriid, thoriid, zvertiid
60 CHARACTER(len=12) :: nvar
71 CALL ymds2ju(zan, 1, idayref, 0.0, zjulian)
84 CALL histvert(fileid,
'sig_s',
'Niveaux sigma', &
90 CALL histdef(fileid,
"phis",
"Surface geop. height",
"-", &
91 nbp_lon,jj_nb,nhoriid, 1,1,1, -99, 32, &
94 CALL histdef(fileid,
"aire",
"Grid area",
"-", &
95 nbp_lon,jj_nb,nhoriid, 1,1,1, -99, 32, &
98 CALL histdef(fileid,
"longitudes",
"longitudes",
"-", &
99 nbp_lon,jj_nb,nhoriid, 1,1,1, -99, 32, &
100 "once", t_ops, t_wrt)
102 CALL histdef(fileid,
"latitudes",
"latitudes",
"-", &
103 nbp_lon,jj_nb,nhoriid, 1,1,1, -99, 32, &
104 "once", t_ops, t_wrt)
106 CALL histdef(fileid,
't',
'Temperature',
'K',
nbp_lon, jj_nb, nhoriid, &
109 CALL histdef(fileid,
'mfu',
'flx m. pan. mt',
'kg m/s',
nbp_lon, jj_nb, nhoriid, &
112 CALL histdef(fileid,
'mfd',
'flx m. pan. des',
'kg m/s',
nbp_lon, jj_nb, nhoriid, &
115 CALL histdef(fileid,
'en_u',
'flx ent pan mt',
'kg m/s',
nbp_lon, jj_nb, nhoriid, &
118 CALL histdef(fileid,
'de_u',
'flx det pan mt',
'kg m/s',
nbp_lon, jj_nb, nhoriid, &
121 CALL histdef(fileid,
'en_d',
'flx ent pan dt',
'kg m/s',
nbp_lon, jj_nb, nhoriid, &
124 CALL histdef(fileid,
'de_d',
'flx det pan dt',
'kg m/s',
nbp_lon, jj_nb, nhoriid, &
127 CALL histdef(fileid,
"coefh",
" ",
" ",
nbp_lon, jj_nb, nhoriid, &
130 CALL histdef(fileid,
"fm_th",
" ",
" ",
nbp_lon, jj_nb, nhoriid, &
133 CALL histdef(fileid,
"en_th",
" ",
" ",
nbp_lon, jj_nb, nhoriid, &
136 CALL histdef(fileid,
'frac_impa',
' ',
' ',
nbp_lon, jj_nb, nhoriid, &
139 CALL histdef(fileid,
'frac_nucl',
' ',
' ',
nbp_lon, jj_nb, nhoriid, &
142 CALL histdef(fileid,
"pyu1",
" ",
" ",
nbp_lon,jj_nb,nhoriid, &
143 1,1,1, -99, 32,
"inst(X)", t_ops, t_wrt)
145 CALL histdef(fileid,
"pyv1",
" ",
" ",
nbp_lon,jj_nb,nhoriid, &
146 1,1,1, -99, 32,
"inst(X)", t_ops, t_wrt)
148 CALL histdef(fileid,
"ftsol1",
" ",
" ",
nbp_lon, jj_nb, nhoriid, &
149 1, 1,1, -99,32,
"inst(X)", t_ops, t_wrt)
151 CALL histdef(fileid,
"ftsol2",
" ",
" ",
nbp_lon, jj_nb, nhoriid, &
152 1, 1,1, -99,32,
"inst(X)", t_ops, t_wrt)
154 CALL histdef(fileid,
"ftsol3",
" ",
" ",
nbp_lon, jj_nb, nhoriid, &
155 1, 1,1, -99,32,
"inst(X)", t_ops, t_wrt)
157 CALL histdef(fileid,
"ftsol4",
" ",
" ",
nbp_lon, jj_nb, nhoriid, &
158 1, 1,1, -99, 32,
"inst(X)", t_ops, t_wrt)
160 CALL histdef(fileid,
"psrf1",
" ",
" ",
nbp_lon, jj_nb, nhoriid, &
161 1, 1, 1, -99,32,
"inst(X)", t_ops, t_wrt)
163 CALL histdef(fileid,
"psrf2",
" ",
" ",
nbp_lon, jj_nb, nhoriid, &
164 1, 1, 1, -99, 32,
"inst(X)", t_ops, t_wrt)
166 CALL histdef(fileid,
"psrf3",
" ",
" ",
nbp_lon, jj_nb, nhoriid, &
167 1, 1, 1, -99, 32,
"inst(X)", t_ops, t_wrt)
169 CALL histdef(fileid,
"psrf4",
" ",
" ",
nbp_lon, jj_nb, nhoriid, &
170 1, 1, 1, -99,32,
"inst(X)", t_ops, t_wrt)
172 CALL histdef(fileid,
'sh',
'',
'',
nbp_lon, jj_nb, nhoriid, &
175 CALL histdef(fileid,
'da',
'',
'',
nbp_lon, jj_nb, nhoriid, &
178 CALL histdef(fileid,
'mp',
'',
'',
nbp_lon, jj_nb, nhoriid, &
181 CALL histdef(fileid,
'upwd',
'',
'',
nbp_lon, jj_nb, nhoriid, &
184 CALL histdef(fileid,
'dnwd',
'',
'',
nbp_lon, jj_nb, nhoriid, &
196 nvar=
'phi_lev'//trim(nvar)
198 CALL histdef(fileid, nvar,
'',
'',
nbp_lon, jj_nb, nhoriid, &
203 IF (ok_sync)
CALL histsync
!$Id zjulian!correction pour l heure initiale!jyg!jyg CALL ymds2ju(annee_ref, 1, day_ref, hour, zjulian)!jyg CALL histbeg_phy("histrac"
!$Id zjulian!correction pour l heure initiale!jyg!jyg CALL nid_tra CALL histvert(nid_tra,"presnivs","Vertical levels","Pa", klev, presnivs, nvert,"down") zsto
subroutine initphysto(infile, tstep, t_ops, t_wrt, fileid)
subroutine histbeg_phy(name, itau0, zjulian, dtime, nhori, nid_day)
!$Id itapm1 ENDIF!IM on interpole les champs sur les niveaux STD de pression!IM a chaque pas de temps de la physique c!positionnement de l argument logique a false c!pour ne pas recalculer deux fois la meme chose!c!a cet effet un appel a plevel_new a ete deplace c!a la fin de la serie d appels c!la boucle DO nlevSTD a ete internalisee c!dans d ou la creation de cette routine c c!CALL ulevSTD CALL &zphi philevSTD CALL &zx_rh rhlevSTD!DO klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon klev DO klon du jour ou toutes les read_climoz CALL true