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

Last change on this file since 527 was 527, checked in by rlacroix, 7 years ago

Make the variable typing stricter.

The type must now be one of:

  • bool
  • int or int32
  • int16
  • int64
  • float
  • double
  • string

WARNING: The variable type was previously not checked and using an unsupported type did not lead to any error message. Be aware that this change can make your existing configuration files invalid. However the adjustments required to adapt existing files should be minor.

File size: 1.5 KB
Line 
1<?xml version="1.0"?>
2<simulation> 
3
4 <context id="test" calendar_type="Gregorian" start_date="2012-03-01 15:00:00" time_origin="2012-02-29 15:00:00">
5   
6
7   <field_definition level="1" enabled=".FALSE.">
8     <field id="field_A"  operation="average" freq_op="3600s" domain_ref="domain_A"  axis_ref="axis_A" />
9   </field_definition>
10   
11   
12   <file_definition type="multiple_file" par_access="collective" output_freq="6h" output_level="10" enabled=".TRUE.">
13     <file id="output" name="output"> 
14        <field field_ref="field_A" />
15     </file>
16   </file_definition>
17   
18   
19   <axis_definition>
20     <axis id="axis_A" zoom_size="2" zoom_end="3" />
21   </axis_definition>
22   
23   <domain_definition>
24     <domain id="domain_A" />
25   </domain_definition>   
26 
27   <grid_definition />   
28 
29  </context>
30 
31  <context id="toto" >
32  </context>
33 
34  <context id="titi">
35  </context>
36 
37  <context id="tata">
38  </context>
39
40  <context id="xios">
41      <variable_definition>
42        <variable_group id="buffer">
43            <variable id="optimal_buffer_size" type="string">performance</variable>
44            <variable id="buffer_factor_size" type="double">1.0</variable> 
45         </variable_group>
46
47        <variable_group id="parameters" >
48          <variable id="using_server" type="bool">false</variable>
49          <variable id="info_level" type="int">50</variable>
50          <variable id="print_file" type="bool">true</variable>
51        </variable_group>
52      </variable_definition>
53  </context>
54
55</simulation>
56
Note: See TracBrowser for help on using the repository browser.