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

Last change on this file since 824 was 824, checked in by mhnguyen, 6 years ago

Correcting the behavior of field_ref

+) If a field refers to another one via field_ref and there is no transformation between
grid of this field and one of refered field, this field will inherit attributes from field_ref.

Test
+) On Curie
+) All tests pass

  • Property svn:executable set to *
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" >
9     <field id="src_field" operation="instant" domain_ref="src_domain"/>
10     <field id="src_field_clone" operation="instant" field_ref="src_field" domain_ref="src_domain_clone"/>
11     <field id="dst_field" operation="instant" field_ref="src_field" domain_ref="dst_domain"/>
12     <field id="tmp_field" operation="instant" domain_ref="src_domain_regular_tmp"/>
13     <field id="tmp_field_1" operation="instant" grid_ref="src_grid_curvilinear" />
14     <field id="tmp_field_2" operation="instant" grid_ref="src_grid_unstructured" />
15     <field id="dst_field_regular" operation="instant" field_ref="tmp_field_2" grid_ref="dst_grid_regular" read_access="true"/>
16     <field id="dst_field_regular_pole" operation="instant" field_ref="src_field" domain_ref="dst_domain_regular_pole"/>
17     <field id="dst_field_regular_pole_1" operation="instant" field_ref="tmp_field" domain_ref="dst_domain_regular_pole"/>
18   </field_definition>
19
20
21   <file_definition type="one_file" par_access="collective" output_freq="1ts" output_level="10" enabled=".TRUE.">
22     <file id="output" name="output">
23        <field field_ref="src_field" name="field" />
24     </file>
25     <file id="output_clone" name="output_clone">
26        <field field_ref="src_field_clone" name="field" />
27     </file>
28     <file id="output_dst" name="output_dst" type="one_file">
29        <field field_ref="dst_field" name="field" />
30     </file>
31     <file id="out_dst_regular_pole" name="out_dst_regular_pole" type="one_file">
32        <field field_ref="dst_field_regular_pole" name="field" />
33     </file>
34     <file id="out_dst_regular_pole_1" name="out_dst_regular_pole_1" type="one_file">
35        <field field_ref="dst_field_regular_pole_1" name="field" />
36     </file>
37     <file id="output_dst_regular" name="output_dst_regular" type="one_file">
38        <field field_ref="dst_field_regular" name="field" />
39     </file>
40     <file id="output_dst_curvilinear" name="output_dst_curvilinear" type="one_file">
41        <field field_ref="tmp_field_1" operation="instant"/>
42     </file>
43     <file id="output_dst_unstructured" name="output_dst_unstructured" type="one_file">
44        <field field_ref="tmp_field_2" operation="instant"/>
45     </file>
46     <file id="output_src_regular_tmp" name="output_src_regular_tmp" mode="read" type="one_file">
47        <field id="src_field_regular_tmp" name="field" domain_ref="src_domain_regular_tmp" operation="instant"/>
48     </file>
49     <file id="output_src_curvilinear" name="output_src_curvilinear" mode="read" type="one_file">
50        <field id="src_field_curvilinear" name="field_A" grid_ref="src_grid_curvilinear" operation="instant"/>
51     </file>
52     <file id="output_unstructured" name="output_unstructured" mode="read" type="one_file">
53        <field id="field_src_unstructred" name="field" grid_ref="src_grid_unstructured" operation="instant"/>
54     </file>
55   </file_definition>
56
57
58   <axis_definition>
59     <axis id="src_axis_curvilinear" />
60   </axis_definition>
61   <axis_definition>
62     <axis id="axis_surface_curvi" />
63   </axis_definition>
64
65   <domain_definition>
66     <domain id="src_domain" />
67     <domain id="src_domain_clone" />
68     <domain id="dst_domain">
69       <interpolate_domain/>
70     </domain>
71     <domain id="dst_domain_regular_pole" ni_glo="180" nj_glo="90" type="rectilinear">
72       <generate_rectilinear_domain id="domain_regular_pole"/>
73       <interpolate_domain/>
74       <zoom_domain id="zoom_0" ibegin="0" ni="90" jbegin="0" nj="90"/>
75     </domain>
76     <domain id="dst_domain_regular" ni_glo="90" nj_glo="45" type="rectilinear">
77       <generate_rectilinear_domain />
78       <interpolate_domain/>
79     </domain>
80     <domain id="src_domain_regular_tmp" type="rectilinear">
81       <generate_rectilinear_domain />
82     </domain>
83     <domain id="src_domain_curvilinear" type="rectilinear">
84       <generate_rectilinear_domain />
85     </domain>
86     <domain id="src_domain_unstructured" type="unstructured">
87       <generate_rectilinear_domain />
88     </domain>
89   </domain_definition>
90
91  <grid_definition>
92    <grid id="src_grid_curvilinear">
93      <domain domain_ref="src_domain_curvilinear"/>
94      <axis axis_ref="src_axis_curvilinear" />
95    </grid>
96    <grid id="src_grid_unstructured">
97      <domain domain_ref="src_domain_unstructured"/>
98    </grid>
99    <grid id="dst_grid_regular">
100      <domain domain_ref="dst_domain_regular"/>
101    </grid>
102  </grid_definition>
103  </context>
104
105  <context id="xios">
106      <variable_definition>
107        <variable_group id="buffer">
108            <variable id="optimal_buffer_size" type="string">performance</variable>
109            <variable id="buffer_size_factor" type="double">30.0</variable>
110            <variable id="min_buffer_size" type="double">800000</variable>
111         </variable_group>
112
113        <variable_group id="parameters" >
114          <variable id="using_server" type="bool">true</variable>
115          <variable id="info_level" type="int">50</variable>
116          <variable id="print_file" type="bool">true</variable>
117        </variable_group>
118      </variable_definition>
119  </context>
120
121</simulation>
122
Note: See TracBrowser for help on using the repository browser.