source: XIOS/dev/XIOS_DEV_CMIP6/inputs/REMAP/iodef.xml @ 1404

Last change on this file since 1404 was 1136, checked in by mhnguyen, 7 years ago

Reading for two-level server

+) Update reading with the changes of grid distribution
+) Correct a minor bug on modification grid mask
+) Do some code cleaning

Test
+) On Curie
+) Work in both mode: classical and two-level
+) Push some *.nc for test_remap

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