source: XIOS/dev/branch_openmp/inputs/REMAP/iodef.xml @ 1339

Last change on this file since 1339 was 1339, checked in by yushan, 3 years ago

dev_omp OK

  • Property svn:executable set to *
File size: 9.6 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   <field_definition level="1" >
7    <field_group id="fields_src" operation="instant" detect_missing_value=".false.">
8       <field id="src_field_2D" domain_ref="src_domain" />
9       <field id="src_field_2D_clone" domain_ref="src_domain_clone" />
10       <field id="src_field_3D" domain_ref="src_domain" axis_ref="src_axis"  />
11       <field id="src_field_3D_clone" grid_ref="src_grid_3D"   />       
12       <field id="src_field_3D_pression" grid_ref="src_grid_3D"  />
13       <field id="src_field_4D" grid_ref="src_grid_4D"  />       
14    </field_group>
15    <field_group  id="fields_dst">
16      <field id="dst_field_2D" field_ref="src_field_2D" domain_ref="dst_domain"/>
17      <field id="dst_field_2D_regular_pole" field_ref="src_field_2D" domain_ref="dst_domain_regular_pole"/>
18      <field id="dst_field_2D_clone" field_ref="src_field_2D_clone" domain_ref="dst_domain_regular_pole"  expr="@this" operation="average" />
19      <field id="dst_field_2D_extract" field_ref="src_field_3D_clone" grid_ref="dst_grid_2D_extract"/>
20      <field id="dst_field_3D" field_ref="src_field_3D" grid_ref="dst_grid_3D"/>
21      <field id="dst_field_3D_interp" field_ref="src_field_3D" axis_ref="dst_axis"/>       
22      <field id="dst_field_4D_extract" field_ref="src_field_4D" grid_ref="dst_grid_4D_extract"/> 
23    </field_group>
24    <field_group id="read_fields" operation="instant">
25      <field id="tmp_field_0" domain_ref="src_domain_regular_read"/>     
26      <field id="tmp_field_1" grid_ref="src_grid_curvilinear_read" />
27      <field id="tmp_field_2" grid_ref="src_grid_unstructured_read" />
28      <field id="tmp_field_clone" field_ref="tmp_field_0"/>
29      <field id="dst_field_regular" field_ref="tmp_field_2" grid_ref="dst_grid_regular"/>     
30      <field id="dst_field_regular_pole_0" field_ref="tmp_field_0" domain_ref="dst_domain_regular_pole"/>
31      <field id="dst_field_regular_pole_1" field_ref="tmp_field_clone" domain_ref="dst_domain_regular_pole"/>
32    </field_group> 
33   </field_definition>
34
35   <file_definition type="one_file" par_access="collective" output_freq="1ts" output_level="10" enabled=".TRUE.">
36     
37      <file_group id="read_then_write_files" enabled=".TRUE.">
38       <file id="output_regular_pole" name="output_dst_regular" enabled=".TRUE."  >
39          <field field_ref="tmp_field_0" name="field_regular_0" enabled=".TRUE."/>
40          <field field_ref="dst_field_regular" name="field_regular" enabled=".TRUE."/>
41          <field field_ref="dst_field_regular_pole_0" name="field_regular_pole_0" enabled=".TRUE." />
42          <field field_ref="dst_field_regular_pole_1" name="field_regular_pole_1" enabled=".TRUE." />
43       </file>
44       <file id="output_dst_curvilinear" name="output_dst_curvilinear" enabled=".TRUE." >
45          <field field_ref="tmp_field_1" operation="instant"/>
46       </file>
47       <file id="output_dst_unstructured" name="output_dst_unstructured" enabled=".TRUE." >
48          <field field_ref="tmp_field_2" operation="instant"/>
49       </file>
50     </file_group>
51
52      <file_group id="write_files" >
53        <file id="output_2D" name="output_2D" output_freq="1ts" enabled=".TRUE.">
54          <field field_ref="src_field_2D" name="field_src" enabled=".TRUE."/>
55          <field field_ref="src_field_2D_clone" name="field_src_clone" default_value="100000" enabled=".TRUE."/>
56          <field field_ref="src_field_2D" name="field_dst_regular_0"  domain_ref="dst_domain_regular_pole" enabled=".TRUE."/>
57          <field field_ref="dst_field_2D" name="field_dst_regular_1" enabled=".TRUE." />
58          <field field_ref="dst_field_2D_regular_pole" name="field_dst_regular_2" enabled=".TRUE."/>
59          <field field_ref="dst_field_2D_clone" name="field_dst_regular_3" detect_missing_value=".false." default_value="100000" enabled=".FALSE."/>
60          <field field_ref="dst_field_2D_extract" name="field_dst_regular_4" enabled=".TRUE."/>
61        </file> 
62       <file id="output_3D" name="output_3D" enabled=".TRUE.">
63          <field field_ref="src_field_3D" name="field_src" />
64          <field field_ref="src_field_3D_pression" name="field" />
65          <field field_ref="dst_field_3D_interp" name="field_dst_interp_domain" />
66          <field field_ref="dst_field_3D_interp" name="field_dst_interp_domain_axis" domain_ref="dst_domain_regular_pole" enabled=".TRUE."/> 
67       </file>
68       <file id="output_4D" name="output_4D" enabled=".TRUE.">
69          <field field_ref="src_field_4D" name="field_4D" />
70          <field field_ref="dst_field_4D_extract" name="field_4D_extract" enabled=".TRUE."/>
71        </file>
72     </file_group>
73     <file_group id="read_files" enabled=".TRUE." >
74       <file id="output_src_regular" name="output_src_regular" mode="read" >
75          <field id="src_field_regular" name="field" grid_ref="src_grid_regular_read" operation="instant"/>
76       </file>
77       <file id="output_src_curvilinear" name="output_src_curvilinear" mode="read" >
78          <field id="src_field_curvilinear" name="field_A" grid_ref="src_grid_curvilinear_read" operation="instant"/>
79       </file>
80       <file id="output_src_unstructured" name="output_src_unstructured" mode="read" >
81          <field id="src_field_unstructured" name="field" grid_ref="src_grid_unstructured_read" operation="instant"/>
82       </file>
83      </file_group>
84     
85   </file_definition>
86
87   <scalar_definition>
88    <scalar_group id="scalar_src">
89    </scalar_group>
90    <scalar_group id="scalar_dst">
91     <scalar id="scalar_extract">
92       <reduce_axis operation="sum"/>
93     </scalar>
94    </scalar_group>
95   </scalar_definition>
96
97   <axis_definition>
98    <axis_group id="axis_src">
99      <axis id="src_axis" positive="down" />
100      <axis id="nq" positive="down" />
101      <axis id="src_axis_curvilinear_read" positive="down" />
102    </axis_group>
103    <axis_group id="axis_dst">
104     <axis id="dst_axis" positive="down" n_glo="2" value="(0,1)[120 220]">
105       <interpolate_axis type="polynomial" order="1" coordinate="src_field_3D_pression"/>
106       <!-- <interpolate_axis type="polynomial" order="1" />         -->
107     </axis>
108    </axis_group>
109   </axis_definition>
110
111   <domain_definition>
112    <domain_group id="read_domains">
113      <domain id="src_domain_regular_read" type="rectilinear">
114        <generate_rectilinear_domain />
115      </domain>
116      <domain id="src_domain_curvilinear_read" type="curvilinear">
117        <generate_rectilinear_domain />
118      </domain>
119      <domain id="src_domain_unstructured_read" type="unstructured">
120        <generate_rectilinear_domain/>
121      </domain>
122    </domain_group>
123    <domain_group id="domain_src">
124      <domain id="src_domain" />
125      <domain id="src_domain_clone"/>
126    </domain_group>
127
128    <domain_group id="domain_dst">
129     <domain id="dst_domain">
130       <interpolate_domain write_weight="false" />
131     </domain>
132     <domain id="dst_domain_regular_pole" ni_glo="90" nj_glo="45" type="rectilinear">
133       <generate_rectilinear_domain id="domain_regular_pole"/>
134       <interpolate_domain write_weight="false" order="1" renormalize="true"/>       
135       <!-- <zoom_domain ibegin="0" ni="45" jbegin="0" nj="45" /> -->
136     </domain>
137     <domain id="dst_domain_regular" ni_glo="90" nj_glo="45" type="rectilinear">
138       <generate_rectilinear_domain />
139       <interpolate_domain/>       
140     </domain>
141    </domain_group>
142   </domain_definition>
143
144  <grid_definition>
145    <grid_group id="read_grids">
146      <grid id="src_grid_regular_read">
147        <domain domain_ref="src_domain_regular_read"/>
148      </grid>
149      <grid id="src_grid_curvilinear_read">
150        <domain domain_ref="src_domain_curvilinear_read"/>
151        <axis axis_ref="src_axis_curvilinear_read" />
152      </grid>
153      <grid id="src_grid_unstructured_read">
154        <domain domain_ref="src_domain_unstructured_read"/>
155      </grid>
156    </grid_group>
157
158    <grid_group id="grid_src">
159      <grid id="src_grid_3D">
160        <domain domain_ref="src_domain"/>
161        <axis axis_ref="src_axis"/>
162      </grid>
163      <grid id="src_grid_4D">
164        <domain domain_ref="src_domain"/>
165        <axis axis_ref="src_axis"/>
166        <axis axis_ref="nq"/>
167      </grid>
168    </grid_group>
169
170    <grid_group id="grid_dst">
171      <grid id="dst_grid_regular">
172        <domain domain_ref="dst_domain_regular"/>
173      </grid>
174      <grid id="dst_grid_2D_extract">
175        <domain domain_ref="dst_domain_regular"/>
176        <scalar >         
177          <reduce_axis operation="min"/>
178          <!-- <extract_axis position="2"/> -->
179        </scalar>
180      </grid>
181      <grid id="dst_grid_3D">
182        <domain domain_ref="src_domain"/>
183        <axis axis_ref="dst_axis"/>
184      </grid>
185      <grid id="dst_grid_4D_extract">
186        <domain domain_ref="dst_domain_regular_pole"/>     
187        <axis axis_ref="src_axis"/>       
188        <scalar >
189          <!-- <extract_axis position="1"/> -->
190          <reduce_axis operation="sum"/>
191        </scalar>     
192      </grid>
193    </grid_group>
194  </grid_definition>
195  </context>
196
197  <context id="xios">
198      <variable_definition>
199        <variable_group id="buffer">
200            <variable id="optimal_buffer_size" type="string">performance</variable>
201            <variable id="buffer_size_factor" type="double">30.0</variable>
202            <variable id="min_buffer_size" type="double">800000</variable>
203         </variable_group>
204
205        <variable_group id="parameters" >
206          <variable id="using_server" type="bool">true</variable>
207          <variable id="info_level" type="int">50</variable>
208          <variable id="print_file" type="bool">true</variable>
209        </variable_group>
210      </variable_definition>
211  </context>
212
213</simulation>
Note: See TracBrowser for help on using the repository browser.