1 | c |
---|
2 | zstophy = dtime |
---|
3 | cIM 030306 zout = dtime * FLOAT(ecrit_day) |
---|
4 | zout = ecrit_day |
---|
5 | c |
---|
6 | idayref = day_ref |
---|
7 | CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian) |
---|
8 | c |
---|
9 | CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlon,zx_lon) |
---|
10 | DO i = 1, iim |
---|
11 | zx_lon(i,1) = rlon(i+1) |
---|
12 | zx_lon(i,jjmp1) = rlon(i+1) |
---|
13 | ENDDO |
---|
14 | CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlat,zx_lat) |
---|
15 | c |
---|
16 | CALL histbeg("paramLMDZ_phy.nc", |
---|
17 | . iim,zx_lon(:,1), jjmp1,zx_lat(1,:), |
---|
18 | . 1,1,1,1, |
---|
19 | . itau_phy, zjulian, dtime, |
---|
20 | . nhori, nid_ctesGCM) |
---|
21 | c |
---|
22 | c Variables type caractere : plusieurs valeurs possibles |
---|
23 | c |
---|
24 | CALL histdef(nid_ctesGCM, "ocean", |
---|
25 | . "Type ocean utilise: 1=force, 2=slab, 3=couple", |
---|
26 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
27 | . "once", zstophy,zout) |
---|
28 | c |
---|
29 | CALL histdef(nid_ctesGCM, "ok_slab_sicOBS", |
---|
30 | ."ok_slab_sicOBS= 1: glace de mer observee, =0: gl.mer calculee |
---|
31 | . par le slab", "-", |
---|
32 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
33 | . "once", zstophy,zout) |
---|
34 | c |
---|
35 | CALL histdef(nid_ctesGCM, "type_run", |
---|
36 | . "Type run: 1= CLIM ou ENSP, 2= AMIP ou CFMI", |
---|
37 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
38 | . "once", zstophy,zout) |
---|
39 | c |
---|
40 | c Variables logiques (1=true, 0=false) |
---|
41 | c |
---|
42 | CALL histdef(nid_ctesGCM, "ok_veget", |
---|
43 | . "Type de modele de vegetation: 1=ORCHIDEE, 0=bucket", |
---|
44 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
45 | . "once", zstophy,zout) |
---|
46 | c |
---|
47 | CALL histdef(nid_ctesGCM, "ok_journe", |
---|
48 | . "Creation du fichier histday: 1=true, 0=false", |
---|
49 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
50 | . "once", zstophy,zout) |
---|
51 | c |
---|
52 | CALL histdef(nid_ctesGCM, "ok_mensuel", |
---|
53 | . "Creation du fichier histmth: 1=true, 0=false", |
---|
54 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
55 | . "once", zstophy,zout) |
---|
56 | c |
---|
57 | CALL histdef(nid_ctesGCM, "ok_instan", |
---|
58 | . "Creation du fichier histins: 1=true, 0=false", |
---|
59 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
60 | . "once", zstophy,zout) |
---|
61 | c |
---|
62 | CALL histdef(nid_ctesGCM, "ok_ade", |
---|
63 | . "Aerosol direct effect: 1=true, 0=false", |
---|
64 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
65 | . "once", zstophy,zout) |
---|
66 | c |
---|
67 | CALL histdef(nid_ctesGCM, "ok_aie", |
---|
68 | . "Aerosol indirect effect: 1=true, 0=false", |
---|
69 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
70 | . "once", zstophy,zout) |
---|
71 | c |
---|
72 | CALL histdef(nid_ctesGCM, "bl95_b0", |
---|
73 | . "Parameter in CDNC-maer link (Boucher&Lohmann 1995)", |
---|
74 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
75 | . "ave(X)", zstophy,zout) |
---|
76 | c |
---|
77 | CALL histdef(nid_ctesGCM, "bl95_b1", |
---|
78 | . "Parameter in CDNC-maer link (Boucher&Lohmann 1995)", |
---|
79 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
80 | . "ave(X)", zstophy,zout) |
---|
81 | c |
---|
82 | CALL histdef(nid_ctesGCM, "ip_ebil_phy", |
---|
83 | . "Niveau sortie diags bilan energie cote physique", |
---|
84 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
85 | . "ave(X)", zstophy,zout) |
---|
86 | c |
---|
87 | CALL histdef(nid_ctesGCM, "R_ecc", |
---|
88 | . "Excentricite","-", |
---|
89 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
90 | . "once", zstophy,zout) |
---|
91 | c |
---|
92 | CALL histdef(nid_ctesGCM, "R_peri", |
---|
93 | . "Equinoxe","-", |
---|
94 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
95 | . "once", zstophy,zout) |
---|
96 | c |
---|
97 | CALL histdef(nid_ctesGCM, "R_incl", |
---|
98 | . "Inclinaison","deg", |
---|
99 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
100 | . "once", zstophy,zout) |
---|
101 | c |
---|
102 | CALL histdef(nid_ctesGCM, "solaire", |
---|
103 | . "Constante solaire","W/m2", |
---|
104 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
105 | . "once", zstophy,zout) |
---|
106 | c |
---|
107 | CALL histdef(nid_ctesGCM, "co2_ppm", |
---|
108 | . "Concentration du CO2", "ppm", |
---|
109 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
110 | . "ave(X)", zstophy,zout) |
---|
111 | c |
---|
112 | CALL histdef(nid_ctesGCM, "CH4_ppb", |
---|
113 | . "Concentration du CH4", "ppb", |
---|
114 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
115 | . "ave(X)", zstophy,zout) |
---|
116 | c |
---|
117 | CALL histdef(nid_ctesGCM, "N2O_ppb", |
---|
118 | . "Concentration du N2O", "ppb", |
---|
119 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
120 | . "ave(X)", zstophy,zout) |
---|
121 | c |
---|
122 | CALL histdef(nid_ctesGCM, "CFC11_ppt", |
---|
123 | . "Concentration du CFC11", "ppt", |
---|
124 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
125 | . "ave(X)", zstophy,zout) |
---|
126 | c |
---|
127 | CALL histdef(nid_ctesGCM, "CFC12_ppt", |
---|
128 | . "Concentration du CFC12", "ppt", |
---|
129 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
130 | . "ave(X)", zstophy,zout) |
---|
131 | c |
---|
132 | CALL histdef(nid_ctesGCM, "epmax", |
---|
133 | . "Efficacite precip", "-", |
---|
134 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
135 | . "once", zstophy,zout) |
---|
136 | c |
---|
137 | CALL histdef(nid_ctesGCM, "ok_adj_ema", |
---|
138 | . "ok_adj_ema: 1=true, 0=false", "-", |
---|
139 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
140 | . "once", zstophy,zout) |
---|
141 | c |
---|
142 | CALL histdef(nid_ctesGCM, "iflag_clw", |
---|
143 | . "iflag_clw", "-", |
---|
144 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
145 | . "once", zstophy,zout) |
---|
146 | c |
---|
147 | CALL histdef(nid_ctesGCM, "cld_lc_lsc", |
---|
148 | . "cld_lc_lsc", "-", |
---|
149 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
150 | . "once", zstophy,zout) |
---|
151 | c |
---|
152 | CALL histdef(nid_ctesGCM, "cld_lc_con", |
---|
153 | . "cld_lc_con", "-", |
---|
154 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
155 | . "once", zstophy,zout) |
---|
156 | c |
---|
157 | CALL histdef(nid_ctesGCM, "cld_tau_lsc", |
---|
158 | . "cld_tau_lsc", "-", |
---|
159 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
160 | . "once", zstophy,zout) |
---|
161 | c |
---|
162 | CALL histdef(nid_ctesGCM, "cld_tau_con", |
---|
163 | . "cld_tau_con", "-", |
---|
164 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
165 | . "once", zstophy,zout) |
---|
166 | c |
---|
167 | CALL histdef(nid_ctesGCM, "ffallv_lsc", |
---|
168 | . "ffallv_lsc", "-", |
---|
169 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
170 | . "once", zstophy,zout) |
---|
171 | c |
---|
172 | CALL histdef(nid_ctesGCM, "ffallv_con", |
---|
173 | . "ffallv_con", "-", |
---|
174 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
175 | . "once", zstophy,zout) |
---|
176 | c |
---|
177 | CALL histdef(nid_ctesGCM, "coef_eva", |
---|
178 | . "coef_eva", "-", |
---|
179 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
180 | . "once", zstophy,zout) |
---|
181 | c |
---|
182 | CALL histdef(nid_ctesGCM, "reevap_ice", |
---|
183 | . "reevap_ice: 1=true, 0=false", "-", |
---|
184 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
185 | . "once", zstophy,zout) |
---|
186 | c |
---|
187 | CALL histdef(nid_ctesGCM, "iflag_cldcon", |
---|
188 | . "iflag_cldcon", "-", |
---|
189 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
190 | . "once", zstophy,zout) |
---|
191 | c |
---|
192 | CALL histdef(nid_ctesGCM, "iflag_pdf", |
---|
193 | . "iflag_pdf", "-", |
---|
194 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
195 | . "once", zstophy,zout) |
---|
196 | c |
---|
197 | CALL histdef(nid_ctesGCM, "fact_cldcon", |
---|
198 | . "fact_cldcon", "-", |
---|
199 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
200 | . "once", zstophy,zout) |
---|
201 | c |
---|
202 | CALL histdef(nid_ctesGCM, "facttemps", |
---|
203 | . "facttemps", "-", |
---|
204 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
205 | . "once", zstophy,zout) |
---|
206 | c |
---|
207 | CALL histdef(nid_ctesGCM, "ok_newmicro", |
---|
208 | . "Nouvelle micro-physique: 1=true, 0=false", |
---|
209 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
210 | . "once", zstophy,zout) |
---|
211 | c |
---|
212 | CALL histdef(nid_ctesGCM, "ratqsbas", |
---|
213 | . "ratqsbas", "-", |
---|
214 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
215 | . "once", zstophy,zout) |
---|
216 | c |
---|
217 | CALL histdef(nid_ctesGCM, "ratqshaut", |
---|
218 | . "ratqshaut", "-", |
---|
219 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
220 | . "once", zstophy,zout) |
---|
221 | c |
---|
222 | CALL histdef(nid_ctesGCM, "rad_froid", |
---|
223 | . "rad_froid", "-", |
---|
224 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
225 | . "once", zstophy,zout) |
---|
226 | c |
---|
227 | CALL histdef(nid_ctesGCM, "rad_chau1", |
---|
228 | . "rad_chau1", "-", |
---|
229 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
230 | . "once", zstophy,zout) |
---|
231 | c |
---|
232 | CALL histdef(nid_ctesGCM, "rad_chau2", |
---|
233 | . "rad_chau2", "-", |
---|
234 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
235 | . "once", zstophy,zout) |
---|
236 | c |
---|
237 | CALL histdef(nid_ctesGCM, "top_height", |
---|
238 | . "top_height", "-", |
---|
239 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
240 | . "once", zstophy,zout) |
---|
241 | c |
---|
242 | CALL histdef(nid_ctesGCM, "overlap", |
---|
243 | . "overlap", "-", |
---|
244 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
245 | . "once", zstophy,zout) |
---|
246 | c |
---|
247 | CALL histdef(nid_ctesGCM, "cdmmax", |
---|
248 | . "cdmmax", "-", |
---|
249 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
250 | . "once", zstophy,zout) |
---|
251 | c |
---|
252 | CALL histdef(nid_ctesGCM, "cdhmax", |
---|
253 | . "cdhmax", "-", |
---|
254 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
255 | . "once", zstophy,zout) |
---|
256 | c |
---|
257 | CALL histdef(nid_ctesGCM, "ksta", |
---|
258 | . "ksta", "-", |
---|
259 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
260 | . "once", zstophy,zout) |
---|
261 | c |
---|
262 | CALL histdef(nid_ctesGCM, "ksta_ter", |
---|
263 | . "ksta_ter", "-", |
---|
264 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
265 | . "once", zstophy,zout) |
---|
266 | c |
---|
267 | CALL histdef(nid_ctesGCM, "ok_kzmin", |
---|
268 | . "ok_kzmin: 1=true, 0=false", "-", |
---|
269 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
270 | . "once", zstophy,zout) |
---|
271 | c |
---|
272 | CALL histdef(nid_ctesGCM, "iflag_pbl", |
---|
273 | . "iflag_pbl", "-", |
---|
274 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
275 | . "once", zstophy,zout) |
---|
276 | c |
---|
277 | CALL histdef(nid_ctesGCM, "lev_histhf", |
---|
278 | . "lev_histhf", "-", |
---|
279 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
280 | . "once", zstophy,zout) |
---|
281 | c |
---|
282 | CALL histdef(nid_ctesGCM, "lev_histday", |
---|
283 | . "lev_histday", "-", |
---|
284 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
285 | . "once", zstophy,zout) |
---|
286 | c |
---|
287 | CALL histdef(nid_ctesGCM, "lev_histmth", |
---|
288 | . "lev_histmth", "-", |
---|
289 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
290 | . "once", zstophy,zout) |
---|
291 | c |
---|
292 | CALL histdef(nid_ctesGCM, "ok_isccp", |
---|
293 | . "Creation fichier histISCCP: 1=true, 0=false", |
---|
294 | . "-",iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
295 | . "once", zstophy,zout) |
---|
296 | c |
---|
297 | CALL histdef(nid_ctesGCM, "lonmin_ins", |
---|
298 | . "lonmin_ins", "-", |
---|
299 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
300 | . "once", zstophy,zout) |
---|
301 | c |
---|
302 | CALL histdef(nid_ctesGCM, "lonmax_ins", |
---|
303 | . "lonmax_ins", "-", |
---|
304 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
305 | . "once", zstophy,zout) |
---|
306 | c |
---|
307 | CALL histdef(nid_ctesGCM, "latmin_ins", |
---|
308 | . "latmin_ins", "-", |
---|
309 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
310 | . "once", zstophy,zout) |
---|
311 | c |
---|
312 | CALL histdef(nid_ctesGCM, "latmax_ins", |
---|
313 | . "latmax_ins", "-", |
---|
314 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
315 | . "once", zstophy,zout) |
---|
316 | c |
---|
317 | CALL histdef(nid_ctesGCM, "ecrit_ins", |
---|
318 | . "ecrit_ins", "-", |
---|
319 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
320 | . "once", zstophy,zout) |
---|
321 | c |
---|
322 | CALL histdef(nid_ctesGCM, "ecrit_hf", |
---|
323 | . "ecrit_hf", "-", |
---|
324 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
325 | . "once", zstophy,zout) |
---|
326 | c |
---|
327 | CALL histdef(nid_ctesGCM, "ecrit_day", |
---|
328 | . "ecrit_day", "-", |
---|
329 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
330 | . "once", zstophy,zout) |
---|
331 | c |
---|
332 | CALL histdef(nid_ctesGCM, "ecrit_mth", |
---|
333 | . "ecrit_mth", "-", |
---|
334 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
335 | . "once", zstophy,zout) |
---|
336 | c |
---|
337 | CALL histdef(nid_ctesGCM, "ecrit_tra", |
---|
338 | . "ecrit_tra", "-", |
---|
339 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
340 | . "once", zstophy,zout) |
---|
341 | c |
---|
342 | CALL histdef(nid_ctesGCM, "ecrit_reg", |
---|
343 | . "ecrit_reg", "-", |
---|
344 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
345 | . "once", zstophy,zout) |
---|
346 | c |
---|
347 | CALL histdef(nid_ctesGCM, "freqin_isccp", |
---|
348 | . "freqin_isccp", "-", |
---|
349 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
350 | . "once", zstophy,zout) |
---|
351 | c |
---|
352 | CALL histdef(nid_ctesGCM, "freqout_isccp", |
---|
353 | . "freqout_isccp", "-", |
---|
354 | . iim,jjmp1,nhori, 1,1,1, -99, 32, |
---|
355 | . "once", zstophy,zout) |
---|
356 | c |
---|
357 | c================================================================= |
---|
358 | c |
---|
359 | CALL histend(nid_ctesGCM) |
---|
360 | c |
---|
361 | c================================================================= |
---|