source: trunk/LMDZ.PLUTO/util/startarchive2icosa/iodef.xml @ 3545

Last change on this file since 3545 was 3545, checked in by afalco, 36 hours ago

Pluto: scripts to convert from LMDZ lat lon grid to DYNAMICO icosahedral grid.
AF

File size: 11.2 KB
Line 
1<!-- xml example for start_archive2icosa.e -->
2<?xml version="1.0"?>
3<simulation>
4
5 <context id="test">
6   <calendar type="Gregorian"
7             start_date="2012-03-01 15:00:00"
8             time_origin="2012-02-29 15:00:00" />
9
10   <field_definition level="1" >
11    <field_group  id="fields_2D_dst" domain_ref="src_domain_regular_clean" >
12      <!-- 2D fields -->
13      <field id="ps_clean" />
14      <!-- 2D fields -->
15      <field id="tsurf_clean" />
16      <field id="emis_clean" />
17      <field id="ZMEA_clean" />
18      <field id="ZSTD_clean" />
19      <field id="ZSIG_clean" />
20      <field id="ZGAM_clean" />
21      <field id="ZTHE_clean" />
22      <field id="albedodat_clean" />
23
24      <!-- 2D fields associated to tracers-->
25      <field id="n2_surf_clean" />
26      <field id="co_ice_surf_clean" />
27      <field id="co_gas_surf_clean" />
28      <field id="ch4_ice_surf_clean" />
29      <field id="ch4_gas_surf_clean" />
30      <field id="prec_haze_surf_clean" />
31      <field id="haze_surf_clean" />
32    </field_group>
33    <!-- -->
34    <field_group  id="fields_dst">
35      <!-- from topography file -->
36      <field id="topo" domain_ref="src_topo_domain_regular" />
37      <!-- 3D fields -->
38      <field id="temp_clean"
39             grid_ref="src_grid_regular_clean" />
40      <field id="theta_rhodz_clean"
41             grid_ref="src_grid_regular_clean" />
42      <field id="u_clean" grid_ref="src_grid_regular_clean" />
43      <field id="v_clean" grid_ref="src_grid_regular_clean" />
44      <!-- tracers -->
45      <field id="n2_clean" grid_ref="src_grid_regular_clean" />
46      <field id="co_ice_clean" grid_ref="src_grid_regular_clean" />
47      <field id="co_gas_clean" grid_ref="src_grid_regular_clean" />
48      <field id="ch4_ice_clean" grid_ref="src_grid_regular_clean" />
49      <field id="ch4_gas_clean" grid_ref="src_grid_regular_clean" />
50      <field id="prec_haze_clean" grid_ref="src_grid_regular_clean" />
51      <field id="haze_clean" grid_ref="src_grid_regular_clean" />
52      <!-- soil -->
53      <field id="inertiedat_clean" grid_ref="src_grid_soil_clean" />
54      <!-- q2 -->
55      <field id="q2_clean" grid_ref="src_grid_regular_p1_clean" />
56      <!-- from topography file -->
57      <field id="tsoil_clean"  grid_ref="src_grid_soil_clean"  />
58    </field_group>
59
60   </field_definition>
61
62   <file_definition type="one_file" par_access="collective"
63                    output_freq="1ts" output_level="10"  enabled=".TRUE.">
64      <!-- input files -->
65      <file_group id="read_files" >
66       <file id="start_archive_nc4" name="start_archive_nc4" mode="read" >
67         <!-- 2D fields -->
68         <field_group freq_offset="1ts"
69                      domain_ref="src_domain_regular"
70                      operation="instant" >
71          <field id="src_ps" name="ps" />
72          <field id="src_q2surf" name="q2surf" />
73          <field id="src_tsurf" name="tsurf" />
74          <field id="src_emis" name="emis" />
75          <field id="src_ZMEA" name="ZMEA" />
76          <field id="src_ZSTD" name="ZSTD" />
77          <field id="src_ZSIG" name="ZSIG" />
78          <field id="src_ZGAM" name="ZGAM" />
79          <field id="src_ZTHE" name="ZTHE" />
80          <field id="src_albedodat" name="albedodat" />
81
82          <!--2D fields associated with tracers-->
83          <field id="src_n2_surf" name="n2_surf" />
84          <field id="src_co_ice_surf" name="co_ice_surf" />
85          <field id="src_co_gas_surf" name="co_gas_surf" />
86          <field id="src_ch4_ice_surf" name="ch4_ice_surf" />
87          <field id="src_ch4_gas_surf" name="ch4_gas_surf" />
88          <field id="src_prec_haze_surf" name="prec_haze_surf" />
89          <field id="src_haze_surf" name="haze_surf" />
90         </field_group>
91         <!-- 3D fields -->
92         <field_group freq_offset="1ts"
93                      grid_ref="src_grid_regular"
94                      operation="instant" >
95          <field id="src_temp" name="temp" />
96          <field id="src_u" name="u" />
97          <field id="src_v" name="v" />
98          <field id="src_q2atm" name="q2atm" />
99        <!-- traceurs -->
100          <field id="src_trac1" name="n2" />
101          <field id="src_trac2" name="co_ice" />
102          <field id="src_trac3" name="co_gas" />
103          <field id="src_trac4" name="ch4_ice" />
104          <field id="src_trac5" name="ch4_gas" />
105          <field id="src_trac6" name="prec_haze" />
106          <field id="src_trac7" name="haze" />
107         </field_group>
108         <!-- soil fields -->
109          <field id="src_tsoil" name="tsoil" freq_offset="1ts"
110                 grid_ref="src_grid_soil"
111                 operation="instant" />
112          <field id="src_inertiedat" name="inertiedat" freq_offset="1ts"
113                 grid_ref="src_grid_soil"
114                 operation="instant" />
115       </file>
116       <file id="surface_nc4" name="surface_nc4" mode="read" >
117         <field id="zMOL" name="zMOL"
118                domain_ref="src_topo_domain_regular"
119                freq_offset="1ts"
120                operation="instant" />
121       </file>
122      </file_group>
123
124      <!-- output files -->
125      <file_group id="write_files" >
126        <file id="start_icosa_prefinalize" name="start_icosa_prefinalize" >
127         <!-- 2D fields -->
128         <field_group domain_ref="dst_domain_unstructured"
129                      operation="once" >
130          <field field_ref="ps_clean" name="ps" />
131          <!-- <field field_ref="phis_clean" name="phis" /> -->
132          <field field_ref="topo" name="phis" />
133         </field_group>
134         <!-- 3D fields -->
135         <field_group grid_ref="dst_grid_unstructured"
136                      operation="once" >
137          <field field_ref="theta_rhodz_clean" name="theta_rhodz" />
138          <field field_ref="u_clean" name="ulon" />
139          <field field_ref="v_clean" name="ulat" />
140          <!-- tracers -->
141          <field field_ref="n2_clean" name="n2" />
142          <field field_ref="co_ice_clean" name="co_ice" />
143          <field field_ref="co_gas_clean" name="co_gas" />
144          <field field_ref="ch4_ice_clean" name="ch4_ice" />
145          <field field_ref="ch4_gas_clean" name="ch4_gas" />
146          <field field_ref="prec_haze_clean" name="prec_haze" />
147          <field field_ref="haze_clean" name="haze" />
148         </field_group>
149        </file>
150        <file id="startfi_prefinalize" name="startfi_prefinalize" >
151         <!-- 2D -->
152         <field_group domain_ref="dst_domain_unstructured"
153                      operation="once" >
154          <field field_ref="topo" name="phisfi" />
155          <field field_ref="tsurf_clean" name="tsurf" />
156          <field field_ref="emis_clean" name="emis" />
157          <field field_ref="ZMEA_clean" name="ZMEA" />
158          <field field_ref="ZSTD_clean" name="ZSTD" />
159          <field field_ref="ZSIG_clean" name="ZSIG" />
160          <field field_ref="ZTHE_clean" name="ZTHE" />
161          <field field_ref="ZGAM_clean" name="ZGAM" />
162          <field field_ref="albedodat_clean" name="albedodat" />
163
164         <!-- 2D fields associated to tracers -->
165          <field field_ref="n2_surf_clean" name="n2" />
166          <field field_ref="co_ice_surf_clean" name="co_ice" />
167          <field field_ref="co_gas_surf_clean" name="co_gas" />
168          <field field_ref="ch4_ice_surf_clean" name="ch4_ice" />
169          <field field_ref="ch4_gas_surf_clean" name="ch4_gas" />
170          <field field_ref="prec_haze_surf_clean" name="prec_haze" />
171          <field field_ref="haze_surf_clean" name="haze" />
172         </field_group>
173         <!-- soil fields -->
174          <field field_ref="tsoil_clean" name="tsoil"
175                 grid_ref="dst_grid_soil_unstructured"
176                 operation="once" />
177          <field field_ref="inertiedat_clean" name="inertiedat"
178                 grid_ref="dst_grid_soil_unstructured"
179                 operation="once" />
180         <!-- q2 field -->
181          <field field_ref="q2_clean" name="q2"
182                 grid_ref="dst_p1_grid_unstructured"
183                 operation="once" />
184         <!-- 3D fields -->
185        </file>
186      </file_group>
187   </file_definition>
188
189   <axis_definition>
190     <axis id="lev" positive="down"
191           standard_name="atmosphere_hybrid_sigma_pressure_coordinate"
192           long_name="hybrid level at midpoints" />
193     <axis id="lev_p1" positive="down" />
194     <axis id="nq" name="nq" />
195     <axis id="soil_layers" name="subsurface_layers" />
196   </axis_definition>
197
198   <domain_definition>
199    <domain_group id="read_domains">
200      <domain id="src_domain_regular" type="rectilinear">
201        <!-- <generate_rectilinear_domain /> -->
202      </domain>
203      <domain id="src_domain_regular_clean" type="rectilinear">
204        <!-- <generate_rectilinear_domain /> -->
205      </domain>
206      <domain id="src_topo_domain_regular" type="rectilinear">
207        <!-- <generate_rectilinear_domain /> -->
208      </domain>
209    </domain_group>
210
211    <domain_group id="domain_dst">
212     <domain id="dst_domain_unstructured" type="unstructured">
213       <interpolate_domain order="1" renormalize="true" />
214     </domain>
215    </domain_group>
216   </domain_definition>
217
218   <grid_definition>
219    <grid_group id="read_grids">
220      <grid id="src_grid_regular">
221        <domain domain_ref="src_domain_regular" />
222        <axis axis_ref="lev" />
223      </grid>
224      <grid id="src_grid_regular_clean">
225        <domain domain_ref="src_domain_regular_clean" />
226        <axis axis_ref="lev" />
227      </grid>
228      <grid id="src_grid_regular_p1_clean">
229        <domain domain_ref="src_domain_regular_clean" />
230        <axis axis_ref="lev_p1" />
231      </grid>
232      <grid id="src_nq_grid_regular_clean">
233        <domain domain_ref="src_domain_regular_clean" />
234        <axis axis_ref="lev" />
235        <axis axis_ref="nq" />
236      </grid>
237      <grid id="src_grid_soil">
238        <domain domain_ref="src_domain_regular" />
239        <axis axis_ref="soil_layers" />
240      </grid>
241      <grid id="src_grid_soil_clean">
242        <domain domain_ref="src_domain_regular_clean" />
243        <axis axis_ref="soil_layers" />
244      </grid>
245    </grid_group>
246
247    <grid_group id="grid_dst">
248      <grid id="dst_grid_unstructured">
249        <domain domain_ref="dst_domain_unstructured" />
250        <axis axis_ref="lev" />
251      </grid>
252      <grid id="dst_p1_grid_unstructured">
253        <domain domain_ref="dst_domain_unstructured" />
254        <axis axis_ref="lev_p1" />
255      </grid>
256      <grid id="dst_nq_grid_unstructured">
257        <domain domain_ref="dst_domain_unstructured" />
258        <axis axis_ref="lev" />
259        <axis axis_ref="nq" />
260      </grid>
261      <grid id="dst_grid_soil_unstructured">
262        <domain domain_ref="dst_domain_unstructured" />
263        <axis axis_ref="soil_layers" />
264      </grid>
265    </grid_group>
266
267   </grid_definition>
268
269  </context>
270
271  <context id="xios">
272      <variable_definition>
273        <variable_group id="buffer">
274            <variable id="optimal_buffer_size" type="string">performance</variable>
275            <variable id="buffer_size_factor" type="double">30.0</variable>
276            <variable id="min_buffer_size" type="double">800000</variable>
277         </variable_group>
278
279        <variable_group id="parameters" >
280          <variable id="using_server" type="bool">false</variable>
281          <variable id="info_level" type="int">100</variable>
282          <variable id="print_file" type="bool">false</variable>
283        </variable_group>
284      </variable_definition>
285  </context>
286</simulation>
287
Note: See TracBrowser for help on using the repository browser.