source: XIOS/dev/dev_ym/XIOS_COUPLING/generic_testcase/context_atm.xml @ 2032

Last change on this file since 2032 was 2032, checked in by yushan, 10 months ago

XIOS_COUPLING : add generic_testcase sub files

File size: 14.0 KB
Line 
1<!-- -->
2<context id="atm">
3 
4  <calendar type="Gregorian" time_origin="1850-01-01 00:00:00" /> 
5 
6  <scalar_definition>
7    <scalar id="scalar" /> 
8    <scalar id="other_scalar" /> 
9  </scalar_definition>
10 
11 
12  <axis_definition>
13    <axis id="axis" />
14    <axis id="axis_str" n_glo="10" label="(0,9) [toto titi tata turlututu tito tati tuto tato tete tetu ] "/>
15    <axis id="domain_X" />
16    <axis id="domain_Y" />
17    <axis id="ensemble" />
18
19    <axis id="other_axis" />
20    <axis id="other_domain_X" />
21    <axis id="other_domain_Y" />
22    <axis id="other_ensemble" />
23
24    <axis id="axis_zoom" axis_ref="axis">
25        <zoom_axis begin="0" n="5"/>
26    </axis>
27  </axis_definition>
28
29 
30  <domain_definition>
31    <domain id="domain" />
32    <domain id="other_domain" />
33  </domain_definition>
34 
35 
36 
37  <grid_definition>
38   
39    <grid id="grid3D">
40      <domain domain_ref="domain" />
41      <axis axis_ref="axis" />
42    </grid>
43   
44    <grid id="grid2D">
45      <domain domain_ref="domain" id="grid2D_dom" />
46    </grid>
47
48    <grid id="grid1D">
49      <axis axis_ref="axis" />
50    </grid>
51
52    <grid id="grid0D">
53      <scalar scalar_ref="scalar" />
54    </grid>
55
56    <grid id="grid_X">
57      <axis axis_ref="domain_X" />
58    </grid>
59
60    <grid id="grid_Y">
61      <axis axis_ref="domain_Y" />
62    </grid>
63
64    <grid id="grid_XY">
65      <axis axis_ref="domain_X" />
66      <axis axis_ref="domain_Y" />
67    </grid>
68
69    <grid id="grid_XYZ">
70      <axis axis_ref="domain_X" />
71      <axis axis_ref="domain_Y" />
72      <axis axis_ref="axis" />
73    </grid>
74
75    <grid id="grid_XZ">
76      <axis axis_ref="domain_X" />
77      <axis axis_ref="axis" />
78    </grid>
79
80    <grid id="grid_YZ">
81      <axis axis_ref="domain_Y" />
82      <axis axis_ref="axis" />
83    </grid>
84
85
86    <grid id="grid3D_W">
87      <domain domain_ref="domain" />
88      <axis axis_ref="axis" />
89      <axis axis_ref="ensemble" />
90    </grid>
91   
92    <grid id="grid2D_W">
93      <domain domain_ref="domain" />
94      <axis axis_ref="ensemble" />
95    </grid>
96
97    <grid id="grid1D_W">
98      <axis axis_ref="axis" />
99      <axis axis_ref="ensemble" />
100    </grid>
101
102    <grid id="grid0D_W">
103      <scalar scalar_ref="scalar" />
104      <axis axis_ref="ensemble" />
105    </grid>
106
107    <grid id="grid_XW">
108      <axis axis_ref="domain_X" />
109      <axis axis_ref="ensemble" />
110    </grid>
111
112    <grid id="grid_YW">
113      <axis axis_ref="domain_Y" />
114      <axis axis_ref="ensemble" />
115    </grid>
116
117    <grid id="grid_XYW">
118      <axis axis_ref="domain_X" />
119      <axis axis_ref="domain_Y" />
120      <axis axis_ref="ensemble" />
121    </grid>
122
123    <grid id="grid_XYZW">
124      <axis axis_ref="domain_X" />
125      <axis axis_ref="domain_Y" />
126      <axis axis_ref="axis" />
127      <axis axis_ref="ensemble" />
128    </grid>
129
130    <grid id="grid_XZW">
131      <axis axis_ref="domain_X" />
132      <axis axis_ref="axis" />
133      <axis axis_ref="ensemble" />
134    </grid>
135
136    <grid id="grid_YZW">
137      <axis axis_ref="domain_Y" />
138      <axis axis_ref="axis" />
139      <axis axis_ref="ensemble" />
140    </grid>
141
142 
143    <grid id="other_grid3D">
144      <domain domain_ref="other_domain" />
145      <axis axis_ref="other_axis" />
146    </grid>
147   
148    <grid id="other_grid2D">
149      <domain domain_ref="other_domain" id="test_dom" />
150    </grid>
151
152    <grid id="other_grid1D">
153      <axis axis_ref="other_axis" />
154    </grid>
155
156    <grid id="other_grid0D">
157      <scalar scalar_ref="other_scalar" />
158    </grid>
159
160    <grid id="other_grid_X">
161      <axis axis_ref="other_domain_X" />
162    </grid>
163
164    <grid id="other_grid_Y">
165      <axis axis_ref="other_domain_Y" />
166    </grid>
167
168    <grid id="other_grid_XY">
169      <axis axis_ref="other_domain_X" />
170      <axis axis_ref="other_domain_Y" />
171    </grid>
172
173    <grid id="other_grid_XYZ">
174      <axis axis_ref="other_domain_X" />
175      <axis axis_ref="other_domain_Y" />
176      <axis axis_ref="other_axis" />
177    </grid>
178
179    <grid id="other_grid_XZ">
180      <axis axis_ref="other_domain_X" />
181      <axis axis_ref="other_axis" />
182    </grid>
183
184    <grid id="other_grid_YZ">
185      <axis axis_ref="other_domain_Y" />
186      <axis axis_ref="other_axis" />
187    </grid>
188
189
190    <grid id="other_grid3D_W">
191      <domain domain_ref="other_domain" />
192      <axis axis_ref="other_axis" />
193      <axis axis_ref="other_ensemble" />
194    </grid>
195   
196    <grid id="other_grid2D_W">
197      <domain domain_ref="other_domain" />
198      <axis axis_ref="other_ensemble" />
199    </grid>
200
201    <grid id="other_grid1D_W">
202      <axis axis_ref="other_axis" />
203      <axis axis_ref="other_ensemble" />
204    </grid>
205
206    <grid id="other_grid0D_W">
207      <scalar scalar_ref="other_scalar" />
208      <axis axis_ref="other_ensemble" />
209    </grid>
210
211    <grid id="other_grid_XW">
212      <axis axis_ref="other_domain_X" />
213      <axis axis_ref="other_ensemble" />
214    </grid>
215
216    <grid id="other_grid_YW">
217      <axis axis_ref="other_domain_Y" />
218      <axis axis_ref="other_ensemble" />
219    </grid>
220
221    <grid id="other_grid_XYW">
222      <axis axis_ref="other_domain_X" />
223      <axis axis_ref="other_domain_Y" />
224      <axis axis_ref="other_ensemble" />
225    </grid>
226
227    <grid id="other_grid_XYZW">
228      <axis axis_ref="other_domain_X" />
229      <axis axis_ref="other_domain_Y" />
230      <axis axis_ref="other_axis" />
231      <axis axis_ref="other_ensemble" />
232    </grid>
233
234    <grid id="other_grid_XZW">
235      <axis axis_ref="other_domain_X" />
236      <axis axis_ref="other_axis" />
237      <axis axis_ref="other_ensemble" />
238    </grid>
239
240    <grid id="other_grid_YZW">
241      <axis axis_ref="other_domain_Y" />
242      <axis axis_ref="other_axis" />
243      <axis axis_ref="other_ensemble" />
244    </grid>
245
246
247  </grid_definition>
248 
249 
250  <field_definition level="1" prec="8" operation="instant" freq_op="1ts" enabled=".true." default_value="1.e+20" detect_missing_value="true">
251    <field id="field0D" grid_ref="grid0D"/>
252    <field id="field2D" grid_ref="grid2D" />
253    <field id="field3D" grid_ref="grid3D"  />
254    <field id="pressure" grid_ref="grid3D"  />
255
256   <!-- <field id="field3D_recv" read_access="true" grid_ref="grid3D"  field_ref="field3D"/>
257    <field id="field3D_resend" grid_ref="grid3D" /> -->
258    <field id="field_X" grid_ref="grid_X" />
259    <field id="field_Y" grid_ref="grid_Y" />
260    <field id="field_Z" grid_ref="grid1D" />
261    <field id="field_XY" grid_ref="grid_XY" />
262    <field id="field_XYZ" grid_ref="grid_XYZ" />
263    <field id="field_XZ" grid_ref="grid_XZ" />
264    <field id="field_YZ" grid_ref="grid_YZ" />
265
266    <field id="field_zoom_vert" field_ref="field3D" grid_ref="grid_zoom_vert"  />
267    <field id="field_zoom_vert_sum" field_ref="field_zoom_vert" grid_ref="grid_zoom_vert_sum"  />
268
269
270    <field id="field0D_W" grid_ref="grid0D_W"/>
271    <field id="field2D_W" grid_ref="grid2D_W"/>
272    <field id="field3D_W" grid_ref="grid3D_W"  />
273    <field id="pressure_W" grid_ref="grid3D_W"  />
274<!-- ym disable for now
275    <field id="field3D_recv_W" read_access="true" grid_ref="grid3D_W"  field_ref="field3D_W"/>
276    <field id="field3D_resend_W" grid_ref="grid3D_W" />
277-->
278    <field id="field_XW" grid_ref="grid_XW" />
279    <field id="field_YW" grid_ref="grid_YW" />
280    <field id="field_ZW" grid_ref="grid1D_W" />
281    <field id="field_XYW" grid_ref="grid_XYW" />
282    <field id="field_XYZW" grid_ref="grid_XYZW" />
283    <field id="field_XZW" grid_ref="grid_XZW" />
284    <field id="field_YZW" grid_ref="grid_YZW" />
285
286
287
288    <field id="other_field0D" grid_ref="other_grid0D"/>
289<!--    <field id="other_field2D" grid_ref="other_grid2D"/> -->
290    <field id="other_field2D" grid_ref="zoom1"/>
291    <field id="other_field3D" grid_ref="other_grid3D"  />
292    <field id="other_pressure" grid_ref="other_grid3D"  />
293<!-- ym disable for now
294    <field id="other_field3D_recv" read_access="true" grid_ref="other_grid3D"  field_ref="other_field3D"/>
295    <field id="other_field3D_resend" grid_ref="other_grid3D" />
296-->
297    <field id="other_field_X" grid_ref="other_grid_X" />
298    <field id="other_field_Y" grid_ref="other_grid_Y" />
299    <field id="other_field_Z" grid_ref="other_grid1D" />
300    <field id="other_field_XY" grid_ref="other_grid_XY" />
301    <field id="other_field_XYZ" grid_ref="other_grid_XYZ" />
302    <field id="other_field_XZ" grid_ref="other_grid_XZ" />
303    <field id="other_field_YZ" grid_ref="other_grid_YZ" />
304
305    <field id="other_field0D_W" grid_ref="other_grid0D_W"/>
306    <field id="other_field2D_W" grid_ref="other_grid2D_W"/>
307    <field id="other_field3D_W" grid_ref="other_grid3D_W"  />
308    <field id="other_pressure_W" grid_ref="other_grid3D_W"  />
309<!-- ym disable for now
310    <field id="other_field3D_recv_W" read_access="true" grid_ref="other_grid3D_W"  field_ref="other_field3D_W"/>
311    <field id="other_field3D_resend_W" grid_ref="other_grid3D_W" />
312-->
313    <field id="other_field_XW" grid_ref="other_grid_XW" />
314    <field id="other_field_YW" grid_ref="other_grid_YW" />
315    <field id="other_field_ZW" grid_ref="other_grid1D_W" />
316    <field id="other_field_XYW" grid_ref="other_grid_XYW" />
317    <field id="other_field_XYZW" grid_ref="other_grid_XYZW" />
318    <field id="other_field_XZW" grid_ref="other_grid_XZW" />
319    <field id="other_field_YZW" grid_ref="other_grid_YZW" />
320   
321  </field_definition>
322 
323
324<!-- test transform  -->
325
326
327  <axis_definition>
328    <axis id="axis_inverse" axis_ref="axis">
329      <inverse_axis />
330    </axis>
331
332    <axis id="axis_extract" >
333      <extract_axis begin="1" n="5" />
334    </axis>
335
336
337
338  </axis_definition>
339
340  <domain_definition>
341
342    <domain id="domain_extract">
343      <extract_domain ibegin="0" ni="36" jbegin="2" nj="3" />
344    </domain>
345 
346 
347    <domain id="domain_reorder" >
348      <reorder_domain invert_lat="true" shift_lon_fraction="0.5"/>
349    </domain>
350 
351    <domain id="domain_expand" >
352      <expand_domain order="1" type="edge"/>
353    </domain>
354 
355    <domain id="domain_interpolate" domain_ref="other_domain" >
356      <interpolate_domain detect_missing_value="false"/>
357    </domain>
358 
359    <domain id="domain_connect" >
360      <compute_connectivity_domain type="edge"/>
361    </domain>
362
363    <domain id="domain_recti" ni_glo="40" nj_glo="20" type="rectilinear" />
364
365 
366    <domain id="domain_expand_extract" >
367      <expand_domain order="1" type="edge"/>
368      <extract_domain ibegin="0" ni="38" jbegin="2" nj="3" />
369    </domain>
370 
371
372
373  </domain_definition>
374 
375  <grid_definition>
376 
377    <grid id="grid1D_inverse">
378      <axis axis_ref="axis_inverse" />
379    </grid>
380 
381    <grid id="grid1D_extract">
382      <axis axis_ref="axis_extract" />
383    </grid>
384 
385
386    <grid id="grid2D_extract">
387      <domain domain_ref="domain_extract" />
388    </grid>
389 
390    <grid id="grid2D_zoom">
391      <domain domain_ref="domain_zoom" />
392    </grid>
393 
394
395    <grid id="grid2D_reorder">
396      <domain domain_ref="domain_reorder" />
397    </grid>
398 
399    <grid id="grid2D_expand">
400      <domain domain_ref="domain_expand" />
401    </grid>
402
403    <grid id="grid2D_interpolate">
404      <domain domain_ref="domain_interpolate" />
405    </grid>
406 
407
408    <grid id="grid2D_connect">
409      <domain domain_ref="domain_connect" />
410    </grid>
411
412
413    <grid id="grid2D_recti">
414      <domain domain_ref="domain_recti" >
415        <generate_rectilinear_domain lat_start="-85" lon_start="-175" />
416        <interpolate_domain detect_missing_value="false"/>
417      </domain>
418    </grid>
419 
420    <grid id="grid2D_expand_extract">
421      <domain domain_ref="domain_expand_extract" />
422    </grid>
423 
424    <grid id="grid2D_extract_domain"> 
425      <axis  n_glo="36">
426        <extract_domain position="2" direction="jDir" />
427      </axis>
428    </grid>
429
430    <grid id="grid3D_axis_interpolate">
431      <domain domain_ref="domain"/>
432      <axis n_glo="2" value="(0,1)[40000 20000]">
433        <interpolate_axis coordinate="pressure" />
434      </axis>
435    </grid> 
436 
437    <grid id="grid3D_axis_interpolate_bis">
438      <domain domain_ref="domain"/>
439      <axis n_glo="2" value="(0,1)[40000 20000]">
440        <interpolate_axis />
441      </axis>
442    </grid> 
443
444
445  </grid_definition>
446 
447 
448  <field_definition>
449    <field_group id="fields_with_domain_transformation" operation="instant" >
450      <field id="field2D_extract"  field_ref="field2D" grid_ref="grid2D_extract"/>
451      <field id="field2D_reorder"  field_ref="field2D" grid_ref="grid2D_reorder"/>
452      <field id="field2D_expand"   field_ref="field2D" grid_ref="grid2D_expand"/>
453      <field id="field2D_connect"  field_ref="field2D" grid_ref="grid2D_connect"/>
454      <field id="field2D_interpo"  field_ref="field2D" grid_ref="grid2D_interpolate"/>
455      <field id="field2D_recti"    field_ref="field2D" grid_ref="grid2D_recti"/>
456      <field id="field2D_exp_ext"  field_ref="field2D" grid_ref="grid2D_expand_extract"/>
457      <field id="field2D_reorder_ext"  field_ref="field2D_reorder" grid_ref="grid2D_extract"/>
458    </field_group>
459
460    <field_group id="fields_with_axis_transformation" operation="instant"  >
461      <field id="fieldZ_inverse"   field_ref="field_Z" grid_ref="grid1D_inverse"/>
462      <field id="fieldZ_extract"   field_ref="field_Z" grid_ref="grid1D_extract"/>
463      <field id="field2D_extract_domain"   field_ref="field2D" grid_ref="grid2D_extract_domain"/>
464      <field id="field3D_interpo"  field_ref="field3D" grid_ref="grid3D_axis_interpolate"/>
465      <field id="field3D_interpo_bis"  field_ref="field3D" grid_ref="grid3D_axis_interpolate_bis"/>
466    </field_group>
467
468  </field_definition>
469
470
471
472  <file_definition>
473   
474  <file id="atm_output_domain" output_freq="1ts" type="one_file" enabled="false">
475      <field field_ref="field2D_extract" />
476      <field field_ref="field2D_reorder" />
477      <field field_ref="field2D_expand" />
478      <field field_ref="field2D_interpo" />
479      <field field_ref="field2D_recti" />
480      <field field_ref="field2D_exp_ext" />
481      <field field_ref="field2D_reorder_ext" />
482      <field id="field2D"  />
483  </file>
484     
485  <file id="atm_output_axis" output_freq="4ts" type="one_file" enabled="true">
486      <field field_ref="fieldZ_inverse" enabled="true"  />
487      <field field_ref="fieldZ_extract"  enabled="false"/>
488      <field field_ref="field2D_extract_domain"  enabled="true"/>
489      <field id="field_Z"  enabled="true"/>
490      <field id="field2D"  enabled="true"/>
491  </file>
492     
493  <file id="atm_output_interpolate" output_freq="1ts" type="one_file" enabled="false">
494      <field field_ref="field3D_interpo" />
495      <field field_ref="field3D_interpo_bis" />
496      <field id="field3D"  />
497  </file>
498   
499
500
501  </file_definition>
502
503
504
505 
506</context>
Note: See TracBrowser for help on using the repository browser.