source: XIOS/trunk/generic_testcase/context_atm.xml @ 1904

Last change on this file since 1904 was 1904, checked in by yushan, 4 years ago

trunk : restore the generic_testcase folder for easy testing

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