2 !
$Id: ini_histISCCP.h 1403 2010-07-01 09:02:53Z fairhead $
10 c pour les champs instantannes, il faut mettre la meme valeur pour
13 c zstophy = frequence
de stockage des champs tous les pdt physiques
14 c zout = frequence d'ecriture des champs
16 c appel du simulateur toutes les 3heures
17 !IM on lit la frequence d'appel dans
physiq.def
19 zcals(1) = freq_ISCCP !toutes les freq_ISCCP secondes
21 zcalh(n) =
zcals(n)/3600. !stoutes les Xh (en heures)
24 c ecriture 8 fois par jour
26 c ecriture toutes les 2h (12 fois par jour)
28 c ecriture toutes les 1/2 h (48 fois par jour)
31 c IF(freqout_isccp.EQ.1.) THEN
33 !IM on ecrit les resultats du simulateur ISCCP toutes les
34 ! ecrit_ISCCP secondes
zout_isccp(1) = ecrit_day !(en s)
44 PRINT*,'
Warning: Augmenter le nombre colonnes du simulateur'
46 c PRINT*,'n ncol',n,ncol(n)
56 c PRINT*, 'La frequence
de sortie ISCCP est
de ', ecrit_isccp
63 c definition coordonnees
lon,lat en globale
74 cym Desole dans un premier temps le mode region ne marchera pas
75 cym Il faudra voir dans un second temps pour l'implementer
76 cym Mais cela posera des problemes au niveau de la reconstruction
93 cym print*,'On stoke le
fichier histISCCP instantanne sur ',
95 cym s zx_lat(1,jmin_ins),zx_lat(1,jmax_ins)
103 CALL
histbeg_phy("histISCCP.nc", itau_phy, zjulian, dtime,
107 cym CALL
histbeg("histISCCP.nc", iim,zx_lon(:,1),
108 cym . jjmp1,zx_lat(1,:),
109 cym . imin_ins,imax_ins-imin_ins+1,
110 cym . jmin_ins,jmax_ins-jmin_ins+1,
111 cym . itau_phy, zjulian, dtime,
112 cym . nhori, nid_isccp)
114 CALL
histbeg_phy("histISCCP.nc", itau_phy, zjulian, dtime,
117 IF(type_run.EQ."ENSP".OR.type_run.EQ."CLIM") THEN
120 ELSE
IF(type_run.EQ."AMIP".OR.type_run.EQ."CFMI") THEN
127 . ncol(n), vertlev(:,n), nvlev(n),'up')
130 IF(type_run.EQ."ENSP".OR.type_run.EQ."CLIM") THEN
137 CALL
histdef(nid_isccp, "cldISCCP_"
138 . "LMDZ ISCCP cld", "%",
139 . iim,
jj_nb,nhori,lmaxm1,1,lmaxm1,nvert,32,
143 CALL
histdef(nid_isccp, "nsunlit"
145 . iim, jj_nb,nhori,1,1,1,-99,32,
148 CALL
histdef(nid_isccp, "meantaucld"
150 . iim, jj_nb,nhori,1,1,1,-99,32,
155 ELSE
IF(type_run.EQ."AMIP".OR.type_run.EQ."CFMI") THEN
159 c print*,'n=',n,' avant
histdef(..LMDZ ISCCP cld'
164 CALL
histdef(nid_isccp, pclev(l)
166 . iim, jj_nb,nhori,1,1,1,-99,32,
172 c print*,'n=',n,' avant
histdef(..Nb of calls sunlit'
173 CALL
histdef(nid_isccp, "nsunlit"
174 . "Nb of calls with sunlit ", "%",
175 . iim, jj_nb,nhori,1,1,1,-99,32,
178 CALL
histdef(nid_isccp, "meantaucld"
179 . "ISCCP mean cloud optical thickness", "1",
180 . iim, jj_nb,nhori,1,1,1,-99,32,
183 c 9types de nuages ISCCP-D2
184 CALL
histdef(nid_isccp, "cirr",
185 . "Cirrus lk ISCCP-D2", "%",
186 . iim, jj_nb,nhori,1,1,1,-99,32,
189 CALL
histdef(nid_isccp, "cist",
190 . "CiSt lk ISCCP-D2", "%",
191 . iim, jj_nb,nhori,1,1,1,-99,32,
194 CALL
histdef(nid_isccp, "deep",
195 . "Deep lk ISCCP-D2", "%",
196 . iim, jj_nb,nhori,1,1,1,-99,32,
199 CALL
histdef(nid_isccp, "alcu",
200 . "AlCu lk ISCCP-D2", "%",
201 . iim, jj_nb,nhori,1,1,1,-99,32,
204 CALL
histdef(nid_isccp, "alst",
205 . "AlSt lk ISCCP-D2", "%",
206 . iim, jj_nb,nhori,1,1,1,-99,32,
209 CALL
histdef(nid_isccp, "nist",
210 . "NiSt lk ISCCP-D2", "%",
211 . iim, jj_nb,nhori,1,1,1,-99,32,
214 CALL
histdef(nid_isccp, "cumu",
215 . "Cumu lk ISCCP-D2", "%",
216 . iim, jj_nb,nhori,1,1,1,-99,32,
219 CALL
histdef(nid_isccp, "stcu",
220 . "StCu lk ISCCP-D2", "%",
221 . iim, jj_nb,nhori,1,1,1,-99,32,
224 CALL
histdef(nid_isccp, "stra",
225 . "Stra lk ISCCP-D2", "%",
226 . iim, jj_nb,nhori,1,1,1,-99,32,
229 c 3_epaisseurs_optiques x3_pressions_au_sommet_des_nuages types de nuages
230 CALL
histdef(nid_isccp, "thin",
231 . "Opt. thin ISCCP-D2 like clouds", "%",
232 . iim, jj_nb,nhori,lmax3,1,lmax3,nvert3,32,
236 . "Opt. intermediate ISCCP-D2 like clouds", "%",
237 . iim, jj_nb,nhori,lmax3,1,lmax3,nvert3,32,
240 CALL
histdef(nid_isccp, "thick",
241 . "Opt. thick ISCCP-D2 like clouds", "%",
242 . iim, jj_nb,nhori,lmax3,1,lmax3,nvert3,32,
251 print*,'n=',n,' avant
histdef(..boxptop axe'
253 CALL
histdef(nid_isccp,"boxptop"
256 . ncol(n),1,ncol(n),nvlev(n),32,
257 cIM . ncolmx,1,ncolmx,nvlev,32,
258 cIM . "inst(X)",dtime,dtime)
262 c ENDIF !(n.EQ.3) THEN
263 c ENDIF !(1.EQ.0) THEN
268 . iim, jj_nb,nhori,1,1,1,-99,32,
269 cIM . "inst(X)", dtime,dtime)
274 CALL histend(nid_isccp)