source: XIOS/trunk/inputs/REMAP/iodef.xml @ 1018

Last change on this file since 1018 was 1018, checked in by mhnguyen, 4 years ago

Improving missing-value processing
If detect_missing_value is activated, then all missing value will be converted to
NaN (Not-a-number) in input of data flow then they will be reconverted to missing value on output

+) Update SourceFilter?, TemporalFilter? and SpatialTransformFilter? with new processing
+) Update all transformations with new processing

Test
+) On Curie
+) Work

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