source: XIOS/trunk/inputs/EXPAND_DOMAIN/iodef.xml @ 1083

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

Correcting the bug on expanding domain by using data read from file

+) Make sure that data_dim is taken account on expanding domain

Test
+) Add a new test: test_expand_domain
+) On Ubuntu 16.04
+) Work.

  • Property svn:executable set to *
File size: 3.0 KB
Line 
1<?xml version="1.0"?>
2<simulation>
3
4 <context id="write">
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" enabled=".TRUE.">
7     <field id="field_A"  operation="average" freq_op="3600s" grid_ref="grid_A"/>
8   </field_definition>
9
10   <file_definition type="one_file" par_access="collective" output_freq="1ts" output_level="10" enabled=".TRUE.">
11     <file id="output" name="output">
12        <field field_ref="field_A" name="field_A" />
13     </file>
14     <file id="output_expand" name="output_expand_from_model">
15        <field id="field_B" name="field_B" field_ref="field_A" grid_ref="grid_B"/>
16     </file>
17   </file_definition>
18
19   <grid_definition>
20     <grid id="grid_A">
21       <domain id="domain_A" />
22       <axis id="axis_A" />
23     </grid>
24     <grid id="grid_B">
25       <domain id="domain_B" domain_ref="domain_A" >
26         <expand_domain type="edge" i_periodic=".FALSE." j_periodic=".TRUE." />
27       </domain>
28       <axis id="axis_A" />
29     </grid>
30   </grid_definition>
31  </context>
32
33
34 <context id="read">
35   <calendar type="Gregorian" start_date="2012-03-01 15:00:00" time_origin="2012-02-28 15:00:00 + 1d" />
36   <field_definition level="1" enabled=".TRUE." operation="average" freq_op="3600s">
37    <field id="field_B" grid_ref="grid_A" /> 
38    <field id="field_A_expand" field_ref="field_B" grid_ref="grid_A_expand"/>         
39   </field_definition>
40
41   <file_definition type="one_file" par_access="collective" output_freq="1h" output_level="10" enabled=".TRUE.">
42     <file id="output" name="output" mode="read">
43        <field id="field_A" name="field_A" grid_ref="grid_A" operation="instant" default_value="1000000" read_access="true"/>
44     </file>
45     <file id="output_expand" name="output_expand_from_file">
46        <field field_ref="field_A_expand" name="field_A"/>       
47     </file>
48   </file_definition>
49
50   <domain_definition>
51     <domain id="domain_A" >
52      <generate_rectilinear_domain />
53     </domain> 
54     <domain id="domain_A_expand" domain_ref="domain_A">
55      <expand_domain i_periodic="false" j_periodic="true"/>
56    </domain>
57   </domain_definition>
58
59   <grid_definition>
60     <grid id="grid_A">
61       <domain id="domain_A"/>
62       <axis id="axis_A" />
63     </grid>
64     <grid id="grid_A_expand">
65       <domain id="domain_A_expand" />
66       <axis id="axis_A" />
67     </grid>
68   </grid_definition>
69  </context>
70
71  <context id="xios">
72      <variable_definition>
73        <variable_group id="buffer">
74            <variable id="optimal_buffer_size" type="string">performance</variable>
75            <variable id="buffer_size_factor" type="double">1.0</variable>
76         </variable_group>
77
78        <variable_group id="parameters" >
79          <variable id="using_server" type="bool">false</variable>
80          <variable id="info_level" type="int">50</variable>
81          <variable id="print_file" type="bool">true</variable>
82        </variable_group>
83      </variable_definition>
84  </context>
85
86</simulation>
87
Note: See TracBrowser for help on using the repository browser.