1 | ! |
---|
2 | ! $Header$ |
---|
3 | ! |
---|
4 | IF (ok_mensuel) THEN |
---|
5 | c |
---|
6 | zsto = dtime |
---|
7 | zout = dtime * ecrit_mth |
---|
8 | c |
---|
9 | c zsto1: pour des valeurs "instantannees" mensuelles |
---|
10 | zsto1 = dtime * ecrit_mth |
---|
11 | c zsto2: pour des flux radiatifs calcules tous les 2 heures |
---|
12 | zsto2 = dtime * radpas |
---|
13 | PRINT*,' zsto,zsto1,zsto2,zout=',zsto, zsto1, zsto2,zout |
---|
14 | c |
---|
15 | idayref = day_ref |
---|
16 | CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian) |
---|
17 | c |
---|
18 | CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlon,zx_lon) |
---|
19 | DO i = 1, iim |
---|
20 | zx_lon(i,1) = rlon(i+1) |
---|
21 | zx_lon(i,jjmp1) = rlon(i+1) |
---|
22 | ENDDO |
---|
23 | DO ll=1,klev |
---|
24 | znivsig(ll)=float(ll) |
---|
25 | ENDDO |
---|
26 | CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlat,zx_lat) |
---|
27 | CALL histbeg("histmth.nc", iim,zx_lon(:,1), jjmp1,zx_lat(1,:), |
---|
28 | . 1,iim,1,jjmp1, itau_phy, zjulian, dtime, |
---|
29 | . nhori, nid_mth) |
---|
30 | write(*,*)'Mensuel ', itau_phy, zjulian |
---|
31 | CALL histvert(nid_mth, "presnivs", "Vertical levels", "mb", |
---|
32 | . klev, presnivs, nvert) |
---|
33 | c call histvert(nid_mth, 'sig_s', 'Niveaux sigma','-', |
---|
34 | c . klev, znivsig, nvert) |
---|
35 | c |
---|
36 | c |
---|
37 | IF(lev_histmth.GE.1) THEN |
---|
38 | CALL histdef(nid_mth, "phis", "Surface geop. height", "-", |
---|
39 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
40 | . "once", zsto,zout) |
---|
41 | c |
---|
42 | CALL histdef(nid_mth, "aire", "Grid area", "-", |
---|
43 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
44 | . "once", zsto,zout) |
---|
45 | c |
---|
46 | call histdef(nid_mth, "pourc_"//clnsurf(is_ter), |
---|
47 | $ "Fraction "//clnsurf(is_ter), "W/m2", |
---|
48 | $ iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
49 | $ "once", zsto,zout) |
---|
50 | c |
---|
51 | c Champs 2D: |
---|
52 | c |
---|
53 | CALL histdef(nid_mth, "slp", "Sea Level Pressure", "Pa", |
---|
54 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
55 | . "ave(X)", zsto,zout) |
---|
56 | c |
---|
57 | CALL histdef(nid_mth, "tsol", "Surface Temperature", "K", |
---|
58 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
59 | . "ave(X)", zsto,zout) |
---|
60 | c |
---|
61 | CALL histdef(nid_mth, "t2m", "Temperature 2m", "K", |
---|
62 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
63 | . "ave(X)", zsto,zout) |
---|
64 | c ENSEMBLES BEG |
---|
65 | CALL histdef(nid_mth, "t2m_min", "Temp. 2m min.", |
---|
66 | . "K", |
---|
67 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
68 | . t2mincels, zsto,zout) |
---|
69 | c |
---|
70 | CALL histdef(nid_mth, "t2m_max", "Temp. 2m max.", |
---|
71 | . "K", |
---|
72 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
73 | . t2maxcels, zsto,zout) |
---|
74 | c |
---|
75 | c CALL histdef(nid_mth, "tsoil", "Sfce soil Temperature", |
---|
76 | c . "K", |
---|
77 | c . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
78 | c . "ave(X)", zsto,zout) |
---|
79 | c |
---|
80 | CALL histdef(nid_mth, "wind10m","10-m wind speed","m/s", |
---|
81 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
82 | . "ave(X)", zsto,zout) |
---|
83 | c |
---|
84 | CALL histdef(nid_mth, "sicf", "Sea-ice fraction", "-", |
---|
85 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
86 | . "ave(X)", zsto,zout) |
---|
87 | |
---|
88 | c |
---|
89 | c ENSEMBLES END |
---|
90 | CALL histdef(nid_mth, "q2m", "Specific humidity 2m", "kg/kg", |
---|
91 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
92 | . "ave(X)", zsto,zout) |
---|
93 | c |
---|
94 | CALL histdef(nid_mth, "u10m", "Vent zonal 10m", "m/s", |
---|
95 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
96 | . "ave(X)", zsto,zout) |
---|
97 | c |
---|
98 | CALL histdef(nid_mth, "v10m", "Vent meridien 10m", "m/s", |
---|
99 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
100 | . "ave(X)", zsto,zout) |
---|
101 | c |
---|
102 | CALL histdef(nid_mth, "psol", "Surface Pressure", "Pa", |
---|
103 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
104 | . "ave(X)", zsto,zout) |
---|
105 | c |
---|
106 | CALL histdef(nid_mth, "qsurf", "Surface Air humidity", "kg/kg", |
---|
107 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
108 | . "ave(X)", zsto,zout) |
---|
109 | c |
---|
110 | if (.not. ok_veget) then |
---|
111 | CALL histdef(nid_mth, "qsol", "Soil watter content", "mm", |
---|
112 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
113 | . "ave(X)", zsto,zout) |
---|
114 | endif |
---|
115 | c |
---|
116 | CALL histdef(nid_mth, "ndayrain", |
---|
117 | . "Number of day with rain (liq+sol)", "-", |
---|
118 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
119 | . "inst(X)", zsto1,zout) |
---|
120 | c |
---|
121 | CALL histdef(nid_mth, "precip", "Precipitation Totale liq+sol", |
---|
122 | . "kg/(s*m2)", |
---|
123 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
124 | . "ave(X)", zsto,zout) |
---|
125 | c |
---|
126 | CALL histdef(nid_mth, "plul", "Large-scale Precip.", |
---|
127 | . "kg/(s*m2)", |
---|
128 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
129 | . "ave(X)", zsto,zout) |
---|
130 | c |
---|
131 | CALL histdef(nid_mth, "pluc", "Convective Precip.", |
---|
132 | . "kg/(s*m2)", |
---|
133 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
134 | . "ave(X)", zsto,zout) |
---|
135 | c |
---|
136 | CALL histdef(nid_mth, "snow", "Snow fall", "kg/(s*m2)", |
---|
137 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
138 | . "ave(X)", zsto,zout) |
---|
139 | c |
---|
140 | CALL histdef(nid_mth, "snow_mass", "Snow Mass", "kg/m2", |
---|
141 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
142 | . "ave(X)", zsto,zout) |
---|
143 | c |
---|
144 | CALL histdef(nid_mth, "evap", "Evaporation", "kg/(s*m2)", |
---|
145 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
146 | . "ave(X)", zsto,zout) |
---|
147 | c |
---|
148 | CALL histdef(nid_mth, "tops", "Solar rad. at TOA", "W/m2", |
---|
149 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
150 | . "ave(X)", zsto,zout) |
---|
151 | c |
---|
152 | CALL histdef(nid_mth, "tops0", "Solar rad. at TOA", "W/m2", |
---|
153 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
154 | . "ave(X)", zsto,zout) |
---|
155 | c |
---|
156 | CALL histdef(nid_mth, "topl", "IR rad. at TOA", "W/m2", |
---|
157 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
158 | . "ave(X)", zsto,zout) |
---|
159 | c |
---|
160 | CALL histdef(nid_mth, "topl0", "IR rad. at TOA", "W/m2", |
---|
161 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
162 | . "ave(X)", zsto,zout) |
---|
163 | c |
---|
164 | CALL histdef(nid_mth, "SWupTOA", "SWup at TOA","W/m2", |
---|
165 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
166 | . 32, "ave(X)", zsto2,zout) |
---|
167 | c |
---|
168 | CALL histdef(nid_mth, "SWupTOAclr", |
---|
169 | . "SWup clear sky at TOA","W/m2", |
---|
170 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
171 | . 32, "ave(X)", zsto2,zout) |
---|
172 | c |
---|
173 | CALL histdef(nid_mth, "SWdnTOA", "SWdn at TOA","W/m2", |
---|
174 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
175 | . 32, "ave(X)", zsto2,zout) |
---|
176 | c |
---|
177 | CALL histdef(nid_mth, "SWdnTOAclr", |
---|
178 | . "SWdn clear sky at TOA","W/m2", |
---|
179 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
180 | . 32, "ave(X)", zsto2,zout) |
---|
181 | c |
---|
182 | CALL histdef(nid_mth, "SWup200", "SWup at 200hPa","W/m2", |
---|
183 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
184 | . 32, "ave(X)", zsto2,zout) |
---|
185 | c |
---|
186 | CALL histdef(nid_mth, "SWup200clr", |
---|
187 | . "SWup clear sky at 200hPa","W/m2", |
---|
188 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
189 | . 32, "ave(X)", zsto2,zout) |
---|
190 | c |
---|
191 | CALL histdef(nid_mth, "SWdn200", "SWdn at 200hPa","W/m2", |
---|
192 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
193 | . 32, "ave(X)", zsto2,zout) |
---|
194 | c |
---|
195 | CALL histdef(nid_mth, "SWdn200clr", |
---|
196 | . "SWdn clear sky at 200hPa","W/m2", |
---|
197 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
198 | . 32, "ave(X)", zsto2,zout) |
---|
199 | c |
---|
200 | CALL histdef(nid_mth, "LWup200", "LWup at 200hPa","W/m2", |
---|
201 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
202 | . 32, "ave(X)", zsto2,zout) |
---|
203 | c |
---|
204 | CALL histdef(nid_mth, "LWup200clr", |
---|
205 | . "LWup clear sky at 200hPa","W/m2", |
---|
206 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
207 | . 32, "ave(X)", zsto2,zout) |
---|
208 | c |
---|
209 | CALL histdef(nid_mth, "LWdn200", "LWdn at 200hPa","W/m2", |
---|
210 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
211 | . 32, "ave(X)", zsto2,zout) |
---|
212 | c |
---|
213 | CALL histdef(nid_mth, "LWdn200clr", |
---|
214 | . "LWdn clear sky at 200hPa","W/m2", |
---|
215 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
216 | . 32, "ave(X)", zsto2,zout) |
---|
217 | c |
---|
218 | CALL histdef(nid_mth, "sols", "Solar rad. at surf.", "W/m2", |
---|
219 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
220 | . "ave(X)", zsto,zout) |
---|
221 | c |
---|
222 | CALL histdef(nid_mth, "sols0", "Solar rad. at surf.", "W/m2", |
---|
223 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
224 | . "ave(X)", zsto,zout) |
---|
225 | c |
---|
226 | CALL histdef(nid_mth, "soll", "IR rad. at surface", "W/m2", |
---|
227 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
228 | . "ave(X)", zsto,zout) |
---|
229 | c |
---|
230 | CALL histdef(nid_mth, "soll0", "IR rad. at surface", "W/m2", |
---|
231 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
232 | . "ave(X)", zsto,zout) |
---|
233 | c |
---|
234 | CALL histdef(nid_mth, "SWupSFC", "SWup at surface","W/m2", |
---|
235 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
236 | . 32, "ave(X)", zsto2,zout) |
---|
237 | c |
---|
238 | CALL histdef(nid_mth, "SWupSFCclr", |
---|
239 | . "SWup clear sky at surface","W/m2", |
---|
240 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
241 | . 32, "ave(X)", zsto2,zout) |
---|
242 | c |
---|
243 | CALL histdef(nid_mth, "SWdnSFC", "SWdn at surface","W/m2", |
---|
244 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
245 | . 32, "ave(X)", zsto2,zout) |
---|
246 | c |
---|
247 | CALL histdef(nid_mth, "SWdnSFCclr", |
---|
248 | . "SWdn clear sky at surface","W/m2", |
---|
249 | . iim,jjmp1,nhori, 1,1,1,-99, |
---|
250 | . 32, "ave(X)", zsto2,zout) |
---|
251 | c |
---|
252 | CALL histdef(nid_mth,"LWupSFC","Upwd. IR rad. at surface", |
---|
253 | . "W/m2", iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
254 | . "ave(X)", zsto2,zout) |
---|
255 | c |
---|
256 | CALL histdef(nid_mth,"LWdnSFC","Down. IR rad. at surface", |
---|
257 | . "W/m2", iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
258 | . "ave(X)", zsto2,zout) |
---|
259 | c |
---|
260 | CALL histdef(nid_mth,"LWupSFCclr", |
---|
261 | . "CS Upwd. IR rad. at surface", |
---|
262 | . "W/m2", iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
263 | . "ave(X)", zsto2,zout) |
---|
264 | c |
---|
265 | CALL histdef(nid_mth,"LWdnSFCclr", |
---|
266 | . "Down. CS IR rad. at surface", |
---|
267 | . "W/m2", iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
268 | . "ave(X)", zsto2,zout) |
---|
269 | c |
---|
270 | CALL histdef(nid_mth, "bils", "Surf. total heat flux", "W/m2", |
---|
271 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
272 | . "ave(X)", zsto,zout) |
---|
273 | c |
---|
274 | CALL histdef(nid_mth, "sens", "Sensible heat flux", "W/m2", |
---|
275 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
276 | . "ave(X)", zsto,zout) |
---|
277 | c |
---|
278 | CALL histdef(nid_mth, "fder", "Heat flux derivation", "W/m2", |
---|
279 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
280 | . "ave(X)", zsto,zout) |
---|
281 | c |
---|
282 | c Effets des aerosols |
---|
283 | c |
---|
284 | c IF (ok_ade.OR.ok_aie) THEN |
---|
285 | CALL histdef(nid_mth, "topsad", "ADE at TOA", "W/m2", |
---|
286 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
287 | . "ave(X)", zsto,zout) |
---|
288 | c |
---|
289 | CALL histdef(nid_mth, "solsad", "ADE at sfc", "W/m2", |
---|
290 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
291 | . "ave(X)", zsto,zout) |
---|
292 | c |
---|
293 | CALL histdef(nid_mth, "topsai", "AIE at TOA", "W/m2", |
---|
294 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
295 | . "ave(X)", zsto,zout) |
---|
296 | c |
---|
297 | CALL histdef(nid_mth, "solsai", "AIE at sfc", "W/m2", |
---|
298 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
299 | . "ave(X)", zsto,zout) |
---|
300 | c endif |
---|
301 | c |
---|
302 | |
---|
303 | c |
---|
304 | c CALL histdef(nid_mth, "frtu", "Zonal wind stress", "Pa", |
---|
305 | c . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
306 | c . "ave(X)", zsto,zout) |
---|
307 | c |
---|
308 | c CALL histdef(nid_mth, "frtv", "Meridional wind stress", "Pa", |
---|
309 | c . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
310 | c . "ave(X)", zsto,zout) |
---|
311 | c |
---|
312 | CALL histdef(nid_mth, "ffonte","Thermal flux for snow melting", |
---|
313 | . "W/m2",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
314 | . "ave(X)", zsto,zout) |
---|
315 | c |
---|
316 | CALL histdef(nid_mth, "fqcalving","Ice Calving", |
---|
317 | . "kg/m2/s",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
318 | . "ave(X)", zsto,zout) |
---|
319 | cIM: 171003 |
---|
320 | DO nsrf = 1, nbsrf |
---|
321 | call histdef(nid_mth, "taux_"//clnsurf(nsrf), |
---|
322 | $ "Zonal wind stress"//clnsurf(nsrf), "Pa", |
---|
323 | $ iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
324 | $ "ave(X)", zsto,zout) |
---|
325 | |
---|
326 | call histdef(nid_mth, "tauy_"//clnsurf(nsrf), |
---|
327 | $ "Meridional xind stress "//clnsurf(nsrf), "Pa", |
---|
328 | $ iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
329 | $ "ave(X)", zsto,zout) |
---|
330 | ENDDO |
---|
331 | cIM: 171003 |
---|
332 | c |
---|
333 | DO nsrf = 1, nbsrf |
---|
334 | C |
---|
335 | IF(nsrf.GT.1) THEN |
---|
336 | call histdef(nid_mth, "pourc_"//clnsurf(nsrf), |
---|
337 | $ "Fraction "//clnsurf(nsrf), "W/m2", |
---|
338 | $ iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
339 | $ "ave(X)", zsto,zout) |
---|
340 | ENDIF !nsrf.GT.1 |
---|
341 | C |
---|
342 | call histdef(nid_mth, "tsol_"//clnsurf(nsrf), |
---|
343 | $ "Fraction "//clnsurf(nsrf), "W/m2", |
---|
344 | $ iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
345 | $ "ave(X)", zsto,zout) |
---|
346 | C |
---|
347 | call histdef(nid_mth, "sens_"//clnsurf(nsrf), |
---|
348 | $ "Sensible heat flux "//clnsurf(nsrf), "W/m2", |
---|
349 | $ iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
350 | $ "ave(X)", zsto,zout) |
---|
351 | c |
---|
352 | call histdef(nid_mth, "lat_"//clnsurf(nsrf), |
---|
353 | $ "Latent heat flux "//clnsurf(nsrf), "W/m2", |
---|
354 | $ iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
355 | $ "ave(X)", zsto,zout) |
---|
356 | C |
---|
357 | call histdef(nid_mth, "flw_"//clnsurf(nsrf), |
---|
358 | $ "LW "//clnsurf(nsrf), "W/m2", |
---|
359 | $ iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
360 | $ "ave(X)", zsto2,zout) |
---|
361 | c |
---|
362 | call histdef(nid_mth, "fsw_"//clnsurf(nsrf), |
---|
363 | $ "SW "//clnsurf(nsrf), "W/m2", |
---|
364 | $ iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
365 | $ "ave(X)", zsto2,zout) |
---|
366 | C |
---|
367 | call histdef(nid_mth, "wbils_"//clnsurf(nsrf), |
---|
368 | $ "Bilan sol "//clnsurf(nsrf), "W/m2", |
---|
369 | $ iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
370 | $ "ave(X)", zsto,zout) |
---|
371 | C |
---|
372 | END DO |
---|
373 | c |
---|
374 | CALL histdef(nid_mth, "cdrm", "Momentum drag coef.", "-", |
---|
375 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
376 | . "ave(X)", zsto,zout) |
---|
377 | c |
---|
378 | CALL histdef(nid_mth, "cdrh", "Heat drag coef.", "-", |
---|
379 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
380 | . "ave(X)", zsto,zout) |
---|
381 | c |
---|
382 | CALL histdef(nid_mth, "cldl", "Low-level cloudiness", "-", |
---|
383 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
384 | . "ave(X)", zsto,zout) |
---|
385 | c |
---|
386 | CALL histdef(nid_mth, "cldm", "Mid-level cloudiness", "-", |
---|
387 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
388 | . "ave(X)", zsto,zout) |
---|
389 | c |
---|
390 | CALL histdef(nid_mth, "cldh", "High-level cloudiness", "-", |
---|
391 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
392 | . "ave(X)", zsto,zout) |
---|
393 | c |
---|
394 | CALL histdef(nid_mth, "cldt", "Total cloudiness", "-", |
---|
395 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
396 | . "ave(X)", zsto,zout) |
---|
397 | c |
---|
398 | CALL histdef(nid_mth,"cldq","Cloud liquid water path","kg/m2", |
---|
399 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
400 | . "ave(X)", zsto,zout) |
---|
401 | cIM: 071003 |
---|
402 | CALL histdef(nid_mth,"lwp","Cloud water path","kg/m2", |
---|
403 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
404 | . "ave(X)", zsto,zout) |
---|
405 | c |
---|
406 | CALL histdef(nid_mth,"iwp","Cloud ice water path","kg/m2", |
---|
407 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
408 | . "ave(X)", zsto,zout) |
---|
409 | cIM: 071003 |
---|
410 | c |
---|
411 | CALL histdef(nid_mth, "ue", "Zonal energy transport", "-", |
---|
412 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
413 | . "ave(X)", zsto,zout) |
---|
414 | c |
---|
415 | CALL histdef(nid_mth, "ve", "Merid energy transport", "-", |
---|
416 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
417 | . "ave(X)", zsto,zout) |
---|
418 | c |
---|
419 | CALL histdef(nid_mth, "uq", "Zonal humidity transport", "-", |
---|
420 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
421 | . "ave(X)", zsto,zout) |
---|
422 | c |
---|
423 | CALL histdef(nid_mth, "vq", "Merid humidity transport", "-", |
---|
424 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
425 | . "ave(X)", zsto,zout) |
---|
426 | cKE43 |
---|
427 | IF(iflag_con.GE.3) THEN ! sb |
---|
428 | c |
---|
429 | CALL histdef(nid_mth, "cape", "Conv avlbl pot ener", "J/kg", |
---|
430 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
431 | . "ave(X)", zsto,zout) |
---|
432 | c |
---|
433 | CALL histdef(nid_mth, "pbase", "Cld base pressure", "hPa", |
---|
434 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
435 | . "ave(X)", zsto,zout) |
---|
436 | c |
---|
437 | CALL histdef(nid_mth, "ptop", "Cld top pressure", "hPa", |
---|
438 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
439 | . "ave(X)", zsto,zout) |
---|
440 | c |
---|
441 | CALL histdef(nid_mth, "fbase", "Cld base mass flux", "kg/m2/s", |
---|
442 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
443 | . "ave(X)", zsto,zout) |
---|
444 | c |
---|
445 | ENDIF !iflag_con .GE. 3 |
---|
446 | c |
---|
447 | CALL histdef(nid_mth, "prw", "Precipitable water", "kg/m2", |
---|
448 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
449 | . "ave(X)", zsto,zout) |
---|
450 | c |
---|
451 | c34EK |
---|
452 | c |
---|
453 | c Champs interpolles sur des niveaux de pression |
---|
454 | DO k=1, nlevENS |
---|
455 | CALL histdef(nid_mth, "u"//clev(k), |
---|
456 | . "Zonal wind"//clev(k)//"mb","m/s", |
---|
457 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
458 | . "ave(X)", zsto,zout) |
---|
459 | c |
---|
460 | CALL histdef(nid_mth, "v"//clev(k), |
---|
461 | . "Meridional wind"//clev(k)//"mb","m/s", |
---|
462 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
463 | . "ave(X)", zsto,zout) |
---|
464 | c |
---|
465 | CALL histdef(nid_mth, "w"//clev(k), |
---|
466 | . "Vertical wind"//clev(k)//"mb","Pa/s", |
---|
467 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
468 | . "ave(X)", zsto,zout) |
---|
469 | c |
---|
470 | CALL histdef(nid_mth, "phi"//clev(k), |
---|
471 | . "Geopotential"//clev(k)//"mb","m2/s2", |
---|
472 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
473 | . "ave(X)", zsto,zout) |
---|
474 | c |
---|
475 | ENDDO |
---|
476 | ENDIF !lev_histmth.GE.1 |
---|
477 | c |
---|
478 | IF(lev_histmth.GE.2) THEN |
---|
479 | c |
---|
480 | c Champs 3D: |
---|
481 | c |
---|
482 | c |
---|
483 | CALL histdef(nid_mth,"lwcon","Cloud water content","kg/kg", |
---|
484 | . iim,jjmp1,nhori, klev,1,klev, nvert, 32, |
---|
485 | . "ave(X)", zsto,zout) |
---|
486 | c |
---|
487 | CALL histdef(nid_mth,"iwcon","Cloud ice water content","kg/kg", |
---|
488 | . iim,jjmp1,nhori, klev,1,klev, nvert, 32, |
---|
489 | . "ave(X)", zsto,zout) |
---|
490 | c |
---|
491 | CALL histdef(nid_mth, "temp", "Air temperature", "K", |
---|
492 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
493 | . "ave(X)", zsto,zout) |
---|
494 | c |
---|
495 | CALL histdef(nid_mth, "ovap", "Specific humidity", "kg/kg", |
---|
496 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
497 | . "ave(X)", zsto,zout) |
---|
498 | c |
---|
499 | c CALL histdef(nid_mth,"wvap","Water vapor mixing ratio","kg/kg", |
---|
500 | c . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
501 | c . "ave(X)", zsto,zout) |
---|
502 | c |
---|
503 | CALL histdef(nid_mth, "geop", "Geopotential height", "m", |
---|
504 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
505 | . "ave(X)", zsto,zout) |
---|
506 | c |
---|
507 | CALL histdef(nid_mth, "vitu", "Zonal wind", "m/s", |
---|
508 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
509 | . "ave(X)", zsto,zout) |
---|
510 | c |
---|
511 | CALL histdef(nid_mth, "vitv", "Meridional wind", "m/s", |
---|
512 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
513 | . "ave(X)", zsto,zout) |
---|
514 | c |
---|
515 | CALL histdef(nid_mth, "vitw", "Vertical wind", "Pa/s", |
---|
516 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
517 | . "ave(X)", zsto,zout) |
---|
518 | c |
---|
519 | CALL histdef(nid_mth, "pres", "Air pressure", "Pa", |
---|
520 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
521 | . "ave(X)", zsto,zout) |
---|
522 | c |
---|
523 | CALL histdef(nid_mth, "rneb", "Cloud fraction", "-", |
---|
524 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
525 | . "ave(X)", zsto,zout) |
---|
526 | c |
---|
527 | CALL histdef(nid_mth, "rnebcon", "Convective Cloud Fraction" |
---|
528 | . , "-", |
---|
529 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
530 | . "ave(X)", zsto,zout) |
---|
531 | c |
---|
532 | CALL histdef(nid_mth, "rhum", "Relative humidity", "-", |
---|
533 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
534 | . "ave(X)", zsto,zout) |
---|
535 | c |
---|
536 | CALL histdef(nid_mth, "ozone", "Ozone concentration", "-", |
---|
537 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
538 | . "ave(X)", zsto,zout) |
---|
539 | c |
---|
540 | CALL histdef(nid_mth, "dtphy", "Physics dT", "K/s", |
---|
541 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
542 | . "ave(X)", zsto,zout) |
---|
543 | c |
---|
544 | CALL histdef(nid_mth, "dqphy", "Physics dQ", "kg/kg/s", |
---|
545 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
546 | . "ave(X)", zsto,zout) |
---|
547 | c |
---|
548 | c#define histmthNMC |
---|
549 | c#ifdef histmthNMC |
---|
550 | c#include "ini_histmthNMC.h" |
---|
551 | c#endif |
---|
552 | c |
---|
553 | ENDIF !lev_histmth.GE.2 |
---|
554 | c |
---|
555 | IF(lev_histmth.GE.3) THEN |
---|
556 | c |
---|
557 | DO nsrf=1, nbsrf |
---|
558 | c |
---|
559 | call histdef(nid_mth, "albe_"//clnsurf(nsrf), |
---|
560 | $ "Albedo surf. "//clnsurf(nsrf), "-", |
---|
561 | $ iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
562 | $ "ave(X)", zsto,zout) |
---|
563 | c |
---|
564 | call histdef(nid_mth, "rugs_"//clnsurf(nsrf), |
---|
565 | $ "Latent heat flux "//clnsurf(nsrf), "W/m2", |
---|
566 | $ iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
567 | $ "ave(X)", zsto,zout) |
---|
568 | c |
---|
569 | CALL histdef(nid_mth, "ages_"//clnsurf(nsrf), "Snow age","day", |
---|
570 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
571 | . "ave(X)", zsto,zout) |
---|
572 | c |
---|
573 | ENDDO !nsrf=1, nbsrf |
---|
574 | c |
---|
575 | CALL histdef(nid_mth, "albs", "Surface albedo", "-", |
---|
576 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
577 | . "ave(X)", zsto,zout) |
---|
578 | CALL histdef(nid_mth, "albslw", "Surface albedo LW", "-", |
---|
579 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
580 | . "ave(X)", zsto,zout) |
---|
581 | c |
---|
582 | ENDIF !lev_histmth.GE.3 |
---|
583 | c |
---|
584 | IF(lev_histmth.GE.4) THEN |
---|
585 | c |
---|
586 | CALL histdef(nid_mth, "clwcon", |
---|
587 | . "Convective Cloud Liquid water content" |
---|
588 | . , "kg/kg", |
---|
589 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
590 | . "ave(X)", zsto,zout) |
---|
591 | c |
---|
592 | IF (iflag_con.GE.3) THEN |
---|
593 | c |
---|
594 | CALL histdef(nid_mth,"Ma","undilute adiab updraft","kg/m2/s", |
---|
595 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
596 | . "ave(X)", zsto,zout) |
---|
597 | c |
---|
598 | CALL histdef(nid_mth, "upwd", "saturated updraft", "kg/m2/s", |
---|
599 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
600 | . "ave(X)", zsto,zout) |
---|
601 | c |
---|
602 | CALL histdef(nid_mth, "dnwd", "saturated downdraft","kg/m2/s", |
---|
603 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
604 | . "ave(X)", zsto,zout) |
---|
605 | c |
---|
606 | CALL histdef(nid_mth, "dnwd0", "unsat. downdraft", "kg/m2/s", |
---|
607 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
608 | . "ave(X)", zsto,zout) |
---|
609 | ENDIF !iflag_con.GE.3 |
---|
610 | c |
---|
611 | c |
---|
612 | CALL histdef(nid_mth, "dtdyn", "Dynamics dT", "K/s", |
---|
613 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
614 | . "ave(X)", zsto,zout) |
---|
615 | c |
---|
616 | CALL histdef(nid_mth, "dqdyn", "Dynamics dQ", "kg/kg/s", |
---|
617 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
618 | . "ave(X)", zsto,zout) |
---|
619 | c |
---|
620 | CALL histdef(nid_mth, "dtcon", "Convection dT", "K/s", |
---|
621 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
622 | . "ave(X)", zsto,zout) |
---|
623 | c |
---|
624 | c CALL histdef(nid_mth, "ducon", "Convection du", "m/s2", |
---|
625 | c . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
626 | c . "ave(X)", zsto,zout) |
---|
627 | c |
---|
628 | CALL histdef(nid_mth, "dqcon", "Convection dQ", "kg/kg/s", |
---|
629 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
630 | . "ave(X)", zsto,zout) |
---|
631 | c |
---|
632 | CALL histdef(nid_mth, "dtlsc", "Condensation dT", "K/s", |
---|
633 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
634 | . "ave(X)", zsto,zout) |
---|
635 | cIM: 071003 |
---|
636 | CALL histdef(nid_mth, "dtlschr", |
---|
637 | $ "Large-scale condensational heating rate", "K/s",iim,jjmp1 |
---|
638 | $ ,nhori, klev,1,klev,nvert, 32,"ave(X)", zsto,zout) |
---|
639 | c |
---|
640 | CALL histdef(nid_mth, "dqlsc", "Condensation dQ", "kg/kg/s", |
---|
641 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
642 | . "ave(X)", zsto,zout) |
---|
643 | c |
---|
644 | CALL histdef(nid_mth, "dtvdf", "Boundary-layer dT", "K/s", |
---|
645 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
646 | . "ave(X)", zsto,zout) |
---|
647 | c |
---|
648 | CALL histdef(nid_mth, "dqvdf", "Boundary-layer dQ", "kg/kg/s", |
---|
649 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
650 | . "ave(X)", zsto,zout) |
---|
651 | c |
---|
652 | CALL histdef(nid_mth, "dteva", "Reevaporation dT", "K/s", |
---|
653 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
654 | . "ave(X)", zsto,zout) |
---|
655 | c |
---|
656 | CALL histdef(nid_mth, "dqeva", "Reevaporation dQ", "kg/kg/s", |
---|
657 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
658 | . "ave(X)", zsto,zout) |
---|
659 | |
---|
660 | CALL histdef(nid_mth, "ptconv", "POINTS CONVECTIFS"," ", |
---|
661 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
662 | . "ave(X)", zsto,zout) |
---|
663 | |
---|
664 | CALL histdef(nid_mth, "ratqs", "RATQS"," ", |
---|
665 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
666 | . "ave(X)", zsto,zout) |
---|
667 | |
---|
668 | c |
---|
669 | CALL histdef(nid_mth, "dtajs", "Dry adjust. dT", "K/s", |
---|
670 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
671 | . "ave(X)", zsto,zout) |
---|
672 | |
---|
673 | CALL histdef(nid_mth, "dqajs", "Dry adjust. dQ", "kg/kg/s", |
---|
674 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
675 | . "ave(X)", zsto,zout) |
---|
676 | c |
---|
677 | CALL histdef(nid_mth, "dtswr", "SW radiation dT", "K/s", |
---|
678 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
679 | . "ave(X)", zsto,zout) |
---|
680 | c |
---|
681 | CALL histdef(nid_mth, "dtsw0", "CS SW radiation dT", "K/s", |
---|
682 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
683 | . "ave(X)", zsto,zout) |
---|
684 | c |
---|
685 | CALL histdef(nid_mth, "dtlwr", "LW radiation dT", "K/s", |
---|
686 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
687 | . "ave(X)", zsto,zout) |
---|
688 | c |
---|
689 | CALL histdef(nid_mth,"dtlw0","CS LW radiation dT","K/s", |
---|
690 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
691 | . "ave(X)", zsto,zout) |
---|
692 | c |
---|
693 | CALL histdef(nid_mth, "dtec", "Cinetic dissip dT", "K/s", |
---|
694 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
695 | . "ave(X)", zsto,zout) |
---|
696 | c |
---|
697 | CALL histdef(nid_mth, "duvdf", "Boundary-layer dU", "m/s2", |
---|
698 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
699 | . "ave(X)", zsto,zout) |
---|
700 | c |
---|
701 | CALL histdef(nid_mth, "dvvdf", "Boundary-layer dV", "m/s2", |
---|
702 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
703 | . "ave(X)", zsto,zout) |
---|
704 | c |
---|
705 | IF (ok_orodr) THEN |
---|
706 | CALL histdef(nid_mth, "duoro", "Orography dU", "m/s2", |
---|
707 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
708 | . "ave(X)", zsto,zout) |
---|
709 | c |
---|
710 | CALL histdef(nid_mth, "dvoro", "Orography dV", "m/s2", |
---|
711 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
712 | . "ave(X)", zsto,zout) |
---|
713 | c |
---|
714 | ENDIF |
---|
715 | C |
---|
716 | IF (ok_orolf) THEN |
---|
717 | CALL histdef(nid_mth, "dulif", "Orography dU", "m/s2", |
---|
718 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
719 | . "ave(X)", zsto,zout) |
---|
720 | c |
---|
721 | CALL histdef(nid_mth, "dvlif", "Orography dV", "m/s2", |
---|
722 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
723 | . "ave(X)", zsto,zout) |
---|
724 | ENDIF |
---|
725 | c |
---|
726 | c Effets des aerosols |
---|
727 | c |
---|
728 | c IF (ok_ade.OR.ok_aie) THEN |
---|
729 | CALL histdef(nid_mth, "re", "CDR", "um", |
---|
730 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
731 | . "ave(X)", zsto,zout) |
---|
732 | c |
---|
733 | CALL histdef(nid_mth, "redenom", "CDR denominator", "-", |
---|
734 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
735 | . "ave(X)", zsto,zout) |
---|
736 | c |
---|
737 | CALL histdef(nid_mth, "tau", "cloud opt thickness", "-", |
---|
738 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
739 | . "ave(X)", zsto,zout) |
---|
740 | c |
---|
741 | CALL histdef(nid_mth, "taupi", "cloud opt thickn. (pi)", "-", |
---|
742 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
743 | . "ave(X)", zsto,zout) |
---|
744 | c endif |
---|
745 | c |
---|
746 | if (nqmax.GE.3) THEN |
---|
747 | DO iq=3,nqmax |
---|
748 | iiq=niadv(iq) |
---|
749 | CALL histdef(nid_mth, tnom(iq), ttext(iiq), "-", |
---|
750 | . iim,jjmp1,nhori, klev,1,klev,nvert, 32, |
---|
751 | . "ave(X)", zsto,zout) |
---|
752 | ENDDO |
---|
753 | ENDIF |
---|
754 | c |
---|
755 | ENDIF !lev_histmth.GE.4 |
---|
756 | c |
---|
757 | CALL histend(nid_mth) |
---|
758 | c |
---|
759 | ndex2d = 0 |
---|
760 | ndex3d = 0 |
---|
761 | c |
---|
762 | ENDIF ! fin de test sur ok_mensuel |
---|