source: XIOS/trunk/xios_test_suite/TEST_SUITE/test_domain_algo/context_atm.xml @ 1972

Last change on this file since 1972 was 1972, checked in by yushan, 13 months ago

trunk : debug domain_expand

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