1 | ! |
---|
2 | ! $Header$ |
---|
3 | ! |
---|
4 | CALL ymds2ju(annee_ref, 1, day_ref, 0.0, zjulian) |
---|
5 | c |
---|
6 | CALL gr_fi_ecrit(1,klon,iim,jjm+1,xlon,zx_lon) |
---|
7 | DO i = 1, iim |
---|
8 | zx_lon(i,1) = xlon(i+1) |
---|
9 | zx_lon(i,jjm+1) = xlon(i+1) |
---|
10 | ENDDO |
---|
11 | CALL gr_fi_ecrit(1,klon,iim,jjm+1,xlat,zx_lat) |
---|
12 | CALL histbeg("histrac", iim,zx_lon(:,1), jjm+1,zx_lat(1,:), |
---|
13 | . 1,iim,1,jjm+1, itau_phy, zjulian, pdtphys, |
---|
14 | . nhori, nid_tra) |
---|
15 | CALL histvert(nid_tra, "presnivs", "Vertical levels", "mb", |
---|
16 | . klev, presnivs, nvert) |
---|
17 | |
---|
18 | #ifdef INCA_AER |
---|
19 | CALL histbeg("histrac_aer", iim,zx_lon(:,1), jjm+1,zx_lat(1,:), |
---|
20 | . 1,iim,1,jjm+1, itau_phy, zjulian, pdtphys, |
---|
21 | . nhori, nid_tra2) |
---|
22 | |
---|
23 | CALL histbeg("histrac_inst", iim,zx_lon, jjm+1,zx_lat, |
---|
24 | . 1,iim,1,jjm+1, itau_phy, zjulian, pdtphys, |
---|
25 | . nhori, nid_tra3) |
---|
26 | |
---|
27 | call histvert(nid_tra2, "presnivs", "Vertical levels", "mb", |
---|
28 | . klev, presnivs, nvert) |
---|
29 | call histvert(nid_tra3, "presnivs", "presnivs", "mb", |
---|
30 | . klev, presnivs, nvert) |
---|
31 | #endif |
---|
32 | |
---|
33 | #ifdef INCA |
---|
34 | ! call histvert(nid_tra, "ap", "Hybrid A parameter", "-", |
---|
35 | ! . klev+1, ap, nverta) |
---|
36 | ! call histvert(nid_tra, "bp", "Hybrid B parameter", "-", |
---|
37 | ! . klev+1, bp, nvertb) |
---|
38 | #endif |
---|
39 | |
---|
40 | zsto = pdtphys |
---|
41 | zout = ecrit_tra |
---|
42 | c |
---|
43 | c print*,'ini_histrac: zsto zout',zsto,zout |
---|
44 | c |
---|
45 | CALL histdef(nid_tra, "phis", "Surface geop. height", "-", |
---|
46 | . iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
47 | . "once", zsto,zout) |
---|
48 | c |
---|
49 | CALL histdef(nid_tra, "aire", "Grid area", "-", |
---|
50 | . iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
51 | . "once", zsto,zout) |
---|
52 | #ifdef INCA |
---|
53 | CALL histdef(nid_tra, "ps", "Surface pressure", "Pa", |
---|
54 | . iim,jjm+1,nhori, 1,1,1,-99, 32, |
---|
55 | . "ave(X)", zsto,zout) |
---|
56 | |
---|
57 | CALL histdef(nid_tra, "ptrop", "Tropopause pressure", "Pa", |
---|
58 | . iim,jjm+1,nhori, 1,1,1,-99, 32, |
---|
59 | . "ave(X)", zsto,zout) |
---|
60 | |
---|
61 | C 3d FIELDS |
---|
62 | CALL histdef(nid_tra, "temp", "Air temperature", "K", |
---|
63 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
64 | . "ave(X)", zsto,zout) |
---|
65 | |
---|
66 | CALL histdef(nid_tra, "u", "zonal wind component", "m/s", |
---|
67 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
68 | . "ave(X)", zsto,zout) |
---|
69 | |
---|
70 | CALL histdef(nid_tra, "v", "zonal wind component", "m/s", |
---|
71 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
72 | . "ave(X)", zsto,zout) |
---|
73 | |
---|
74 | CALL histdef(nid_tra, "h2o", "Specific Humidity", "MMR", |
---|
75 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
76 | . "ave(X)", zsto,zout) |
---|
77 | |
---|
78 | CALL histdef(nid_tra, "pmid", "Pressure", "Pa", |
---|
79 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
80 | . "ave(X)", zsto,zout) |
---|
81 | |
---|
82 | CALL histdef(nid_tra, "pdel", "Delta Pressure", "Pa", |
---|
83 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
84 | . "ave(X)", zsto,zout) |
---|
85 | |
---|
86 | ! MS info |
---|
87 | #ifdef INCA_AER |
---|
88 | CALL histdef(nid_tra, "airm", "Air mass", "kg", |
---|
89 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
90 | . "ave(X)", zsto,zout) |
---|
91 | #endif |
---|
92 | #ifdef INCA |
---|
93 | #ifdef INCAINFO |
---|
94 | |
---|
95 | #ifdef INCA_CH4 |
---|
96 | DO it=1, phtcnt |
---|
97 | WRITE(str2,'(i2.2)') it |
---|
98 | CALL histdef(nid_tra, "j"//str2,"j"//str2, "CM-3 S-1", |
---|
99 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
100 | . "ave(X)", zsto,zout) |
---|
101 | ENDDO |
---|
102 | DO it=1, hetcnt |
---|
103 | WRITE(str2,'(i2.2)') it |
---|
104 | CALL histdef(nid_tra, "w"//str2,"w"//str2, "S-1", |
---|
105 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
106 | . "ave(X)", zsto,zout) |
---|
107 | ENDDO |
---|
108 | |
---|
109 | DO it=1, extcnt |
---|
110 | WRITE(str2,'(i2.2)') it |
---|
111 | CALL histdef(nid_tra, "ext"//str2,"ext"//str2, "CM-3 S-1", |
---|
112 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
113 | . "ave(X)", zsto,zout) |
---|
114 | ENDDO |
---|
115 | #endif |
---|
116 | #ifdef INCA_NMHC |
---|
117 | DO it=1, phtcnt |
---|
118 | WRITE(str2,'(i2.2)') it |
---|
119 | CALL histdef(nid_tra, "j"//str2,"j"//str2, "CM-3 S-1", |
---|
120 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
121 | . "ave(X)", zsto,zout) |
---|
122 | ENDDO |
---|
123 | DO it=1, hetcnt |
---|
124 | WRITE(str2,'(i2.2)') it |
---|
125 | CALL histdef(nid_tra, "w"//str2,"w"//str2, "S-1", |
---|
126 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
127 | . "ave(X)", zsto,zout) |
---|
128 | ENDDO |
---|
129 | DO it=1, extcnt |
---|
130 | WRITE(str2,'(i2.2)') it |
---|
131 | CALL histdef(nid_tra, "ext"//str2,"ext"//str2, "CM-3 S-1", |
---|
132 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
133 | . "ave(X)", zsto,zout) |
---|
134 | ENDDO |
---|
135 | #endif |
---|
136 | DO it=1, nfs |
---|
137 | WRITE(str2,'(i2.2)') it |
---|
138 | CALL histdef(nid_tra, "INV"//str2, "INV"//str2, "CM-3", |
---|
139 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
140 | . "ave(X)", zsto,zout) |
---|
141 | ENDDO |
---|
142 | |
---|
143 | #else |
---|
144 | |
---|
145 | #ifdef INCA_NMHC |
---|
146 | CALL histdef(nid_tra, "jO3","jO3", "CM-3 S-1", |
---|
147 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
148 | . "ave(X)", zsto,zout) |
---|
149 | CALL histdef(nid_tra, "jNO2","jNO2", "CM-3 S-1", |
---|
150 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
151 | . "ave(X)", zsto,zout) |
---|
152 | CALL histdef(nid_tra, "jH2O2","jH2O2", "CM-3 S-1", |
---|
153 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
154 | . "ave(X)", zsto,zout) |
---|
155 | CALL histdef(nid_tra, "wHNO3","wHNO3", "S-1", |
---|
156 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
157 | . "ave(X)", zsto,zout) |
---|
158 | CALL histdef(nid_tra, "kN2O5", "kN2O5","CM-3 S-1", |
---|
159 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
160 | . "ave(X)", zsto,zout) |
---|
161 | CALL histdef(nid_tra, "LghtNO","LghtNO", "CM-3 S-1", |
---|
162 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
163 | . "ave(X)", zsto,zout) |
---|
164 | #endif |
---|
165 | #ifdef INCA_CH4 |
---|
166 | CALL histdef(nid_tra, "jO3","jO3", "CM-3 S-1", |
---|
167 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
168 | . "ave(X)", zsto,zout) |
---|
169 | CALL histdef(nid_tra, "jNO2","jNO2", "CM-3 S-1", |
---|
170 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
171 | . "ave(X)", zsto,zout) |
---|
172 | CALL histdef(nid_tra, "jH2O2","jH2O2", "CM-3 S-1", |
---|
173 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
174 | . "ave(X)", zsto,zout) |
---|
175 | CALL histdef(nid_tra, "wHNO3","wHNO3", "S-1", |
---|
176 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
177 | . "ave(X)", zsto,zout) |
---|
178 | CALL histdef(nid_tra, "kN2O5", "kN2O5","CM-3 S-1", |
---|
179 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
180 | . "ave(X)", zsto,zout) |
---|
181 | CALL histdef(nid_tra, "LghtNO","LghtNO", "CM-3 S-1", |
---|
182 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
183 | . "ave(X)", zsto,zout) |
---|
184 | #endif |
---|
185 | #endif |
---|
186 | |
---|
187 | ! DO it=1, grpcnt |
---|
188 | ! CALL histdef(nid_tra, grpsym(it), grpsym(it), "VMR", |
---|
189 | ! . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
190 | ! . "ave(X)", zsto,zout) |
---|
191 | ! ENDDO |
---|
192 | #endif |
---|
193 | |
---|
194 | #ifdef INCA_AER |
---|
195 | |
---|
196 | CALL histdef(nid_tra2, "scavcoef_st","scavcoef_st", "S-1", |
---|
197 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
198 | . "ave(X)", zsto,zout) |
---|
199 | CALL histdef(nid_tra2, "scavcoef_cv","scavcoef_cv", "S-1", |
---|
200 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
201 | . "ave(X)", zsto,zout) |
---|
202 | CALL histdef(nid_tra2, "AngstroemComp","AngstroemComp", |
---|
203 | . "angs comp", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
204 | . "ave(X)", zsto,zout) |
---|
205 | |
---|
206 | CALL histdef(nid_tra2, "TOTAERH2O", "Total aerosol water", |
---|
207 | . "kg/m2", iim,jjm+1,nhori, klev,1,klev, nvert, 32, |
---|
208 | . "ave(X)", zsto,zout) |
---|
209 | #endif |
---|
210 | #endif |
---|
211 | DO it=1,nqmax |
---|
212 | C champ 2D |
---|
213 | #ifdef INCA |
---|
214 | IF ( prt_flag_ts(it) == 0 ) CYCLE |
---|
215 | |
---|
216 | CALL histdef(nid_tra, "Emi_"//solsym(it), "Emi_"//solsym(it), |
---|
217 | . "kg/m2/s", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
218 | . "ave(X)", zsto,zout) |
---|
219 | CALL histdef(nid_tra, "Dep_"//solsym(it), "Dep_"//solsym(it), |
---|
220 | . "cm/s", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
221 | . "ave(X)", zsto,zout) |
---|
222 | #ifdef INCA_AER |
---|
223 | |
---|
224 | CALL histdef(nid_tra2, "Dry_"//solsym(it), "Dry_"//solsym(it), |
---|
225 | . "kg/m2/s", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
226 | . "ave(X)", zsto,zout) |
---|
227 | |
---|
228 | IF ((it .ge. trmx) .and. (it .le. trnx)) then |
---|
229 | CALL histdef(nid_tra2, "Sed_"//solsym(it), "Sed_"//solsym(it), |
---|
230 | . "kg/m2/s", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
231 | . "ave(X)", zsto,zout) |
---|
232 | CALL histdef(nid_tra2, "Wet_"//solsym(it), "Wet_"//solsym(it), |
---|
233 | . "kg/m2/s", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
234 | . "ave(X)", zsto,zout) |
---|
235 | CALL histdef(nid_tra2, "WetST_"//solsym(it), "WetST_"//solsym(it), |
---|
236 | . "kg/m2/s", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
237 | . "ave(X)", zsto,zout) |
---|
238 | CALL histdef(nid_tra2, "WetCV_"//solsym(it), "WetCV_"//solsym(it), |
---|
239 | . "kg/m2/s", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
240 | . "ave(X)", zsto,zout) |
---|
241 | CALL histdef(nid_tra2, "Emi_alt_"//solsym(it), "Emi_alt_"//solsym(it), |
---|
242 | . "kg/m2/s", iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
243 | . "ave(X)", zsto,zout) |
---|
244 | CALL histdef(nid_tra2, "Load_"//solsym(it), "Load_"//solsym(it), |
---|
245 | . "kg/m2", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
246 | . "ave(X)", zsto,zout) |
---|
247 | CALL histdef(nid_tra2, "SConc_"//solsym(it), "SConc_"//solsym(it), |
---|
248 | . "kg/m3", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
249 | . "ave(X)", zsto,zout) |
---|
250 | do la=1,las |
---|
251 | CALL histdef(nid_tra2, "OD"//cla(la)//"_"//solsym(it), "OD"//cla(la)//"_"//solsym(it), |
---|
252 | . "opt. depth", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
253 | . "ave(X)", zsto,zout) |
---|
254 | |
---|
255 | CALL histdef(nid_tra2, "OD3D"//cla(la)//"_"//solsym(it), "OD3d_"//cla(la)//"_"//solsym(it), |
---|
256 | . "opt. depth 3D", iim,jjm+1,nhori, klev,1,klev, nvert, 32, |
---|
257 | . "ave(X)", zsto,zout) |
---|
258 | enddo |
---|
259 | |
---|
260 | CALL histdef(nid_tra2, "CLOAD_"//solsym(it), "3D LOAD_"//solsym(it), |
---|
261 | . "kg/m2 resp. #/m2", iim,jjm+1,nhori, klev,1,klev, nvert, 32, |
---|
262 | . "ave(X)", zsto,zout) |
---|
263 | |
---|
264 | CALL histdef(nid_tra2, "MD_"//solsym(it), "MD_"//solsym(it), |
---|
265 | . "median diameter [m]", iim,jjm+1,nhori, klev,1,klev, nvert, 32, |
---|
266 | . "ave(X)", zsto,zout) |
---|
267 | |
---|
268 | CALL histdef(nid_tra2, "MDW_"//solsym(it), "MDW_"//solsym(it), |
---|
269 | . "wet median diameter [m]", iim,jjm+1,nhori, klev,1,klev, nvert, 32, |
---|
270 | . "ave(X)", zsto,zout) |
---|
271 | |
---|
272 | |
---|
273 | |
---|
274 | CALL histdef(nid_tra3, "Inst_Load_"//solsym(it), "Inst_Load_"//solsym(it), |
---|
275 | . "kg/m2", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
276 | . "inst(X)", zout,zout) |
---|
277 | |
---|
278 | endif |
---|
279 | |
---|
280 | #endif |
---|
281 | CALL histdef(nid_tra, solsym(it), solsym(it), "VMR", |
---|
282 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
283 | . "ave(X)", zsto,zout) |
---|
284 | #else |
---|
285 | iq=it+2 |
---|
286 | iiq=niadv(iq) |
---|
287 | CALL histdef(nid_tra, tnom(iq), ttext(iiq), "U/kga", |
---|
288 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
289 | . "ave(X)", zsto,zout) |
---|
290 | if (lessivage) THEN |
---|
291 | CALL histdef(nid_tra, "fl"//tnom(iq),"Flux "//ttext(iiq), |
---|
292 | . "U/m2/s",iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
293 | . "ave(X)", zsto,zout) |
---|
294 | endif |
---|
295 | |
---|
296 | c---Ajout Olivia |
---|
297 | CALL histdef(nid_tra, "d_tr_th_"//tnom(iq), |
---|
298 | . "tendance thermique"// ttext(iiq), "?", |
---|
299 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
300 | . "ave(X)", zsto,zout) |
---|
301 | CALL histdef(nid_tra, "d_tr_cv_"//tnom(iq), |
---|
302 | . "tendance convection"// ttext(iiq), "?", |
---|
303 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
304 | . "ave(X)", zsto,zout) |
---|
305 | CALL histdef(nid_tra, "d_tr_cl_"//tnom(iq), |
---|
306 | . "tendance couche limite"// ttext(iiq), "?", |
---|
307 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
308 | . "ave(X)", zsto,zout) |
---|
309 | c---fin Olivia |
---|
310 | |
---|
311 | #endif |
---|
312 | ENDDO |
---|
313 | |
---|
314 | #ifdef INCA |
---|
315 | CALL histdef(nid_tra, "O3_column", "O3_column", |
---|
316 | . "DU", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
317 | . "ave(X)", zsto,zout) |
---|
318 | CALL histdef(nid_tra, "CO_column", "CO_column", |
---|
319 | . "10^18 CM-2", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
320 | . "ave(X)", zsto,zout) |
---|
321 | CALL histdef(nid_tra, "CH4_column", "CH4_column", |
---|
322 | . "10^18 CM-2", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
323 | . "ave(X)", zsto,zout) |
---|
324 | CALL histdef(nid_tra, "NO2_column", "NO2_column", |
---|
325 | . "10^15 CM-2", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
326 | . "ave(X)", zsto,zout) |
---|
327 | CALL histdef(nid_tra, "O3_ste", "O3_ste", |
---|
328 | . "CM-2 S-1", iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
329 | . "ave(X)", zsto,zout) |
---|
330 | CALL histdef(nid_tra, "O3_prod", "O3_prod", "CM-3 S-1", |
---|
331 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
332 | . "ave(X)", zsto,zout) |
---|
333 | CALL histdef(nid_tra, "O3_loss", "O3_loss", "CM-3 S-1", |
---|
334 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
335 | . "ave(X)", zsto,zout) |
---|
336 | |
---|
337 | ! Special variables for daytime averaging |
---|
338 | ! CALL histdef(nid_tra, "day_cnt", "day_cnt", "-", |
---|
339 | ! . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
340 | ! . "t_sum(X)", zsto,zout) |
---|
341 | ! CALL histdef(nid_tra, "NO_day", "NO_day", "VMR", |
---|
342 | ! . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
343 | ! . "t_sum(X)", zsto,zout) |
---|
344 | |
---|
345 | |
---|
346 | |
---|
347 | !! Ajout Anne |
---|
348 | #ifdef INCA_AER |
---|
349 | ! for sulfur cycle |
---|
350 | CALL histdef(nid_tra, "SO2_p_dmsoh", "SO2_p_dmsoh", "CM-3 S-1", |
---|
351 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
352 | . "ave(X)", zsto,zout) |
---|
353 | CALL histdef(nid_tra, "SO2_p_dmsno3", "SO2_p_dmsno3", "CM-3 S-1", |
---|
354 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
355 | . "ave(X)", zsto,zout) |
---|
356 | CALL histdef(nid_tra, "SO2_p_h2soh", "SO2_p_h2soh", "CM-3 S-1", |
---|
357 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
358 | . "ave(X)", zsto,zout) |
---|
359 | CALL histdef(nid_tra, "SO2_p_dmsooh", "SO2_p_dmsooh", "CM-3 S-1", |
---|
360 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
361 | . "ave(X)", zsto,zout) |
---|
362 | CALL histdef(nid_tra, "DMSO_p_dmsoh", "DMSO_p_dmsoh", "CM-3 S-1", |
---|
363 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
364 | . "ave(X)", zsto,zout) |
---|
365 | CALL histdef(nid_tra, "ASMSAM_p_dmsooh", "ASMSAM_p_dmsooh", "CM-3 S-1", |
---|
366 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
367 | . "ave(X)", zsto,zout) |
---|
368 | CALL histdef(nid_tra, "ASSO4M_p_so2oh", "ASSO4M_p_so2oh", "CM-3 S-1", |
---|
369 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
370 | . "ave(X)", zsto,zout) |
---|
371 | CALL histdef(nid_tra, "ASSO4M_p_so2h2o2", "ASSO4M_p_h2o2","CM-3 S-1", |
---|
372 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
373 | . "ave(X)", zsto,zout) |
---|
374 | CALL histdef(nid_tra, "ASSO4M_p_so2o3", "ASSO4M_p_so2o3", "CM-3 S-1", |
---|
375 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
376 | . "ave(X)", zsto,zout) |
---|
377 | |
---|
378 | CALL histdef(nid_tra, "Wet3D_SO2", "Wet3D_SO2", |
---|
379 | . "kg/m2/s", iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
380 | . "ave(X)", zsto,zout) |
---|
381 | CALL histdef(nid_tra, "Wet3D_DMS", "Wet3D_DMS", |
---|
382 | . "kg/m2/s", iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
383 | . "ave(X)", zsto,zout) |
---|
384 | CALL histdef(nid_tra, "Wet3D_HNO3", "Wet3D_HNO3", |
---|
385 | . "kg/m2/s", iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
386 | . "ave(X)", zsto,zout) |
---|
387 | CALL histdef(nid_tra, "Wet3D_H2O2", "Wet3D_H2O2", |
---|
388 | . "kg/m2/s", iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
389 | . "ave(X)", zsto,zout) |
---|
390 | |
---|
391 | CALL histdef(nid_tra, "PH_HIST", "pH over physics time step", "1", |
---|
392 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
393 | . "ave(X)", zsto,zout) |
---|
394 | #endif |
---|
395 | |
---|
396 | #ifdef INCA_CH4 |
---|
397 | DO it=1, grpcnt |
---|
398 | CALL histdef(nid_tra, grpsym(it), grpsym(it), "VMR", |
---|
399 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
400 | . "ave(X)", zsto,zout) |
---|
401 | ENDDO |
---|
402 | |
---|
403 | #endif |
---|
404 | |
---|
405 | |
---|
406 | #ifdef INCA_NMHC |
---|
407 | CALL histdef(nid_tra, "CO2_basprod", "CO2_basprod", "CM-3 S-1", |
---|
408 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
409 | . "ave(X)", zsto,zout) |
---|
410 | CALL histdef(nid_tra, "CO2_nmhcprod", "CO2_nmhcprod", "CM-3 S-1", |
---|
411 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
412 | . "ave(X)", zsto,zout) |
---|
413 | CALL histdef(nid_tra, "CO2_radicalprod", "CO2_radicalprod", "CM-3 S-1", |
---|
414 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
415 | . "ave(X)", zsto,zout) |
---|
416 | CALL histdef(nid_tra, "HNO3_prod", "HNO3_prod", "CM-3 S-1", |
---|
417 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
418 | . "ave(X)", zsto,zout) |
---|
419 | CALL histdef(nid_tra, "HNO3_loss", "HNO3_loss", "CM-3 S-1", |
---|
420 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
421 | . "ave(X)", zsto,zout) |
---|
422 | CALL histdef(nid_tra, "CO_prod", "CO_prod", "CM-3 S-1", |
---|
423 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
424 | . "ave(X)", zsto,zout) |
---|
425 | CALL histdef(nid_tra, "CO_loss", "CO_loss", "CM-3 S-1", |
---|
426 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
427 | . "ave(X)", zsto,zout) |
---|
428 | |
---|
429 | DO it=1, grpcnt |
---|
430 | CALL histdef(nid_tra, grpsym(it), grpsym(it), "VMR", |
---|
431 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
432 | . "ave(X)", zsto,zout) |
---|
433 | ENDDO |
---|
434 | |
---|
435 | |
---|
436 | #endif |
---|
437 | ! Fin ajout Anne |
---|
438 | #else |
---|
439 | CALL histdef(nid_tra, "pyu1", "Vent niv 1", "-", |
---|
440 | . iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
441 | . "inst(X)", zout,zout) |
---|
442 | |
---|
443 | CALL histdef(nid_tra, "pyv1", "Vent niv 1", "-", |
---|
444 | . iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
445 | . "inst(X)", zout,zout) |
---|
446 | CALL histdef(nid_tra, "psrf1", "nature sol", "-", |
---|
447 | . iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
448 | . "inst(X)", zout,zout) |
---|
449 | CALL histdef(nid_tra, "psrf2", "nature sol", "-", |
---|
450 | . iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
451 | . "inst(X)", zout,zout) |
---|
452 | CALL histdef(nid_tra, "psrf3", "nature sol", "-", |
---|
453 | . iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
454 | . "inst(X)", zout,zout) |
---|
455 | CALL histdef(nid_tra, "psrf4", "nature sol", "-", |
---|
456 | . iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
457 | . "inst(X)", zout,zout) |
---|
458 | CALL histdef(nid_tra, "ftsol1", "temper sol", "-", |
---|
459 | . iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
460 | . "inst(X)", zout,zout) |
---|
461 | CALL histdef(nid_tra, "ftsol2", "temper sol", "-", |
---|
462 | . iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
463 | . "inst(X)", zout,zout) |
---|
464 | CALL histdef(nid_tra, "ftsol3", "temper sol", "-", |
---|
465 | . iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
466 | . "inst(X)", zout,zout) |
---|
467 | CALL histdef(nid_tra, "ftsol4", "temper sol", "-", |
---|
468 | . iim,jjm+1,nhori, 1,1,1, -99, 32, |
---|
469 | . "inst(X)", zout,zout) |
---|
470 | CALL histdef(nid_tra, "pplay", "flux u mont","-", |
---|
471 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
472 | . "inst(X)", zout,zout) |
---|
473 | CALL histdef(nid_tra, "t", "flux u mont","-", |
---|
474 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
475 | . "inst(X)", zout,zout) |
---|
476 | CALL histdef(nid_tra, "mfu", "flux u mont","-", |
---|
477 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
478 | . "ave(X)", zsto,zout) |
---|
479 | CALL histdef(nid_tra, "mfd", "flux u decen","-", |
---|
480 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
481 | . "ave(X)", zsto,zout) |
---|
482 | CALL histdef(nid_tra, "en_u", "flux u mont","-", |
---|
483 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
484 | . "ave(X)", zsto,zout) |
---|
485 | CALL histdef(nid_tra, "en_d", "flux u mont","-", |
---|
486 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
487 | . "ave(X)", zsto,zout) |
---|
488 | CALL histdef(nid_tra, "de_d", "flux u mont","-", |
---|
489 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
490 | . "ave(X)", zsto,zout) |
---|
491 | CALL histdef(nid_tra, "de_u", "flux u decen","-", |
---|
492 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
493 | . "ave(X)", zsto,zout) |
---|
494 | CALL histdef(nid_tra, "coefh", "turbulent coef","-", |
---|
495 | . iim,jjm+1,nhori, klev,1,klev,nvert, 32, |
---|
496 | . "ave(X)", zsto,zout) |
---|
497 | |
---|
498 | #endif |
---|
499 | c |
---|
500 | CALL histend(nid_tra) |
---|
501 | #ifdef INCA_AER |
---|
502 | CALL histend(nid_tra2) |
---|
503 | CALL histend(nid_tra3) |
---|
504 | #endif |
---|
505 | ndex2d = 0 |
---|
506 | ndex3d = 0 |
---|
507 | ndex = 0 |
---|