1 | c |
---|
2 | c $Header$ |
---|
3 | c |
---|
4 | IF (ok_journe) THEN |
---|
5 | |
---|
6 | c$OMP MASTER |
---|
7 | c |
---|
8 | zstophy = dtime |
---|
9 | zstoday= ecrit_day |
---|
10 | zout = ecrit_day |
---|
11 | c |
---|
12 | idayref = day_ref |
---|
13 | CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian) |
---|
14 | c |
---|
15 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlon,zx_lon) |
---|
16 | cym DO i = 1, iim |
---|
17 | cym zx_lon(i,1) = rlon(i+1) |
---|
18 | cym zx_lon(i,jjmp1) = rlon(i+1) |
---|
19 | cym ENDDO |
---|
20 | DO ll=1,klev |
---|
21 | znivsig(ll)=float(ll) |
---|
22 | ENDDO |
---|
23 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlat,zx_lat) |
---|
24 | cym CALL histbeg("histday", iim,zx_lon(:,1), jjmp1,zx_lat(1,:), |
---|
25 | cym . 1,iim,1,jjmp1, itau_phy, zjulian, dtime, |
---|
26 | cym . nhori, nid_day) |
---|
27 | |
---|
28 | CALL histbeg_phy("histday",itau_phy, zjulian, dtime, |
---|
29 | . nhori, nid_day) |
---|
30 | |
---|
31 | write(*,*)'Journee ', itau_phy, zjulian |
---|
32 | CALL histvert(nid_day, "presnivs", "Vertical levels", "mb", |
---|
33 | . klev, presnivs/100., nvert) |
---|
34 | c |
---|
35 | IF(lev_histday.GE.1) THEN |
---|
36 | c |
---|
37 | CALL histdef(nid_day, "phis", "Surface geop. height", "m2/s2", |
---|
38 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
39 | . "once", zstophy,zout) |
---|
40 | c |
---|
41 | CALL histdef(nid_day, "aire", "Grid area", "-", |
---|
42 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
43 | . "once", zstophy,zout) |
---|
44 | c |
---|
45 | CALL histdef(nid_day, "contfracATM","% sfce ter+lic ","-", |
---|
46 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
47 | . "once", zstophy,zout) |
---|
48 | c |
---|
49 | CALL histdef(nid_day, "contfracOR","% sfce terre OR", "-", |
---|
50 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
51 | . "once", zstophy,zout) |
---|
52 | c |
---|
53 | c Champs 2D: |
---|
54 | c |
---|
55 | CALL histdef(nid_day, "tsol", "Surface Temperature", "K", |
---|
56 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
57 | . "ave(X)", zstophy,zout) |
---|
58 | c |
---|
59 | CALL histdef(nid_day, "t2m", "Temperature 2m", "K", |
---|
60 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
61 | . "ave(X)", zstophy,zout) |
---|
62 | c |
---|
63 | c Champs retires momentannement en attendant un hypothetique |
---|
64 | c debugage |
---|
65 | |
---|
66 | CALL histdef(nid_day, "t2m_min", "Temp. 2m min.", |
---|
67 | . "K", |
---|
68 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
69 | . t2mincels, zstophy,zout) |
---|
70 | c |
---|
71 | CALL histdef(nid_day, "t2m_max", "Temp. 2m max.", |
---|
72 | . "K", |
---|
73 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
74 | . t2maxcels, zstophy,zout) |
---|
75 | c |
---|
76 | CALL histdef(nid_day, "plul", "Large-scale Precip.", |
---|
77 | . "kg/(s*m2)", |
---|
78 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
79 | . "ave(X)", zstophy,zout) |
---|
80 | c |
---|
81 | CALL histdef(nid_day, "pluc", "Convective Precip.", |
---|
82 | . "kg/(s*m2)", |
---|
83 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
84 | . "ave(X)", zstophy,zout) |
---|
85 | c |
---|
86 | CALL histdef(nid_day, "snowl", "Solid Large-scale Precip.", |
---|
87 | . "kg/(m2*s)", |
---|
88 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
89 | . "ave(X)", zstophy,zout) |
---|
90 | c |
---|
91 | IF(1.EQ.0) THEN !snowc=0. |
---|
92 | CALL histdef(nid_day, "snowc", "Solid Convective Precip.", |
---|
93 | . "kg/(m2*s)", |
---|
94 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
95 | . "ave(X)", zstophy,zout) |
---|
96 | ENDIF !snowc=0. |
---|
97 | c |
---|
98 | CALL histdef(nid_day, "flat", "Latent heat flux", "W/m2", |
---|
99 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
100 | . "ave(X)", zstophy,zout) |
---|
101 | c |
---|
102 | CALL histdef(nid_day, "sicf", "Sea-ice fraction", "-", |
---|
103 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
104 | . "inst(X)", zstoday,zout) |
---|
105 | c |
---|
106 | CALL histdef(nid_day, "q2m", "Specific humidity", "kg/kg", |
---|
107 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
108 | . "ave(X)", zstophy,zout) |
---|
109 | c |
---|
110 | CALL histdef(nid_day, "u10m", "Vent zonal 10m", "m/s", |
---|
111 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
112 | . "ave(X)", zstophy,zout) |
---|
113 | c |
---|
114 | CALL histdef(nid_day, "v10m", "Vent meridien 10m", "m/s", |
---|
115 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
116 | . "ave(X)", zstophy,zout) |
---|
117 | c |
---|
118 | CALL histdef(nid_day, "wind10m","10-m wind speed","m/s", |
---|
119 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
120 | . "ave(X)", zstophy,zout) |
---|
121 | c |
---|
122 | CALL histdef(nid_day, "wind10max", "10-m wind speed max.", |
---|
123 | . "m/s", |
---|
124 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
125 | . t2maxcels, zstophy,zout) |
---|
126 | c |
---|
127 | CALL histdef(nid_day, "psol", "Surface Pressure", "Pa", |
---|
128 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
129 | . "ave(X)", zstophy,zout) |
---|
130 | c |
---|
131 | CALL histdef(nid_day, "precip","Precipitation Totale liq+sol" |
---|
132 | . , "kg/(s*m2)", |
---|
133 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
134 | . "ave(X)", zstophy,zout) |
---|
135 | c |
---|
136 | CALL histdef(nid_day, "snowf", "Snow fall", "kg/(m2*s)", |
---|
137 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
138 | . "ave(X)", zstophy,zout) |
---|
139 | c |
---|
140 | c CALL histdef(nid_day, "snow_mass", "Snow Mass", "kg/m2", |
---|
141 | c . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
142 | c . "ave(X)", zstophy,zout) |
---|
143 | c |
---|
144 | CALL histdef(nid_day, "evap", "Evaporation", "kg/(m2*s)", |
---|
145 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
146 | . "ave(X)", zstophy,zout) |
---|
147 | c |
---|
148 | CALL histdef(nid_day, "tops", "Solar rad. at TOA", "W/m2", |
---|
149 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
150 | . "ave(X)", zstophy,zout) |
---|
151 | c |
---|
152 | CALL histdef(nid_day, "topl", "IR rad. at TOA", "W/m2", |
---|
153 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
154 | . "ave(X)", zstophy,zout) |
---|
155 | c |
---|
156 | CALL histdef(nid_day, "sols", "Net Solar rad. at surf.", |
---|
157 | . "W/m2", |
---|
158 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
159 | . "ave(X)", zstophy,zout) |
---|
160 | c |
---|
161 | CALL histdef(nid_day, "soll", "Net IR rad. at surface", "W/m2", |
---|
162 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
163 | . "ave(X)", zstophy,zout) |
---|
164 | c |
---|
165 | CALL histdef(nid_day, "radsol", "Rayonnement au sol", "W/m2", |
---|
166 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
167 | . "ave(X)", zstophy,zout) |
---|
168 | c |
---|
169 | CALL histdef(nid_day, "cldl", "Low-level cloudiness", "-", |
---|
170 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
171 | . "ave(X)", zstophy,zout) |
---|
172 | c |
---|
173 | CALL histdef(nid_day, "cldm", "Mid-level cloudiness", "-", |
---|
174 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
175 | . "ave(X)", zstophy,zout) |
---|
176 | c |
---|
177 | CALL histdef(nid_day, "cldh", "High-level cloudiness", "-", |
---|
178 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
179 | . "ave(X)", zstophy,zout) |
---|
180 | c |
---|
181 | CALL histdef(nid_day, "cldt", "Total cloudiness", "-", |
---|
182 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
183 | . "ave(X)", zstophy,zout) |
---|
184 | c |
---|
185 | CALL histdef(nid_day, "cldq", "Cloud liquid water path", |
---|
186 | . "kg/m2", |
---|
187 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
188 | . "ave(X)", zstophy,zout) |
---|
189 | c |
---|
190 | CALL histdef(nid_day, "prw", "Precipitable water", "kg/m2", |
---|
191 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
192 | . "ave(X)", zstophy,zout) |
---|
193 | c |
---|
194 | CALL histdef(nid_day, "slp", "Sea Level Pressure", "Pa", |
---|
195 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
196 | . "ave(X)", zstophy,zout) |
---|
197 | c |
---|
198 | CALL histdef(nid_day, "cape_max", "CAPE max.", |
---|
199 | . "J/kg", |
---|
200 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
201 | . capemaxcels, zstophy,zout) |
---|
202 | c |
---|
203 | CALL histdef(nid_day, "solldown", "Down. IR rad. at surface", |
---|
204 | . "W/m2", iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
205 | . "ave(X)", zstophy,zout) |
---|
206 | c |
---|
207 | CALL histdef(nid_day, "sens", "Sensible heat flux", "W/m2", |
---|
208 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
209 | . "ave(X)", zstophy,zout) |
---|
210 | c |
---|
211 | CALL histdef(nid_day, "SWdnSFC", "SWdn at surface","W/m2", |
---|
212 | . iim,jj_nb,nhori, 1,1,1,-99, |
---|
213 | . 32, "ave(X)", zstophy,zout) |
---|
214 | c |
---|
215 | c Champs dynamiques sur niveaux de pression |
---|
216 | c |
---|
217 | c DO k=1, nlevENS |
---|
218 | DO k=1, nlevSTD |
---|
219 | c |
---|
220 | c bb=clevSTD(k) |
---|
221 | c |
---|
222 | IF(k.GE.2.AND.k.LE.12) bb2=clevSTD(k) |
---|
223 | IF(k.GE.13.AND.k.LE.17) bb3=clevSTD(k) |
---|
224 | c aa=clevSTD(k) |
---|
225 | c bb2=clevSTD(k) |
---|
226 | c ENDIF |
---|
227 | c |
---|
228 | IF(bb2.EQ."850".OR.bb2.EQ."700" |
---|
229 | . .OR.bb2.EQ."500".OR.bb2.EQ."200") THEN |
---|
230 | c |
---|
231 | CALL histdef(nid_day, "u"//bb2, |
---|
232 | . "Zonal wind "//bb2//"mb","m/s", |
---|
233 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
234 | . "inst(X)", zout,zout) |
---|
235 | c |
---|
236 | CALL histdef(nid_day, "v"//bb2, |
---|
237 | . "Meridional wind "//bb2//"mb","m/s", |
---|
238 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
239 | . "inst(X)", zout,zout) |
---|
240 | c |
---|
241 | ENDIF !(bb2.EQ."850".OR.bb2.EQ."700".OR.bb2.EQ."500".OR.bb2.EQ."200") THEN |
---|
242 | c |
---|
243 | IF(bb2.EQ."500") THEN |
---|
244 | c |
---|
245 | CALL histdef(nid_day, "w"//bb2, "Vertical wind "//bb2//"mb", |
---|
246 | . "m/s", |
---|
247 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
248 | . "inst(X)", zout,zout) |
---|
249 | c |
---|
250 | CALL histdef(nid_day,"phi"//bb2, "Geopotential "//bb2//"mb", |
---|
251 | . "m", |
---|
252 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
253 | . "inst(X)", zout,zout) |
---|
254 | c |
---|
255 | ENDIF !(bb2.EQ."500") |
---|
256 | c |
---|
257 | ENDDO !nlevSTD |
---|
258 | c |
---|
259 | |
---|
260 | c |
---|
261 | cIM diagnostiques flux ocean-atm ou ocean-glace de mer |
---|
262 | cIM pour utilisation dans un modele de "slab" ocean |
---|
263 | c |
---|
264 | IF (OCEAN.EQ.'force ') THEN |
---|
265 | c |
---|
266 | CALL histdef(nid_day, "lmt_bils", |
---|
267 | . "Bilan au sol atmosphere forcee", "W/m2", |
---|
268 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
269 | . "ave(X)", zstophy,zout) |
---|
270 | c |
---|
271 | ELSE IF (OCEAN.EQ.'slab ') THEN |
---|
272 | c |
---|
273 | CALL histdef(nid_day, "slab_bils", |
---|
274 | . "Bilan au sol slab", "W/m2", |
---|
275 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
276 | . "ave(X)", zstophy,zout) |
---|
277 | c |
---|
278 | CALL histdef(nid_day, "tslab", "Slab SST ", "K", |
---|
279 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
280 | . "ave(X)", zstophy,zout) |
---|
281 | c |
---|
282 | CALL histdef(nid_day, "seaice", "Slab seaice", "kg/m2", |
---|
283 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
284 | . "ave(X)", zstophy,zout) |
---|
285 | c |
---|
286 | CALL histdef(nid_day, "siceh", "Slab seaice height", "m", |
---|
287 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
288 | . "ave(X)", zstophy,zout) |
---|
289 | c |
---|
290 | ENDIF !OCEAN.EQ.force/slab |
---|
291 | c |
---|
292 | CALL histdef(nid_day, "fluxo", |
---|
293 | . "Flux turbulents ocean-atmosphere", "W/m2", |
---|
294 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
295 | . "ave(X)", zstophy,zout) |
---|
296 | c |
---|
297 | CALL histdef(nid_day, "fluxg", |
---|
298 | . "Flux ocean-glace de mer", "W/m2", |
---|
299 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
300 | . "ave(X)", zstophy,zout) |
---|
301 | c |
---|
302 | ENDIF !lev_histday.GE.1 |
---|
303 | c |
---|
304 | IF (lev_histday.GE.2) THEN |
---|
305 | c |
---|
306 | CALL histdef(nid_day, "bils", "Surf. total heat flux", "W/m2", |
---|
307 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
308 | . "ave(X)", zstophy,zout) |
---|
309 | c |
---|
310 | CALL histdef(nid_day, "fder", "Heat flux derivation", "W/m2/K", |
---|
311 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
312 | . "ave(X)", zstophy,zout) |
---|
313 | c |
---|
314 | CALL histdef(nid_day, "rh2m", "Relative humidity at 2m", "%", |
---|
315 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
316 | . "ave(X)", zstophy,zout) |
---|
317 | c |
---|
318 | CALL histdef(nid_day, "SWupTOA", "SWup at TOA","W/m2", |
---|
319 | . iim,jj_nb,nhori, 1,1,1,-99, |
---|
320 | . 32, "ave(X)", zstophy,zout) |
---|
321 | c |
---|
322 | CALL histdef(nid_day, "SWupSFC", "SWup at surface","W/m2", |
---|
323 | . iim,jj_nb,nhori, 1,1,1,-99, |
---|
324 | . 32, "ave(X)", zstophy,zout) |
---|
325 | c |
---|
326 | CALL histdef(nid_day, "SWdnTOA", "SWdn at TOA","W/m2", |
---|
327 | . iim,jj_nb,nhori, 1,1,1,-99, |
---|
328 | . 32, "ave(X)", zstophy,zout) |
---|
329 | c |
---|
330 | CALL histdef(nid_day, "SWupTOAclr", |
---|
331 | . "SWup clear sky at TOA","W/m2", |
---|
332 | . iim,jj_nb,nhori, 1,1,1,-99, |
---|
333 | . 32, "ave(X)", zstophy,zout) |
---|
334 | c |
---|
335 | CALL histdef(nid_day, "SWupSFCclr", |
---|
336 | . "SWup clear sky at surface","W/m2", |
---|
337 | . iim,jj_nb,nhori, 1,1,1,-99, |
---|
338 | . 32, "ave(X)", zstophy,zout) |
---|
339 | c |
---|
340 | CALL histdef(nid_day, "SWdnTOAclr", |
---|
341 | . "SWdn clear sky at TOA","W/m2", |
---|
342 | . iim,jj_nb,nhori, 1,1,1,-99, |
---|
343 | . 32, "ave(X)", zstophy,zout) |
---|
344 | c |
---|
345 | CALL histdef(nid_day, "SWdnSFCclr", |
---|
346 | . "SWdn clear sky at surface","W/m2", |
---|
347 | . iim,jj_nb,nhori, 1,1,1,-99, |
---|
348 | . 32, "ave(X)", zstophy,zout) |
---|
349 | c |
---|
350 | cIM AMMA-MIP |
---|
351 | CALL histdef(nid_day, "LWdnSFC", |
---|
352 | . "LW down at surface","W/m2", |
---|
353 | . iim,jj_nb,nhori, 1,1,1,-99, |
---|
354 | . 32, "ave(X)", zstophy,zout) |
---|
355 | c |
---|
356 | CALL histdef(nid_day, "LWupSFC", |
---|
357 | . "LW up at surface","W/m2", |
---|
358 | . iim,jj_nb,nhori, 1,1,1,-99, |
---|
359 | . 32, "ave(X)", zstophy,zout) |
---|
360 | c |
---|
361 | CALL histdef(nid_day,"lwp","Cloud water path","kg/m2", |
---|
362 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
363 | . "ave(X)", zstophy,zout) |
---|
364 | c |
---|
365 | CALL histdef(nid_day,"iwp","Cloud ice water path","kg/m2", |
---|
366 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
367 | . "ave(X)", zstophy,zout) |
---|
368 | c |
---|
369 | CALL histdef(nid_day, "taux","Zonal wind stress","Pa", |
---|
370 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
371 | . "ave(X)", zstophy,zout) |
---|
372 | c |
---|
373 | CALL histdef(nid_day, "tauy","Meridional wind stress ", "Pa", |
---|
374 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
375 | . "ave(X)", zstophy,zout) |
---|
376 | c |
---|
377 | cIM IF (iflag_con.GE.3) THEN |
---|
378 | IF (ok_isccp) THEN |
---|
379 | CALL histdef(nid_day, "ptop", |
---|
380 | c . "Cld top pressure","mb", |
---|
381 | . "Cld top pressure (cf ISCCP simulator)","Pa", |
---|
382 | . iim,jj_nb,nhori, 1,1,1,-99, |
---|
383 | . 32, "ave(X)", zstophy,zout) |
---|
384 | ENDIF |
---|
385 | cIM ENDIF !(iflag_con.GE.3) THEN |
---|
386 | c |
---|
387 | ENDIF !lev_histday.GE.2 |
---|
388 | c================================================================= |
---|
389 | IF(lev_histday.GE.3) THEN |
---|
390 | c================================================================= |
---|
391 | c INITIALISATION DES CHAMPS 3D |
---|
392 | c================================================================= |
---|
393 | c================================================================= |
---|
394 | c================================================================= |
---|
395 | c Champs 3D: |
---|
396 | c |
---|
397 | CALL histdef(nid_day, "temp", "Air temperature", "K", |
---|
398 | . iim,jj_nb,nhori, klev,1,klev,nvert, 32, |
---|
399 | . "ave(X)", zstophy,zout) |
---|
400 | c |
---|
401 | CALL histdef(nid_day, "ovap", "Specific humidity", "kg/kg", |
---|
402 | . iim,jj_nb,nhori, klev,1,klev,nvert, 32, |
---|
403 | . "ave(X)", zstophy,zout) |
---|
404 | c |
---|
405 | CALL histdef(nid_day, "geop", "Geopotential height", "m2/s2", |
---|
406 | . iim,jj_nb,nhori, klev,1,klev,nvert, 32, |
---|
407 | . "ave(X)", zstophy,zout) |
---|
408 | c |
---|
409 | CALL histdef(nid_day, "vitu", "Zonal wind", "m/s", |
---|
410 | . iim,jj_nb,nhori, klev,1,klev,nvert, 32, |
---|
411 | . "ave(X)", zstophy,zout) |
---|
412 | c |
---|
413 | CALL histdef(nid_day, "vitv", "Meridional wind", "m/s", |
---|
414 | . iim,jj_nb,nhori, klev,1,klev,nvert, 32, |
---|
415 | . "ave(X)", zstophy,zout) |
---|
416 | c |
---|
417 | CALL histdef(nid_day, "vitw", "Vertical wind", "m/s", |
---|
418 | . iim,jj_nb,nhori, klev,1,klev,nvert, 32, |
---|
419 | . "ave(X)", zstophy,zout) |
---|
420 | c |
---|
421 | CALL histdef(nid_day, "pres", "Air pressure", "Pa", |
---|
422 | . iim,jj_nb,nhori, klev,1,klev,nvert, 32, |
---|
423 | . "ave(X)", zstophy,zout) |
---|
424 | c |
---|
425 | c================================================================= |
---|
426 | c FIN INITIALISATION DES CHAMPS 3D |
---|
427 | c================================================================= |
---|
428 | ENDIF ! lev_histday.GE.3 |
---|
429 | c |
---|
430 | IF (lev_histday.GE.4) THEN |
---|
431 | c================================================================= |
---|
432 | c INITIALISATION DES CHAMPS SUR LES SOUS SURFACES |
---|
433 | c================================================================= |
---|
434 | c |
---|
435 | CALL histdef(nid_day, "tter", "Surface Temperature ter", "K", |
---|
436 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
437 | . "ave(X)", zstophy,zout) |
---|
438 | c |
---|
439 | CALL histdef(nid_day, "tlic", "Surface Temperature lic", "K", |
---|
440 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
441 | . "ave(X)", zstophy,zout) |
---|
442 | c |
---|
443 | CALL histdef(nid_day, "toce", "Surface Temperature oce", "K", |
---|
444 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
445 | . "ave(X)", zstophy,zout) |
---|
446 | c |
---|
447 | CALL histdef(nid_day, "tsic", "Surface Temperature sic", "K", |
---|
448 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
449 | . "ave(X)", zstophy,zout) |
---|
450 | c |
---|
451 | CALL histdef(nid_day, "t2mter", "Temp.tere 2m", "K", |
---|
452 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
453 | . "ave(X)", zstophy,zout) |
---|
454 | c |
---|
455 | CALL histdef(nid_day, "t2mlic", "Temp.lic 2m", "K", |
---|
456 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
457 | . "ave(X)", zstophy,zout) |
---|
458 | c |
---|
459 | CALL histdef(nid_day, "t2moce", "Temp.oce 2m", "K", |
---|
460 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
461 | . "ave(X)", zstophy,zout) |
---|
462 | c |
---|
463 | CALL histdef(nid_day, "t2msic", "Temp.sic 2m", "K", |
---|
464 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
465 | . "ave(X)", zstophy,zout) |
---|
466 | c |
---|
467 | CALL histdef(nid_day, "t2mter_min", "Temp.terre 2m min.", |
---|
468 | . "K", |
---|
469 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
470 | . t2mincels, zstophy,zout) |
---|
471 | c |
---|
472 | CALL histdef(nid_day, "t2mter_max", "Temp.terre 2m max.", |
---|
473 | . "K", |
---|
474 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
475 | . t2maxcels, zstophy,zout) |
---|
476 | c |
---|
477 | CALL histdef(nid_day, "u10mter", "Vent zonal ter 10m", "m/s", |
---|
478 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
479 | . "ave(X)", zstophy,zout) |
---|
480 | c |
---|
481 | CALL histdef(nid_day, "u10mlic", "Vent zonal lic 10m", "m/s", |
---|
482 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
483 | . "ave(X)", zstophy,zout) |
---|
484 | c |
---|
485 | CALL histdef(nid_day, "u10moce", "Vent zonal oce 10m", "m/s", |
---|
486 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
487 | . "ave(X)", zstophy,zout) |
---|
488 | c |
---|
489 | CALL histdef(nid_day, "u10msic", "Vent zonal sic 10m", |
---|
490 | . "m/s",iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
491 | . "ave(X)", zstophy,zout) |
---|
492 | c |
---|
493 | CALL histdef(nid_day, "v10mter", "Vent meridien ter 10m", |
---|
494 | . "m/s", iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
495 | . "ave(X)", zstophy,zout) |
---|
496 | c |
---|
497 | CALL histdef(nid_day, "v10mlic", "Vent meridien lic 10m", |
---|
498 | . "m/s",iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
499 | . "ave(X)", zstophy,zout) |
---|
500 | c |
---|
501 | CALL histdef(nid_day, "v10moce", "Vent meridien oce 10m", |
---|
502 | . "m/s",iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
503 | . "ave(X)", zstophy,zout) |
---|
504 | c |
---|
505 | CALL histdef(nid_day, "v10msic", "Vent meridien sic 10m", |
---|
506 | . "m/s",iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
507 | . "ave(X)", zstophy,zout) |
---|
508 | c |
---|
509 | DO nsrf = 1, nbsrf |
---|
510 | C |
---|
511 | call histdef(nid_day, "pourc_"//clnsurf(nsrf), |
---|
512 | $ "% "//clnsurf(nsrf), "%", |
---|
513 | $ iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
514 | $ "ave(X)", zstophy,zout) |
---|
515 | C |
---|
516 | call histdef(nid_day, "fract_"//clnsurf(nsrf), |
---|
517 | $ "Fraction "//clnsurf(nsrf), "1", |
---|
518 | $ iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
519 | $ "ave(X)", zstophy,zout) |
---|
520 | C |
---|
521 | call histdef(nid_day, "tsol_"//clnsurf(nsrf), |
---|
522 | $ "Temperature "//clnsurf(nsrf), "K", |
---|
523 | $ iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
524 | $ "ave(X)", zstophy,zout) |
---|
525 | C |
---|
526 | call histdef(nid_day, "sens_"//clnsurf(nsrf), |
---|
527 | $ "Sensible heat flux "//clnsurf(nsrf), "W/m2", |
---|
528 | $ iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
529 | $ "ave(X)", zstophy,zout) |
---|
530 | c |
---|
531 | call histdef(nid_day, "lat_"//clnsurf(nsrf), |
---|
532 | $ "Latent heat flux "//clnsurf(nsrf), "W/m2", |
---|
533 | $ iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
534 | $ "ave(X)", zstophy,zout) |
---|
535 | C |
---|
536 | call histdef(nid_day, "taux_"//clnsurf(nsrf), |
---|
537 | $ "Zonal wind stress "//clnsurf(nsrf),"Pa", |
---|
538 | $ iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
539 | $ "ave(X)", zstophy,zout) |
---|
540 | |
---|
541 | call histdef(nid_day, "tauy_"//clnsurf(nsrf), |
---|
542 | $ "Meridional wind stress "//clnsurf(nsrf), "Pa", |
---|
543 | $ iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
544 | $ "ave(X)", zstophy,zout) |
---|
545 | C |
---|
546 | call histdef(nid_day, "albe_"//clnsurf(nsrf), |
---|
547 | $ "Albedo surf. "//clnsurf(nsrf), "-", |
---|
548 | $ iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
549 | $ "ave(X)", zstophy,zout) |
---|
550 | C |
---|
551 | call histdef(nid_day, "rugs_"//clnsurf(nsrf), |
---|
552 | $ "Rugosite "//clnsurf(nsrf), "m", |
---|
553 | $ iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
554 | $ "ave(X)", zstophy,zout) |
---|
555 | C |
---|
556 | END DO |
---|
557 | C |
---|
558 | c================================================================= |
---|
559 | c |
---|
560 | c FIN INITIALISATION DES CHAMPS SUR LES SOUS SURFACES |
---|
561 | c |
---|
562 | c================================================================= |
---|
563 | ENDIF !lev_histday.GE.4 |
---|
564 | c |
---|
565 | IF(lev_histday.GE.5) THEN !lev_histday.GE.5 |
---|
566 | c |
---|
567 | c rajout sorties F. Aires |
---|
568 | CALL histdef(nid_day, "tops0", "CS Solar rad. at TOA", |
---|
569 | . "W/m2", |
---|
570 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
571 | . "ave(X)", zstophy,zout) |
---|
572 | c |
---|
573 | CALL histdef(nid_day, "topl0", "CS IR rad. at TOA", |
---|
574 | . "W/m2", |
---|
575 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
576 | . "ave(X)", zstophy,zout) |
---|
577 | c |
---|
578 | CALL histdef(nid_day, "sols0", "CS Net Solar rad. at surf.", |
---|
579 | . "W/m2", |
---|
580 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
581 | . "ave(X)", zstophy,zout) |
---|
582 | c |
---|
583 | CALL histdef(nid_day, "soll0", "CS Net IR rad. at surface", |
---|
584 | . "W/m2", |
---|
585 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
586 | . "ave(X)", zstophy,zout) |
---|
587 | c |
---|
588 | CALL histdef(nid_day, "rneb", "Cloud fraction", "-", |
---|
589 | . iim,jj_nb,nhori, klev,1,klev,nvert, 32, |
---|
590 | . "ave(X)", zstophy,zout) |
---|
591 | c |
---|
592 | CALL histdef(nid_day, "rnebcon", "Convective Cloud Fraction" |
---|
593 | . , "-", |
---|
594 | . iim,jj_nb,nhori, klev,1,klev,nvert, 32, |
---|
595 | . "ave(X)", zstophy,zout) |
---|
596 | c |
---|
597 | CALL histdef(nid_day,"lwcon","Cloud liquid water content", |
---|
598 | . "kg/kg", |
---|
599 | . iim,jj_nb,nhori, klev,1,klev, nvert, 32, |
---|
600 | . "ave(X)", zstophy,zout) |
---|
601 | c |
---|
602 | CALL histdef(nid_day,"iwcon","Cloud ice water content","kg/kg", |
---|
603 | . iim,jj_nb,nhori, klev,1,klev, nvert, 32, |
---|
604 | . "ave(X)", zstophy,zout) |
---|
605 | c |
---|
606 | IF (ok_isccp) THEN |
---|
607 | CALL histdef(nid_day,"meantaucld", |
---|
608 | . "ISCCP mean cloud optical thickness","1", |
---|
609 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
610 | . "ave(X)", zstophy,zout) |
---|
611 | ENDIF |
---|
612 | c |
---|
613 | CALL histdef(nid_day,"cldtau","Cloud optical thickness","1", |
---|
614 | . iim,jj_nb,nhori, klev,1,klev, nvert, 32, |
---|
615 | . "ave(X)", zstophy,zout) |
---|
616 | c |
---|
617 | CALL histdef(nid_day,"cldemi","Cloud optical emissivity","1", |
---|
618 | . iim,jj_nb,nhori, klev,1,klev, nvert, 32, |
---|
619 | . "ave(X)", zstophy,zout) |
---|
620 | c |
---|
621 | cIM rajout AMMA-MIP |
---|
622 | c |
---|
623 | CALL histdef(nid_day, "dtcon", "Convection dT", "K/s", |
---|
624 | . iim,jj_nb,nhori, klev,1,klev,nvert, 32, |
---|
625 | . "ave(X)", zstophy,zout) |
---|
626 | c |
---|
627 | CALL histdef(nid_day, "dqcon", "Convection dQ", "(kg/kg)/s", |
---|
628 | . iim,jj_nb,nhori, klev,1,klev,nvert, 32, |
---|
629 | . "ave(X)", zstophy,zout) |
---|
630 | c |
---|
631 | CALL histdef(nid_day, "qsat2m", "Saturant humidity at 2m", "%", |
---|
632 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
633 | . "ave(X)", zstophy,zout) |
---|
634 | c |
---|
635 | CALL histdef(nid_day, "tpot", |
---|
636 | . "Surface air potential temperature", "K", |
---|
637 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
638 | . "ave(X)", zstophy,zout) |
---|
639 | c |
---|
640 | CALL histdef(nid_day, "tpote", |
---|
641 | . "Surface air equivalent potential temperature", "K", |
---|
642 | . iim,jj_nb,nhori, 1,1,1, -99, 32, |
---|
643 | . "ave(X)", zstophy,zout) |
---|
644 | c |
---|
645 | ENDIF !lev_histday.GE.5 |
---|
646 | c================================================================= |
---|
647 | c |
---|
648 | CALL histend(nid_day) |
---|
649 | c |
---|
650 | ndex2d = 0 |
---|
651 | ndex3d = 0 |
---|
652 | c |
---|
653 | c================================================================= |
---|
654 | c$OMP END MASTER |
---|
655 | ENDIF ! fin de test sur ok_journe |
---|