Ticket #149: context_atm.xml

File context_atm.xml, 13.4 KB (added by yushan, 23 months ago)
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    <file id="atm_output" output_freq="1ts" type="one_file" enabled="true">
367<!--      <field field_ref="field3D" />
368      <field field_ref="field2D" />
369      <field field_ref="field3D" grid_ref="grid_vert_reduce" name="field_vert_reduced" />
370      <field field_ref="field3D" grid_ref="grid_horiz_reduce" name="field_horiz_reduced" />
371      <field field_ref="field_zoom_vert"  />
372      <field field_ref="field_zoom_vert_sum"  />
373      <field field_ref="pressure"  />
374      <field field_ref="field3D_resend" /> -->
375       
376       <field id="id_field3D" field_ref="field3D" enabled="true"/>
377       <field id="id_field2D" field_ref="field2D" enabled="false"/>
378
379       <field id="id_fieldX" field_ref="field_X" enabled="false"/>
380       <field id="id_fieldY" field_ref="field_Y" enabled="false"/>
381       <field id="id_fieldZ" field_ref="field_Z" enabled="false"/>
382
383       <field id="id_fieldXY" field_ref="field_XY" enabled="false"/>
384       <field id="id_fieldXZ" field_ref="field_XZ" enabled="false"/>
385       <field id="id_fieldYZ" field_ref="field_YZ" enabled="false"/>
386
387       <field id="id_fieldXYZ" field_ref="field_XYZ" enabled="false"/>
388    </file>
389
390     <file id="atm_output_operation" output_freq="4ts" enabled="true">
391       <field id="field3D_ave" field_ref="field3D" operation="average" enabled="true"/>
392       <field id="field3D_max" field_ref="field3D" operation="maximum" enabled="true"/>
393       <field id="field3D_min" field_ref="field3D" operation="minimum" enabled="true"/>
394       <field id="field3D_sum" field_ref="field3D" operation="accumulate" enabled="true"/>
395    </file>
396
397
398<!--     <file id="atm_output_Xdecomp" output_freq="4ts" type="multiple_file" enabled="false">
399       <field id="id_fieldX" field_ref="field_X" enabled="true"/>
400    </file>
401
402    <file id="atm_output_Ydecomp" output_freq="4ts" enabled="false">
403       <field id="id_field3D" field_ref="field3D" enabled="true"/>
404       <field id="id_field2D" field_ref="field2D" enabled="true"/>
405
406       <field id="id_fieldY" field_ref="field_Y" enabled="true"/>
407
408       <field id="id_fieldXY" field_ref="field_XY" enabled="true"/>
409
410       <field id="id_fieldXYZ" field_ref="field_XYZ" enabled="true"/>
411    </file>
412
413    <file id="atm_output_Zdecomp" output_freq="4ts" enabled="false">
414       <field id="id_fieldZ" field_ref="field_Z" enabled="true"/>
415
416       <field id="id_fieldXZ" field_ref="field_XZ" enabled="true"/>
417       <field id="id_fieldYZ" field_ref="field_YZ" enabled="true"/>
418    </file> -->
419
420
421    <file id="atm_output_other" output_freq="1ts"  enabled="false">
422       <field field_ref="other_field3D" enabled="false"/>
423       <field field_ref="other_field2D" enabled="true"/> 
424       <field field_ref="other_field_X" enabled="false"/>
425       <field field_ref="other_field_Y" enabled="false"/>
426       <field field_ref="other_field_XY" enabled="false"/>
427       <field field_ref="other_field_Z" enabled="false"/>
428       <field field_ref="other_field_XYZ" enabled="false"/>
429       <field field_ref="other_field_XZ" enabled="false"/>
430       <field field_ref="other_field_YZ" enabled="false"/>
431    </file>
432
433    <file id="atm_output_W" output_freq="1ts" enabled="false">
434       <field field_ref="field3D_W" enabled="true"/>
435       <field field_ref="field2D_W" enabled="true"/> 
436       <field field_ref="field_XW" enabled="true"/>
437       <field field_ref="field_YW" enabled="true"/>
438       <field field_ref="field_XYW" enabled="true"/>
439       <field field_ref="field_ZW" enabled="true"/>
440       <field field_ref="field_XYZW" enabled="true"/>
441       <field field_ref="field_XZW" enabled="true"/>
442       <field field_ref="field_YZW" enabled="true"/>
443    </file>
444   
445
446    <file id="atm_output_reorder" output_freq="1ts" enabled="false" >
447       <field field_ref="field2D" grid_ref="grid2D_invert" enabled="true"/>
448    </file>
449   
450    <file id="test_grid_lat" output_freq="1ts" enabled="false">
451      <field field_ref="field3D" operation="instant" />
452      <field id="field_reduce_lat" field_ref="field3D" grid_ref="grid_lat" operation="instant" />
453    </file>
454   
455  </file_definition>
456 
457 
458</context>