1 | <!-- =========================================================================================================== --> |
---|
2 | <!-- DYNAMICO context --> |
---|
3 | <!-- context_dynamico.xml : Configuration file for DYNAMICO for reading and writing files using XIOS --> |
---|
4 | <!-- --> |
---|
5 | <!-- =========================================================================================================== --> |
---|
6 | |
---|
7 | <context id="icosagcm" > |
---|
8 | <calendar type="d360" start_date="2000-01-01 00:00:00" time_origin="2000-01-01 00:00:00"/> |
---|
9 | |
---|
10 | <!-- =========================================================================================================== --> |
---|
11 | <!-- Definition of all existing variables in field_def_dynamico.xml --> |
---|
12 | <!-- =========================================================================================================== --> |
---|
13 | <field_definition src="./field_def_dynamico.xml" /> |
---|
14 | |
---|
15 | |
---|
16 | <!-- =========================================================================================================== --> |
---|
17 | <!-- Definition of restart files and other input files --> |
---|
18 | <!-- =========================================================================================================== --> |
---|
19 | <file_definition type="one_file" par_access="collective"> |
---|
20 | |
---|
21 | <file id="output" name="output" enabled=".FALSE." output_freq="1ts" sync_freq="1ts" output_level="10" > |
---|
22 | <field_group group_ref="standard_output"/> |
---|
23 | </file> |
---|
24 | |
---|
25 | <!-- =========================================================================================================== --> |
---|
26 | <!-- Writing restart file --> |
---|
27 | <!-- =========================================================================================================== --> |
---|
28 | |
---|
29 | <file id="restart" enabled="true"> |
---|
30 | <field_group id="group_restart" operation="once"> |
---|
31 | <field id="it_restart" name="iteration" grid_ref="scalar" /> |
---|
32 | |
---|
33 | <field_group domain_ref="i" prec="8"> |
---|
34 | <field id="xcell_restart" name="xcell" /> |
---|
35 | <field id="ycell_restart" name="ycell" /> |
---|
36 | <field id="zcell_restart" name="zcell" /> |
---|
37 | <field id="ps_restart" name="ps" /> |
---|
38 | <field id="phis_restart" name="phis" /> |
---|
39 | <field_group axis_ref="lev" > |
---|
40 | <field id="theta_rhodz_restart" name="theta_rhodz" /> |
---|
41 | <field id="u_restart" name="u" domain_ref="u"/> |
---|
42 | <field id="ulon_restart" name="ulon" /> |
---|
43 | <field id="ulat_restart" name="ulat" /> |
---|
44 | <field id="p_restart" name="p" /> |
---|
45 | |
---|
46 | <field_group id="tracers_restart"> |
---|
47 | <!-- tracers will be add atomatically here--> |
---|
48 | </field_group> |
---|
49 | |
---|
50 | </field_group> |
---|
51 | |
---|
52 | <field_group id="non_hydro_restart" axis_ref="levp1" > |
---|
53 | <!-- this group will be activated automatically if needed --> |
---|
54 | <field id="geopot_restart" name="geopot" /> |
---|
55 | <field id="W_restart" name="W" /> |
---|
56 | </field_group> |
---|
57 | |
---|
58 | </field_group> |
---|
59 | </field_group> |
---|
60 | </file> |
---|
61 | |
---|
62 | <!-- =========================================================================================================== --> |
---|
63 | <!-- Writing initial state file (when not previously read from start file) --> |
---|
64 | <!-- =========================================================================================================== --> |
---|
65 | |
---|
66 | <file id="start0" mode="write" output_freq="1ts" enabled="true"> |
---|
67 | <field_group id="group_start0" operation="once"> |
---|
68 | <field id="it_start0" name="iteration" grid_ref="scalar" /> |
---|
69 | |
---|
70 | <field_group domain_ref="i" prec="8"> |
---|
71 | <field id="xcell_start0" name="xcell" /> |
---|
72 | <field id="ycell_start0" name="ycell" /> |
---|
73 | <field id="zcell_start0" name="zcell" /> |
---|
74 | <field id="ps_start0" name="ps" /> |
---|
75 | <field id="phis_start0" name="phis" /> |
---|
76 | <field_group axis_ref="lev" > |
---|
77 | <field id="theta_rhodz_start0" name="theta_rhodz" /> |
---|
78 | <field id="u_start0" name="u" domain_ref="u"/> |
---|
79 | <field id="ulon_start0" name="ulon" /> |
---|
80 | <field id="ulat_start0" name="ulat" /> |
---|
81 | <field id="p_start0" name="p" /> |
---|
82 | |
---|
83 | <field_group id="tracers_start0"> |
---|
84 | <!-- tracers will be add atomatically here--> |
---|
85 | </field_group> |
---|
86 | |
---|
87 | </field_group> |
---|
88 | </field_group> |
---|
89 | </field_group> |
---|
90 | </file> |
---|
91 | |
---|
92 | <!-- =========================================================================================================== --> |
---|
93 | <!-- reading start file --> |
---|
94 | <!-- =========================================================================================================== --> |
---|
95 | |
---|
96 | <file id="start" enabled="false" mode="read"> |
---|
97 | <field_group id="group_start" operation="once"> |
---|
98 | <field id="it_start" name="iteration" grid_ref="scalar" /> |
---|
99 | <field_group domain_ref="i" prec="8"> |
---|
100 | |
---|
101 | <field id="xcell_start" name="xcell" /> |
---|
102 | <field id="ycell_start" name="ycell" /> |
---|
103 | <field id="zcell_start" name="zcell" /> |
---|
104 | <field id="ps_start" name="ps" /> |
---|
105 | <field id="phis_start" name="phis" /> |
---|
106 | |
---|
107 | <field_group axis_ref="lev" > |
---|
108 | <field id="theta_rhodz_start" name="theta_rhodz" /> |
---|
109 | <field id="u_start" name="u" domain_ref="u"/> |
---|
110 | <field id="ulon_start" name="ulon" /> |
---|
111 | <field id="ulat_start" name="ulat" /> |
---|
112 | |
---|
113 | <field_group id="tracers_start"> |
---|
114 | <!-- tracers will be add atomatically here--> |
---|
115 | </field_group> |
---|
116 | </field_group> |
---|
117 | |
---|
118 | <field_group id="non_hydro_start" axis_ref="levp1" > |
---|
119 | <!-- this group will be activated automatically if needed --> |
---|
120 | <field id="geopot_start" name="geopot" /> |
---|
121 | <field id="W_start" name="W" /> |
---|
122 | </field_group> |
---|
123 | |
---|
124 | </field_group> |
---|
125 | </field_group> |
---|
126 | </file> |
---|
127 | |
---|
128 | <!-- =========================================================================================================== --> |
---|
129 | <!-- reading start file and perform interpolation (restarting from a different resolution) --> |
---|
130 | <!-- =========================================================================================================== --> |
---|
131 | |
---|
132 | <file id="start_interp" enabled="false" mode="read"> |
---|
133 | <field_group operation="once"> |
---|
134 | <field id="it_start_interp" name="iteration" grid_ref="scalar" /> |
---|
135 | <field_group domain_ref="i_start_interp_read" prec="8"> |
---|
136 | <field id="ps_start_interp_read" name="ps" /> |
---|
137 | <field id="phis_start_interp_read" name="phis" /> |
---|
138 | <field_group axis_ref="lev_start_interp_read" > |
---|
139 | <field id="theta_rhodz_start_interp_read" name="theta_rhodz" /> |
---|
140 | <field id="ulon_start_interp_read" name="ulon" /> |
---|
141 | <field id="ulat_start_interp_read" name="ulat" /> |
---|
142 | <field id="p_start_interp_read" name="p" /> |
---|
143 | |
---|
144 | <field_group id="tracers_start_interp_read"> |
---|
145 | <!-- tracers will be add atomatically here--> |
---|
146 | </field_group> |
---|
147 | |
---|
148 | </field_group> |
---|
149 | </field_group> |
---|
150 | </field_group> |
---|
151 | </file> |
---|
152 | |
---|
153 | </file_definition> |
---|
154 | |
---|
155 | <field_definition> |
---|
156 | <field_group id="start_interp"> |
---|
157 | <field_group domain_ref="i_start_interp" > |
---|
158 | <field id="ps_start_interp" field_ref="ps_start_interp_read" /> |
---|
159 | <field id="phis_start_interp" field_ref="phis_start_interp_read" /> |
---|
160 | |
---|
161 | <field id="p_start_interp_horiz" field_ref="p_start_interp_read" axis_ref="lev_start_interp_read"/> |
---|
162 | |
---|
163 | <field_group axis_ref="lev_start_interp" > |
---|
164 | <field id="theta_rhodz_start_interp" field_ref="theta_rhodz_start_interp_read" /> |
---|
165 | <field id="ulon_start_interp" field_ref="ulon_start_interp_read" /> |
---|
166 | <field id="ulat_start_interp" field_ref="ulat_start_interp_read" /> |
---|
167 | |
---|
168 | <field_group id="tracers_start_interp"> |
---|
169 | <!-- tracers will be add atomatically here--> |
---|
170 | </field_group> |
---|
171 | </field_group> |
---|
172 | |
---|
173 | </field_group> |
---|
174 | </field_group> |
---|
175 | |
---|
176 | <field id="p_start_interp" domain_ref="i" axis_ref="lev" /> |
---|
177 | |
---|
178 | </field_definition> |
---|
179 | |
---|
180 | <domain_definition> |
---|
181 | <domain id="i_start_interp_read" type="unstructured" > |
---|
182 | <generate_rectilinear_domain/> |
---|
183 | </domain> |
---|
184 | |
---|
185 | <domain id="i_start_interp" domain_ref="i"> |
---|
186 | <interpolate_domain order="1" /> |
---|
187 | </domain> |
---|
188 | |
---|
189 | </domain_definition> |
---|
190 | |
---|
191 | <axis_definition> |
---|
192 | <axis id="lev_start_interp_read" /> |
---|
193 | <axis id="lev_start_interp" axis_ref="lev"> |
---|
194 | <interpolate_axis order="1" coordinate_src="p_start_interp_horiz" coordinate_dst="p_start_interp" extrapolate="true"/> |
---|
195 | </axis> |
---|
196 | </axis_definition> |
---|
197 | |
---|
198 | |
---|
199 | <!-- ========================================================================================================================= --> |
---|
200 | <!-- Pressure is automatically resent at initialization to XIOS workflow to optionnaly do an interpolation in pressure level --> |
---|
201 | <!-- And reinject tracer in the initial state --> |
---|
202 | <!-- ========================================================================================================================= --> |
---|
203 | |
---|
204 | <field_definition> |
---|
205 | <field id="p_init0" domain_ref="i" axis_ref="lev"/> |
---|
206 | <field id="ps_init0" domain_ref="i" /> |
---|
207 | </field_definition> |
---|
208 | |
---|
209 | |
---|
210 | |
---|
211 | |
---|
212 | <!-- =========================================================================================================== --> |
---|
213 | <!-- read field from file for etat0_database --> |
---|
214 | <!-- =========================================================================================================== --> |
---|
215 | <field_definition> |
---|
216 | |
---|
217 | <field_group id="read_fields" enabled="false" operation="instant"> |
---|
218 | |
---|
219 | <!-- field_ref attribute will be added automatically from model --> |
---|
220 | <!-- folowing etat0_database_type option "legacy" or "ERA5_forcing "--> |
---|
221 | <!-- ex : <field id="ps_db" field_ref="ps_db_legacy"> --> |
---|
222 | |
---|
223 | <field id="relief_db" domain_ref="from_relief" read_access="true" /> |
---|
224 | <field_group domain_ref="from_ecdyn" read_access="true" > |
---|
225 | <field id="ps_db" /> |
---|
226 | <field id="z_db" /> |
---|
227 | <field id="ts_db" /> |
---|
228 | <field_group axis_ref="lev_ecdyn" > |
---|
229 | <field id="u_db" /> |
---|
230 | <field id="v_db" /> |
---|
231 | <field id="temp_db" /> |
---|
232 | <field id="q_db" /> |
---|
233 | </field_group> |
---|
234 | </field_group> |
---|
235 | |
---|
236 | </field_group> |
---|
237 | |
---|
238 | </field_definition> |
---|
239 | |
---|
240 | |
---|
241 | <file_definition> |
---|
242 | <file_group id="read_files_legacy" enabled="false" > |
---|
243 | |
---|
244 | <file id="relief" name="Relief" type="one_file" mode="read" output_freq="10ts"> |
---|
245 | <field id="relief_db_legacy" name="RELIEF" domain_ref="domain_relief" operation="instant" /> |
---|
246 | </file> |
---|
247 | |
---|
248 | |
---|
249 | |
---|
250 | <file id="ECDYN" name="ECDYN" type="one_file" mode="read" output_freq="10ts"> |
---|
251 | <field_group domain_ref="domain_ecdyn" operation="instant"> |
---|
252 | <field id="ps_db_legacy" name="SP" /> |
---|
253 | <field id="z_db_legacy" name="Z" /> |
---|
254 | <field id="ts_db_legacy" name="ST" /> |
---|
255 | <field_group axis_ref="lev_ecdyn" > |
---|
256 | <field id="u_db_legacy" name="U" /> |
---|
257 | <field id="v_db_legacy" name="V" /> |
---|
258 | <field id="temp_db_legacy" name="TEMP" /> |
---|
259 | <field id="q_db_legacy" name="R" /> |
---|
260 | </field_group> |
---|
261 | </field_group> |
---|
262 | </file> |
---|
263 | |
---|
264 | </file_group> |
---|
265 | |
---|
266 | <file_group id="read_files_ERA5_forcing" enabled="false" > |
---|
267 | |
---|
268 | <file name="nudging_forcing" type="one_file" mode="read" output_freq="1000y" time_counter_name="time"> |
---|
269 | <field id="relief_db_forcing" name="z" domain_ref="domain_relief" operation="once"> this/9.81 </field> |
---|
270 | |
---|
271 | <field_group domain_ref="domain_ecdyn" operation="once"> |
---|
272 | <field id="ps_db_forcing" name="sp" /> |
---|
273 | <field id="z_db_forcing" name="z" /> |
---|
274 | <field id="ts_db_forcing" name="t2m" /> |
---|
275 | <field_group axis_ref="lev_ecdyn" > |
---|
276 | <field id="u_db_forcing" name="u" /> |
---|
277 | <field id="v_db_forcing" name="v" /> |
---|
278 | <field id="temp_db_forcing" name="t" /> |
---|
279 | <field id="q_db_forcing" name="r" /> |
---|
280 | </field_group> |
---|
281 | </field_group> |
---|
282 | </file> |
---|
283 | |
---|
284 | </file_group> |
---|
285 | </file_definition> |
---|
286 | |
---|
287 | |
---|
288 | <!-- =========================================================================================================== --> |
---|
289 | <!-- Axis definitions --> |
---|
290 | <!-- =========================================================================================================== --> |
---|
291 | <axis_definition prec="8"> |
---|
292 | <axis id="lev" name="lev" positive="down" standard_name="atmopshere_hybrid_sigma_pressure_coordinate" long_name="hybrid level at midpoints" axis_type="Z"/> |
---|
293 | <axis id="levp1" name="ilev" unit="level" positive="down" standard_name="atmopshere_hybride_sigma_pressure_coordinate" long_name="hybrid level at interface" axis_type="Z" /> |
---|
294 | <axis id="nq" name="nq" /> |
---|
295 | <axis id="nq_start" name="nq" /> |
---|
296 | <axis id="lev_ecdyn" /> |
---|
297 | |
---|
298 | |
---|
299 | <axis id="lev_pressure" positive="down" n_glo="2" unit="Pa" value="(0,1)[85000 50000]" > |
---|
300 | <interpolate_axis order="1" coordinate="p" /> |
---|
301 | </axis> |
---|
302 | |
---|
303 | <axis id="presnivs_mb" > |
---|
304 | <interpolate_axis order="1" /> |
---|
305 | </axis> |
---|
306 | </axis_definition> |
---|
307 | |
---|
308 | <!-- =========================================================================================================== --> |
---|
309 | <!-- Domain definitions --> |
---|
310 | <!-- =========================================================================================================== --> |
---|
311 | <domain_definition prec="8"> |
---|
312 | |
---|
313 | <domain_group id="i"> |
---|
314 | <domain id="i" name="mesh"/> |
---|
315 | |
---|
316 | <domain id="from_relief" > |
---|
317 | <interpolate_domain/> |
---|
318 | </domain> |
---|
319 | |
---|
320 | <domain id="from_ecdyn" > |
---|
321 | <interpolate_domain/> |
---|
322 | </domain> |
---|
323 | </domain_group> |
---|
324 | |
---|
325 | <domain id="v" /> |
---|
326 | <domain id="u" /> |
---|
327 | |
---|
328 | <domain id="regular_half_degree" type="rectilinear" ni_glo="720" nj_glo="360" > |
---|
329 | <generate_rectilinear_domain /> |
---|
330 | <interpolate_domain order="1"/> |
---|
331 | </domain> |
---|
332 | |
---|
333 | <domain id="regular_one_degree" type="rectilinear" ni_glo="360" nj_glo="180" > |
---|
334 | <generate_rectilinear_domain /> |
---|
335 | <interpolate_domain order="1"/> |
---|
336 | </domain> |
---|
337 | |
---|
338 | <domain id="regular_two_degree" type="rectilinear" ni_glo="180" nj_glo="90" > |
---|
339 | <generate_rectilinear_domain /> |
---|
340 | <interpolate_domain order="1"/> |
---|
341 | </domain> |
---|
342 | |
---|
343 | <domain id="domain_relief" type="rectilinear" > |
---|
344 | <generate_rectilinear_domain /> |
---|
345 | </domain> |
---|
346 | |
---|
347 | <domain id="domain_ecdyn" type="rectilinear" > |
---|
348 | <generate_rectilinear_domain /> |
---|
349 | </domain> |
---|
350 | |
---|
351 | </domain_definition> |
---|
352 | |
---|
353 | <scalar_definition> |
---|
354 | <scalar id="scalar" /> |
---|
355 | </scalar_definition> |
---|
356 | |
---|
357 | <!-- =========================================================================================================== --> |
---|
358 | <!-- Grid definitions --> |
---|
359 | <!-- =========================================================================================================== --> |
---|
360 | <grid_definition> |
---|
361 | <grid id="scalar"> |
---|
362 | <scalar /> |
---|
363 | </grid> |
---|
364 | |
---|
365 | <grid id="grid_q"> |
---|
366 | <domain domain_ref="i" /> |
---|
367 | <axis axis_ref="lev" /> |
---|
368 | <axis axis_ref="nq" /> |
---|
369 | </grid> |
---|
370 | |
---|
371 | <grid id="grid_q_start"> |
---|
372 | <domain domain_ref="i" /> |
---|
373 | <axis axis_ref="lev" /> |
---|
374 | <axis axis_ref="nq_start" /> |
---|
375 | </grid> |
---|
376 | |
---|
377 | <grid id="grid_q_regular_two_degree"> |
---|
378 | <domain domain_ref="regular_two_degree" /> |
---|
379 | <axis axis_ref="lev" /> |
---|
380 | <axis axis_ref="nq" /> |
---|
381 | </grid> |
---|
382 | |
---|
383 | <grid id="grid_q_regular_one_degree"> |
---|
384 | <domain domain_ref="regular_one_degree" /> |
---|
385 | <axis axis_ref="lev" /> |
---|
386 | <axis axis_ref="nq" /> |
---|
387 | </grid> |
---|
388 | |
---|
389 | <grid id="grid_q_regular_alf_degree"> |
---|
390 | <domain domain_ref="regular_half_degree" /> |
---|
391 | <axis axis_ref="lev" /> |
---|
392 | <axis axis_ref="nq" /> |
---|
393 | </grid> |
---|
394 | |
---|
395 | |
---|
396 | </grid_definition> |
---|
397 | |
---|
398 | </context> |
---|