source: XIOS/trunk/inputs/iodef.xml @ 1877

Last change on this file since 1877 was 1877, checked in by yushan, 18 months ago

trunk : each context has its own graph file

File size: 5.2 KB
Line 
1<?xml version="1.0"?>
2<simulation>
3
4 <context id="test">
5   <calendar type="Gregorian" start_date="2012-03-01 15:00:00" time_origin="2012-02-28 15:00:00 + 1d" />
6
7
8   <field_definition level="1" enabled=".TRUE.">
9     <field id="field_A"  operation="average" freq_op="3600s" grid_ref="grid_A" />
10     <field id="field_B"  operation="average" freq_op="3600s" grid_ref="grid_A"/>
11     <field id="field_C"  operation="average" freq_op="3600s" grid_ref="grid_A" />
12     <field id="field_Axis"  operation="average" freq_op="3600s" axis_ref="axis_A"/>
13     <field id="field_Domain"  operation="average" freq_op="3600s" domain_ref="domain_A"/>
14     <field id="field_A_zoom"  operation="average" freq_op="3600s" field_ref="field_A" grid_ref="grid_A_zoom"/>
15     <field id="field_Scalar"  operation="average" freq_op="3600s" grid_ref="grid_Scalar"/>
16     <field id="test_field_B"  field_ref="field_A" > field_A+10 </field>
17   </field_definition>
18
19
20   <file_definition type="one_file" par_access="collective" output_freq="1h" output_level="10" >
21     
22     <file id="test_output" name = "output" output_freq="4h" enabled=".TRUE." >
23       <field field_ref="field_A"                        name ="field_A" build_workflow_graph=".TRUE." enabled=".TRUE."/>
24       <field field_ref="test_field_B"                   name ="field_B" build_workflow_graph=".TRUE." enabled=".TRUE."/>
25       <field id="test_field_C" field_ref="test_field_B" name ="field_C" build_workflow_graph=".TRUE."  enabled=".TRUE."  > 10*test_field_B </field>
26       <field id="test_field_D" field_ref="test_field_B" name ="field_D" build_workflow_graph=".TRUE."  enabled=".TRUE." > 100*field_A </field>
27       <field id="test_field_E" field_ref="test_field_B" name ="field_E" build_workflow_graph=".TRUE."  enabled=".TRUE." > field_A+10*test_field_B-field_C </field>
28     </file>
29
30
31     <file id="output2" name="output2" output_freq="4h" enabled=".FALSE.">
32        <field id="field_G" field_ref="field_A" name="field_G_zoom" grid_ref="grid_A_zoom" build_workflow_graph=".TRUE." build_workflow_graph_start="1h" build_workflow_graph_end="8h" />       
33        <!-- <field field_ref="field_Scalar" name="field_A_scalar" build_workflow_graph=".TRUE."/>         -->
34     </file>
35
36
37     <file id="output1" name="output1" output_freq="24h" enabled=".FALSE.">
38        <!-- <field field_ref="field_Domain" name="field_A" /> -->
39        <field id="field_F" field_ref="field_A" name="field_24h" grid_ref="grid_A" build_workflow_graph=".TRUE." build_workflow_graph_start="4h" build_workflow_graph_end="24h"  />       
40       
41     </file> 
42
43     <file id="output" name="output" enabled=".FALSE.">
44        <!-- <field field_ref="field_Domain" name="field_A" /> -->
45        <field field_ref="field_A" name="field_A_name"  build_workflow_graph=".TRUE." />
46        <field field_ref="field_A" name="field_A_unary"  build_workflow_graph=".TRUE." > field_A+50 </field>
47        <!-- <field field_ref="field_B" name="field_B_name"  build_workflow_graph=".FALSE."/>  -->
48        <!-- <field field_ref="field_C" name="field_C_name"  enabled=".TRUE." />  -->
49        <!-- <field id="field_D" field_ref="field_A" operation="instant" build_workflow_graph=".TRUE." name="field_D_name" build_workflow_graph_start="1h" build_workflow_graph_end="2h" > sqrt(field_A) </field> -->
50        <field id="field_E" field_ref="field_A" operation="instant" build_workflow_graph=".TRUE." name="field_E_name" build_workflow_graph_start="1h" build_workflow_graph_end="4h" > field_A + field_B + field_C</field>
51        <!-- <field field_ref="field_A_zoom" name="field_B" build_workflow_graph=".TRUE."/> -->
52     </file>
53
54     
55 <!--     <file id="output_s" name="output_s" mode="read" >
56       <field id="field" name="field_A" grid_ref="grid_Scalar" operation="instant" />
57     </file> -->
58   </file_definition>
59
60  <scalar_defintion>
61    <scalar id="scalar_A"/>
62  </scalar_defintion>
63
64   <axis_definition>
65     <axis id="axis_A"/>
66     <axis id="axis_A_zoom" axis_ref="axis_A">
67       <zoom_axis index="(0,1)[0 2]" />
68     </axis>
69   </axis_definition>
70
71   <domain_definition>
72     <domain id="domain_A" />
73
74   </domain_definition>
75
76   <grid_definition>
77     <grid id="grid_A">
78       <domain domain_ref="domain_A" />
79       <axis axis_ref="axis_A" />
80     </grid>
81     <grid id="grid_A_zoom">
82       <domain domain_ref="domain_A" />
83       <axis axis_ref="axis_A_zoom" />
84     </grid>
85     <grid id="grid_Scalar">
86      <scalar id="scalar_A"/>
87     </grid>
88   </grid_definition>
89  </context>
90
91  <context id="xios">
92      <variable_definition>
93         <variable_group id="server">
94            <variable id="using_server2" type="bool">true</variable>
95            <variable id="ratio_server2" type="int">50</variable>
96         </variable_group>
97
98        <variable_group id="buffer">
99            <variable id="optimal_buffer_size" type="string">performance</variable>
100            <variable id="buffer_size_factor" type="double">10.0</variable>
101         </variable_group>
102
103        <variable_group id="parameters" >
104          <variable id="using_server" type="bool">false</variable>
105          <variable id="info_level" type="int">80</variable>
106          <variable id="print_file" type="bool">true</variable>
107        </variable_group>
108      </variable_definition>
109  </context>
110
111</simulation>
112
Note: See TracBrowser for help on using the repository browser.