source: XIOS/xios_training/hands-on-8/answer/iodef.xml_4 @ 2046

Last change on this file since 2046 was 2046, checked in by ymipsl, 3 years ago
File size: 2.1 KB
Line 
1<?xml version="1.0"?>
2<simulation>
3 <context id="test">
4   <calendar type="Gregorian" time_origin="2021-01-01" start_date="2021-03" />
5
6   <domain_definition>
7     <domain id="domain" type="rectilinear" ni_glo="12" nj_glo="12"/>
8   </domain_definition>
9
10   <grid_definition>
11     <grid id="grid">
12       <domain domain_ref="domain"/>
13     </grid>
14
15     <grid id="grid_1">
16       <domain domain_ref="domain"/>
17       <scalar id="scalar"/>
18     </grid>
19
20     <grid id="grid_2">
21       <domain domain_ref="domain"/>
22       <axis id="temporal" n_glo="24">
23         <temporal_splitting />
24       </axis>
25     </grid>
26
27     <grid id="grid_3">
28       <domain domain_ref="domain"/>
29       <axis n_glo="4" id="extracted_axis">
30         <extract_axis n="4" begin="12" />
31       </axis>
32     </grid>
33 
34     <grid id="grid_4">
35       <domain domain_ref="domain"/>
36       <scalar id="reduced_axis">
37         <reduce_axis operation="average" />
38       </scalar>
39     </grid>
40
41
42   </grid_definition>
43   
44   <field_definition>
45     <field id="temp" name="temperature" grid_ref="grid"/>
46     <field id="temp_1" name="temp_1" grid_ref="grid_1"> temp </field>
47     <field id="temp_2" name="temp_2" field_ref="temp_1" grid_ref="grid_2"/>
48     <field id="temp_3" name="temp_3" field_ref="temp_2" grid_ref="grid_3"/>
49     <field id="temp_4" name="temp_4" field_ref="temp_3" grid_ref="grid_4"/>
50   </field_definition>
51
52   <file_definition>
53     <file id="output" name="output" output_freq="1h" type="one_file">
54       <field field_ref="temp" operation="instant"/>
55       <field field_ref="temp_1" operation="instant"/>
56     </file>
57
58     <file id="output_ts" name="output_ts" output_freq="1d" type="one_file">
59       <field field_ref="temp_2" operation="instant"/>
60       <field field_ref="temp_3" operation="instant"/>
61       <field field_ref="temp_4" operation="instant"/>
62     </file>
63
64
65  </file_definition>
66
67 </context>
68
69  <context id="xios">
70     <variable_definition>
71        <variable_group id="parameters" >
72          <variable id="print_file" type="bool">true</variable>
73        </variable_group>
74     </variable_definition>
75  </context>
76
77</simulation>
78
Note: See TracBrowser for help on using the repository browser.