source: XIOS/trunk/xios_test_suite/TEST_SUITE/test_function/context_atm.xml @ 1841

Last change on this file since 1841 was 1807, checked in by ymipsl, 2 years ago

XIOS test suite : files for test suite algorithm

YM

File size: 12.5 KB
Line 
1<!-- -->
2<context id="atm">
3 
4  <calendar type="Gregorian" time_origin="1850-01-01 00:00:00" /> 
5 
6  <domain_definition>
7    <domain id="domain" />
8    <domain id="other_domain" />
9  </domain>
10 
11  <axis_definition>
12    <axis id="axis" />
13    <axis id="axis_dup" />
14    <axis id="domain_X" />
15    <axis id="domain_Y" />
16    <axis id="ensemble" />
17
18    <axis id="other_axis" />
19    <axis id="other_domain_X" />
20    <axis id="other_domain_Y" />
21    <axis id="other_ensemble" />
22  </axis_definition>
23
24  <axis_definition>
25    <axis id="axis_zoom" axis_ref="axis">
26        <zoom_axis begin="0" n="5"/>
27    </axis>
28  </axis_definition>
29
30  <scalar_definition>
31    <scalar id="scalar" /> 
32  </scalar_definition>
33 
34 
35 
36  <grid_definition>
37   
38    <grid id="grid3D">
39      <domain domain_ref="domain" />
40      <axis axis_ref="axis" />
41    </grid>
42   
43    <grid id="grid2D">
44      <domain domain_ref="domain" />
45    </grid>
46
47    <grid id="grid1D">
48      <axis axis_ref="axis" />
49    </grid>
50
51    <grid id="grid_X">
52      <axis axis_ref="domain_X" />
53    </grid>
54
55    <grid id="grid_Y">
56      <axis axis_ref="domain_Y" />
57    </grid>
58
59    <grid id="grid_XY">
60      <axis axis_ref="domain_X" />
61      <axis axis_ref="domain_Y" />
62    </grid>
63
64    <grid id="grid_XYZ">
65      <axis axis_ref="domain_X" />
66      <axis axis_ref="domain_Y" />
67      <axis axis_ref="axis" />
68    </grid>
69
70    <grid id="grid_XZ">
71      <axis axis_ref="domain_X" />
72      <axis axis_ref="axis" />
73    </grid>
74
75    <grid id="grid_YZ">
76      <axis axis_ref="domain_Y" />
77      <axis axis_ref="axis" />
78    </grid>
79
80
81    <grid id="grid3D_W">
82      <domain domain_ref="domain" />
83      <axis axis_ref="axis" />
84      <axis axis_ref="ensemble" />
85    </grid>
86   
87    <grid id="grid2D_W">
88      <domain domain_ref="domain" />
89      <axis axis_ref="ensemble" />
90    </grid>
91
92    <grid id="grid1D_W">
93      <axis axis_ref="axis" />
94      <axis axis_ref="ensemble" />
95    </grid>
96
97    <grid id="grid_XW">
98      <axis axis_ref="domain_X" />
99      <axis axis_ref="ensemble" />
100    </grid>
101
102    <grid id="grid_YW">
103      <axis axis_ref="domain_Y" />
104      <axis axis_ref="ensemble" />
105    </grid>
106
107    <grid id="grid_XYW">
108      <axis axis_ref="domain_X" />
109      <axis axis_ref="domain_Y" />
110      <axis axis_ref="ensemble" />
111    </grid>
112
113    <grid id="grid_XYZW">
114      <axis axis_ref="domain_X" />
115      <axis axis_ref="domain_Y" />
116      <axis axis_ref="axis" />
117      <axis axis_ref="ensemble" />
118    </grid>
119
120    <grid id="grid_XZW">
121      <axis axis_ref="domain_X" />
122      <axis axis_ref="axis" />
123      <axis axis_ref="ensemble" />
124    </grid>
125
126    <grid id="grid_YZW">
127      <axis axis_ref="domain_Y" />
128      <axis axis_ref="axis" />
129      <axis axis_ref="ensemble" />
130    </grid>
131
132 
133 
134 
135 
136 
137    <grid id="other_grid3D">
138      <domain domain_ref="other_domain" />
139      <axis axis_ref="other_axis" />
140    </grid>
141   
142    <grid id="other_grid2D">
143      <domain domain_ref="other_domain" />
144    </grid>
145
146    <grid id="other_grid1D">
147      <axis axis_ref="other_axis" />
148    </grid>
149
150    <grid id="other_grid_X">
151      <axis axis_ref="other_domain_X" />
152    </grid>
153
154    <grid id="other_grid_Y">
155      <axis axis_ref="other_domain_Y" />
156    </grid>
157
158    <grid id="other_grid_XY">
159      <axis axis_ref="other_domain_X" />
160      <axis axis_ref="other_domain_Y" />
161    </grid>
162
163    <grid id="other_grid_XYZ">
164      <axis axis_ref="other_domain_X" />
165      <axis axis_ref="other_domain_Y" />
166      <axis axis_ref="other_axis" />
167    </grid>
168
169    <grid id="other_grid_XZ">
170      <axis axis_ref="other_domain_X" />
171      <axis axis_ref="other_axis" />
172    </grid>
173
174    <grid id="other_grid_YZ">
175      <axis axis_ref="other_domain_Y" />
176      <axis axis_ref="other_axis" />
177    </grid>
178
179
180    <grid id="other_grid3D_W">
181      <domain domain_ref="other_domain" />
182      <axis axis_ref="other_axis" />
183      <axis axis_ref="other_ensemble" />
184    </grid>
185   
186    <grid id="other_grid2D_W">
187      <domain domain_ref="other_domain" />
188      <axis axis_ref="other_ensemble" />
189    </grid>
190
191    <grid id="other_grid1D_W">
192      <axis axis_ref="other_axis" />
193      <axis axis_ref="other_ensemble" />
194    </grid>
195
196    <grid id="other_grid_XW">
197      <axis axis_ref="other_domain_X" />
198      <axis axis_ref="other_ensemble" />
199    </grid>
200
201    <grid id="other_grid_YW">
202      <axis axis_ref="other_domain_Y" />
203      <axis axis_ref="other_ensemble" />
204    </grid>
205
206    <grid id="other_grid_XYW">
207      <axis axis_ref="other_domain_X" />
208      <axis axis_ref="other_domain_Y" />
209      <axis axis_ref="other_ensemble" />
210    </grid>
211
212    <grid id="other_grid_XYZW">
213      <axis axis_ref="other_domain_X" />
214      <axis axis_ref="other_domain_Y" />
215      <axis axis_ref="other_axis" />
216      <axis axis_ref="other_ensemble" />
217    </grid>
218
219    <grid id="other_grid_XZW">
220      <axis axis_ref="other_domain_X" />
221      <axis axis_ref="other_axis" />
222      <axis axis_ref="other_ensemble" />
223    </grid>
224
225    <grid id="other_grid_YZW">
226      <axis axis_ref="other_domain_Y" />
227      <axis axis_ref="other_axis" />
228      <axis axis_ref="other_ensemble" />
229    </grid>
230
231
232
233
234
235
236
237
238
239
240    <grid id="grid_vert_reduce">
241      <domain domain_ref="domain" />
242      <scalar >
243        <reduce_axis operation="sum" />
244      </scalar>
245    </grid>
246
247    <grid id="grid_horiz_reduce">
248      <scalar >
249        <reduce_domain operation="sum" />
250      </scalar>
251      <axis axis_ref="axis" />
252    </grid>
253     
254    <grid id="grid_zoom_vert">
255      <domain domain_ref="domain" />
256      <axis axis_ref="axis_zoom" />
257    </grid>
258
259    <grid id="grid_zoom_vert_sum">
260      <scalar >
261        <reduce_domain operation="sum" />
262      </scalar>
263      <axis axis_ref="axis_zoom" />
264    </grid>
265
266   <grid id="grid_lat">
267       <axis axis_ref="domain_Y">
268         <reduce_domain direction="iDir" operation="sum"/> 
269       </axis>
270       <axis axis_ref="axis" />
271    </grid>
272   
273
274    <grid id="grid3D_invert">
275      <domain domain_ref="domain">
276        <reorder_domain invert_lat="true" />
277      </domain>
278      <axis axis_ref="axis" />
279    </grid>
280   
281    <grid id="grid2D_invert">
282      <domain domain_ref="domain">
283        <reorder_domain invert_lat="true" shift_lon_fraction="0.5" min_lon="0" max_lon="360"/>
284      </domain>
285    </grid>
286
287   
288  </grid_definition>
289 
290 
291  <field_definition level="1" prec="8" operation="instant" freq_op="1ts" enabled=".true." default_value="1.e+20" detect_missing_value="true">
292    <field id="field2D" grid_ref="grid2D" build_workflow_graph="false" />
293    <field id="field3D" grid_ref="grid3D" build_workflow_graph="true"  />
294    <field id="pressure" grid_ref="grid3D"  />
295    <field id="field3D_recv" read_access="true" grid_ref="grid3D"  field_ref="field3D" />
296    <field id="field3D_resend" grid_ref="grid3D" />
297
298    <field id="field_X" grid_ref="grid_X" build_workflow_graph="false" />
299    <field id="field_Y" grid_ref="grid_Y" build_workflow_graph="false" />
300    <field id="field_Z" grid_ref="grid1D" build_workflow_graph="false" />
301    <field id="field_XY" grid_ref="grid_XY" />
302    <field id="field_XYZ" grid_ref="grid_XYZ" />
303    <field id="field_XZ" grid_ref="grid_XZ" />
304    <field id="field_YZ" grid_ref="grid_YZ" />
305
306    <field id="field_zoom_vert" field_ref="field3D" grid_ref="grid_zoom_vert"  />
307    <field id="field_zoom_vert_sum" field_ref="field_zoom_vert" grid_ref="grid_zoom_vert_sum"  />
308
309
310
311    <field id="field2D_W" grid_ref="grid2D_W"/>
312    <field id="field3D_W" grid_ref="grid3D_W"  />
313    <field id="pressure_W" grid_ref="grid3D_W"  />
314    <field id="field3D_recv_W" read_access="true" grid_ref="grid3D_W"  field_ref="field3D_W"/>
315    <field id="field3D_resend_W" grid_ref="grid3D_W" />
316
317    <field id="field_XW" grid_ref="grid_XW" />
318    <field id="field_YW" grid_ref="grid_YW" />
319    <field id="field_ZW" grid_ref="grid1D_W" />
320    <field id="field_XYW" grid_ref="grid_XYW" />
321    <field id="field_XYZW" grid_ref="grid_XYZW" />
322    <field id="field_XZW" grid_ref="grid_XZW" />
323    <field id="field_YZW" grid_ref="grid_YZW" />
324
325
326
327
328    <field id="other_field2D" grid_ref="other_grid2D"/>
329    <field id="other_field3D" grid_ref="other_grid3D"  />
330    <field id="other_pressure" grid_ref="other_grid3D"  />
331    <field id="other_field3D_recv" read_access="true" grid_ref="other_grid3D"  field_ref="other_field3D"/>
332    <field id="other_field3D_resend" grid_ref="other_grid3D" />
333
334    <field id="other_field_X" grid_ref="other_grid_X" />
335    <field id="other_field_Y" grid_ref="other_grid_Y" />
336    <field id="other_field_Z" grid_ref="other_grid1D" />
337    <field id="other_field_XY" grid_ref="other_grid_XY" />
338    <field id="other_field_XYZ" grid_ref="other_grid_XYZ" />
339    <field id="other_field_XZ" grid_ref="other_grid_XZ" />
340    <field id="other_field_YZ" grid_ref="other_grid_YZ" />
341
342    <field id="other_field2D_W" grid_ref="other_grid2D_W"/>
343    <field id="other_field3D_W" grid_ref="other_grid3D_W"  />
344    <field id="other_pressure_W" grid_ref="other_grid3D_W"  />
345    <field id="other_field3D_recv_W" read_access="true" grid_ref="other_grid3D_W"  field_ref="other_field3D_W"/>
346    <field id="other_field3D_resend_W" grid_ref="other_grid3D_W" />
347
348    <field id="other_field_XW" grid_ref="other_grid_XW" />
349    <field id="other_field_YW" grid_ref="other_grid_YW" />
350    <field id="other_field_ZW" grid_ref="other_grid1D_W" />
351    <field id="other_field_XYW" grid_ref="other_grid_XYW" />
352    <field id="other_field_XYZW" grid_ref="other_grid_XYZW" />
353    <field id="other_field_XZW" grid_ref="other_grid_XZW" />
354    <field id="other_field_YZW" grid_ref="other_grid_YZW" />
355
356
357
358
359   
360   
361  </field_definition>
362 
363
364  <file_definition  type="one_file" >
365   
366
367     <file id="atm_output" output_freq="4ts" enabled="true" >
368       
369       <field field_ref="field2D" operation="average" enabled="true"/>
370       <field field_ref="field3D" operation="average" enabled="false"/>
371       <field field_ref="pressure" operation="average" enabled="false"/>
372       <field field_ref="field3D_recv" operation="average" enabled="false"/>
373       <field field_ref="field3D_resend" operation="average" enabled="false"/>
374       
375       <!-- <field field_ref="field_X" operation="average" enabled="true"/>
376       <field field_ref="field_Y" operation="average" enabled="true"/>
377       <field field_ref="field_Z" operation="average" enabled="true"/>
378       <field field_ref="field_XY" operation="average" enabled="true"/>
379       <field field_ref="field_XYZ" operation="average" enabled="true"/>
380       <field field_ref="field_XZ" operation="average" enabled="true"/>
381       <field field_ref="field_YZ" operation="average" enabled="true"/>
382       
383       <field field_ref="field_zoom_vert" operation="average" enabled="true"/>
384       <field field_ref="field_zoom_vert_sum" operation="average" enabled="true"/> -->
385       
386    </file>
387
388
389    <file id="atm_output_ensemble" output_freq="4ts" enabled="false">
390       <field field_ref="field2D_W" operation="average" />
391       <field field_ref="field3D_W" operation="average" />
392       <field field_ref="pressure_W" operation="average" />
393       <field field_ref="field3D_recv_W" operation="average" />
394       <field field_ref="field3D_resend_W" operation="average" />
395
396       <field field_ref="field_XW" operation="average" enabled="false" />
397       <field field_ref="field_YW" operation="average" enabled="false" />
398       <field field_ref="field_XYW" operation="average" enabled="false" />
399       <field field_ref="field_ZW" operation="average" enabled="false" />
400       <field field_ref="field_XYZW" operation="average" enabled="false" />
401       <field field_ref="field_XZW" operation="average" enabled="false" />
402       <field field_ref="field_YZW" operation="average" enabled="false" />
403    </file>
404
405
406    <file id="atm_output_other" output_freq="1ts"  enabled="false">
407       <field field_ref="other_field3D" enabled="false"/>
408       <field field_ref="other_field2D" enabled="true"/> 
409       <field field_ref="other_field_X" enabled="false"/>
410       <field field_ref="other_field_Y" enabled="false"/>
411       <field field_ref="other_field_XY" enabled="false"/>
412       <field field_ref="other_field_Z" enabled="false"/>
413       <field field_ref="other_field_XYZ" enabled="false"/>
414       <field field_ref="other_field_XZ" enabled="false"/>
415       <field field_ref="other_field_YZ" enabled="false"/>
416    </file>
417   
418
419    <file id="atm_output_reorder" output_freq="1ts" enabled="false" >
420       <field field_ref="field2D" grid_ref="grid2D_invert" enabled="true"/>
421    </file>
422   
423    <file id="test_grid_lat" output_freq="1ts" enabled="false">
424      <field field_ref="field3D" operation="instant" />
425      <field id="field_reduce_lat" field_ref="field3D" grid_ref="grid_lat" operation="instant" />
426    </file>
427   
428  </file_definition>
429 
430 
431</context>
Note: See TracBrowser for help on using the repository browser.