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

Last change on this file since 1921 was 1921, checked in by yushan, 2 years ago

trunk : complete axis transformation tests

File size: 9.7 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  <scalar_definition>
24    <scalar id="scalar" /> 
25  </scalar_definition>
26 
27 
28 
29  <grid_definition>
30   
31    <grid id="grid3D">
32      <domain domain_ref="domain" />
33      <axis axis_ref="axis" />
34    </grid>
35   
36    <grid id="grid2D">
37      <domain domain_ref="domain" />
38    </grid>
39
40    <grid id="grid1D">
41      <axis axis_ref="axis" />
42    </grid>
43   
44
45    <grid id="grid_X">
46      <axis axis_ref="domain_X" />
47    </grid>
48
49    <grid id="grid_Y">
50      <axis axis_ref="domain_Y" />
51    </grid>
52
53    <grid id="grid_XY">
54      <axis axis_ref="domain_X" />
55      <axis axis_ref="domain_Y" />
56    </grid>
57
58    <grid id="grid_XYZ">
59      <axis axis_ref="domain_X" />
60      <axis axis_ref="domain_Y" />
61      <axis axis_ref="axis" />
62    </grid>
63
64    <grid id="grid_XZ">
65      <axis axis_ref="domain_X" />
66      <axis axis_ref="axis" />
67    </grid>
68
69    <grid id="grid_YZ">
70      <axis axis_ref="domain_Y" />
71      <axis axis_ref="axis" />
72    </grid>
73
74
75    <grid id="grid3D_W">
76      <domain domain_ref="domain" />
77      <axis axis_ref="axis" />
78      <axis axis_ref="ensemble" />
79    </grid>
80   
81    <grid id="grid2D_W">
82      <domain domain_ref="domain" />
83      <axis axis_ref="ensemble" />
84    </grid>
85
86    <grid id="grid1D_W">
87      <axis axis_ref="axis" />
88      <axis axis_ref="ensemble" />
89    </grid>
90
91    <grid id="grid_XW">
92      <axis axis_ref="domain_X" />
93      <axis axis_ref="ensemble" />
94    </grid>
95
96    <grid id="grid_YW">
97      <axis axis_ref="domain_Y" />
98      <axis axis_ref="ensemble" />
99    </grid>
100
101    <grid id="grid_XYW">
102      <axis axis_ref="domain_X" />
103      <axis axis_ref="domain_Y" />
104      <axis axis_ref="ensemble" />
105    </grid>
106
107    <grid id="grid_XYZW">
108      <axis axis_ref="domain_X" />
109      <axis axis_ref="domain_Y" />
110      <axis axis_ref="axis" />
111      <axis axis_ref="ensemble" />
112    </grid>
113
114    <grid id="grid_XZW">
115      <axis axis_ref="domain_X" />
116      <axis axis_ref="axis" />
117      <axis axis_ref="ensemble" />
118    </grid>
119
120    <grid id="grid_YZW">
121      <axis axis_ref="domain_Y" />
122      <axis axis_ref="axis" />
123      <axis axis_ref="ensemble" />
124    </grid>
125
126 
127 
128    <grid id="other_grid3D">
129      <domain domain_ref="other_domain" />
130      <axis axis_ref="other_axis" />
131    </grid>
132   
133    <grid id="other_grid2D">
134      <domain domain_ref="other_domain" />
135    </grid>
136
137    <grid id="other_grid1D">
138      <axis axis_ref="other_axis" />
139    </grid>
140
141    <grid id="other_grid_X">
142      <axis axis_ref="other_domain_X" />
143    </grid>
144
145    <grid id="other_grid_Y">
146      <axis axis_ref="other_domain_Y" />
147    </grid>
148
149    <grid id="other_grid_XY">
150      <axis axis_ref="other_domain_X" />
151      <axis axis_ref="other_domain_Y" />
152    </grid>
153
154    <grid id="other_grid_XYZ">
155      <axis axis_ref="other_domain_X" />
156      <axis axis_ref="other_domain_Y" />
157      <axis axis_ref="other_axis" />
158    </grid>
159
160    <grid id="other_grid_XZ">
161      <axis axis_ref="other_domain_X" />
162      <axis axis_ref="other_axis" />
163    </grid>
164
165    <grid id="other_grid_YZ">
166      <axis axis_ref="other_domain_Y" />
167      <axis axis_ref="other_axis" />
168    </grid>
169
170
171    <grid id="other_grid3D_W">
172      <domain domain_ref="other_domain" />
173      <axis axis_ref="other_axis" />
174      <axis axis_ref="other_ensemble" />
175    </grid>
176   
177    <grid id="other_grid2D_W">
178      <domain domain_ref="other_domain" />
179      <axis axis_ref="other_ensemble" />
180    </grid>
181
182    <grid id="other_grid1D_W">
183      <axis axis_ref="other_axis" />
184      <axis axis_ref="other_ensemble" />
185    </grid>
186
187    <grid id="other_grid_XW">
188      <axis axis_ref="other_domain_X" />
189      <axis axis_ref="other_ensemble" />
190    </grid>
191
192    <grid id="other_grid_YW">
193      <axis axis_ref="other_domain_Y" />
194      <axis axis_ref="other_ensemble" />
195    </grid>
196
197    <grid id="other_grid_XYW">
198      <axis axis_ref="other_domain_X" />
199      <axis axis_ref="other_domain_Y" />
200      <axis axis_ref="other_ensemble" />
201    </grid>
202
203    <grid id="other_grid_XYZW">
204      <axis axis_ref="other_domain_X" />
205      <axis axis_ref="other_domain_Y" />
206      <axis axis_ref="other_axis" />
207      <axis axis_ref="other_ensemble" />
208    </grid>
209
210    <grid id="other_grid_XZW">
211      <axis axis_ref="other_domain_X" />
212      <axis axis_ref="other_axis" />
213      <axis axis_ref="other_ensemble" />
214    </grid>
215
216    <grid id="other_grid_YZW">
217      <axis axis_ref="other_domain_Y" />
218      <axis axis_ref="other_axis" />
219      <axis axis_ref="other_ensemble" />
220    </grid>
221
222   
223  </grid_definition>
224 
225 
226  <field_definition level="1" prec="8" operation="instant" freq_op="1ts" enabled=".true." default_value="1.e+20" detect_missing_value="true">
227    <field id="field2D" grid_ref="grid2D" />
228    <field id="field3D" grid_ref="grid3D"  />
229    <field id="pressure" grid_ref="grid3D"  />
230    <field id="field3D_recv" read_access="true" grid_ref="grid3D"  field_ref="field3D" />
231    <field id="field3D_resend" grid_ref="grid3D" />
232
233    <field id="field_X" grid_ref="grid_X" />
234    <field id="field_Y" grid_ref="grid_Y" />
235    <field id="field_Z" grid_ref="grid1D" />
236    <field id="field_XY" grid_ref="grid_XY" />
237    <field id="field_XYZ" grid_ref="grid_XYZ" />
238    <field id="field_XZ" grid_ref="grid_XZ" />
239    <field id="field_YZ" grid_ref="grid_YZ" />
240
241
242    <field id="field2D_W" grid_ref="grid2D_W"/>
243    <field id="field3D_W" grid_ref="grid3D_W"  />
244    <field id="pressure_W" grid_ref="grid3D_W"  />
245    <field id="field3D_recv_W" read_access="true" grid_ref="grid3D_W"  field_ref="field3D_W"/>
246    <field id="field3D_resend_W" grid_ref="grid3D_W" />
247
248    <field id="field_XW" grid_ref="grid_XW" />
249    <field id="field_YW" grid_ref="grid_YW" />
250    <field id="field_ZW" grid_ref="grid1D_W" />
251    <field id="field_XYW" grid_ref="grid_XYW" />
252    <field id="field_XYZW" grid_ref="grid_XYZW" />
253    <field id="field_XZW" grid_ref="grid_XZW" />
254    <field id="field_YZW" grid_ref="grid_YZW" />
255
256
257    <field id="other_field2D" grid_ref="other_grid2D"/>
258    <field id="other_field3D" grid_ref="other_grid3D"  />
259    <field id="other_pressure" grid_ref="other_grid3D"  />
260    <field id="other_field3D_recv" read_access="true" grid_ref="other_grid3D"  field_ref="other_field3D"/>
261    <field id="other_field3D_resend" grid_ref="other_grid3D" />
262
263    <field id="other_field_X" grid_ref="other_grid_X" />
264    <field id="other_field_Y" grid_ref="other_grid_Y" />
265    <field id="other_field_Z" grid_ref="other_grid1D" />
266    <field id="other_field_XY" grid_ref="other_grid_XY" />
267    <field id="other_field_XYZ" grid_ref="other_grid_XYZ" />
268    <field id="other_field_XZ" grid_ref="other_grid_XZ" />
269    <field id="other_field_YZ" grid_ref="other_grid_YZ" />
270
271    <field id="other_field2D_W" grid_ref="other_grid2D_W"/>
272    <field id="other_field3D_W" grid_ref="other_grid3D_W"  />
273    <field id="other_pressure_W" grid_ref="other_grid3D_W"  />
274    <field id="other_field3D_recv_W" read_access="true" grid_ref="other_grid3D_W"  field_ref="other_field3D_W"/>
275    <field id="other_field3D_resend_W" grid_ref="other_grid3D_W" />
276
277    <field id="other_field_XW" grid_ref="other_grid_XW" />
278    <field id="other_field_YW" grid_ref="other_grid_YW" />
279    <field id="other_field_ZW" grid_ref="other_grid1D_W" />
280    <field id="other_field_XYW" grid_ref="other_grid_XYW" />
281    <field id="other_field_XYZW" grid_ref="other_grid_XYZW" />
282    <field id="other_field_XZW" grid_ref="other_grid_XZW" />
283    <field id="other_field_YZW" grid_ref="other_grid_YZW" />
284
285   
286   
287  </field_definition>
288
289
290
291<!-- implementation of specifics test case -->
292<!-- simplest test cases : output data to file -->
293
294 
295
296  <file_definition  type="one_file" >
297    <file id="atm_output_inverse_axis" output_freq="4ts" type="one_file" enabled="true">
298       <field field_ref="field_Z" />
299       <field id="field_inverse_axis" field_ref="field_Z" grid_ref="grid1D_inverse_axis"   />
300    </file>
301
302 
303    <file id="atm_output" output_freq="1ts" type="one_file" enabled="false">
304       <field field_ref="field3D" />
305       <field field_ref="field2D" /> 
306       <field field_ref="field_X" />
307       <field field_ref="field_Y" />
308       <field field_ref="field_XY" />
309       <field field_ref="field_Z" />
310       <field field_ref="field_XYZ" />
311       <field field_ref="field_XZ" />
312       <field field_ref="field_YZ" />
313       <field field_ref="pressure"  /> 
314       <field field_ref="field3D_resend" />
315    </file>
316
317    <file id="atm_output_other" output_freq="1ts" type="one_file" enabled="false">
318       <field field_ref="other_field3D" />
319       <field field_ref="other_field2D" /> 
320       <field field_ref="other_field_X" />
321       <field field_ref="other_field_Y" />
322       <field field_ref="other_field_XY" />
323       <field field_ref="other_field_Z" />
324       <field field_ref="other_field_XYZ" />
325       <field field_ref="other_field_XZ" />
326       <field field_ref="other_field_YZ" />
327       <field field_ref="other_pressure"  /> 
328       <field field_ref="other_field3D_resend" />
329    </file>
330
331    <file id="atm_output_W" output_freq="1ts" enabled="false">
332       <field field_ref="field3D_W" />
333       <field field_ref="field2D_W" /> 
334       <field field_ref="field_XW" />
335       <field field_ref="field_YW" />
336       <field field_ref="field_XYW" />
337       <field field_ref="field_ZW" />
338       <field field_ref="field_XYZW" />
339       <field field_ref="field_XZW" />
340       <field field_ref="field_YZW" />
341    </file>
342   
343   
344  </file_definition>
345 
346 
347</context>
Note: See TracBrowser for help on using the repository browser.