source: LMDZ6/trunk/DefLists/context_lmdz.xml @ 3653

Last change on this file since 3653 was 3653, checked in by idelkadi, 4 years ago

Reorganization of xml files for Cosp (version 1 and 2) for better management of LMDZ outputs with XIOIS.

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
File size: 10.1 KB
Line 
1<!-- $Id$ -->
2<!-- Context LMDZ -->
3<context id="LMDZ">
4<!--  <calendar type="D360" start_date="1980-01-01 00:00:00" /> -->
5
6  <!-- Define available variables -->
7  <field_definition src="./field_def_lmdz.xml"/>
8
9  <!-- Define output files
10              Each file contains the list of variables and their output levels -->
11
12  <file_definition src="./file_def_histday_lmdz.xml"/>
13  <file_definition src="./file_def_histhf_lmdz.xml"/>
14  <file_definition src="./file_def_histins_lmdz.xml"/>
15  <file_definition src="./file_def_histLES_lmdz.xml"/>
16  <file_definition src="./file_def_histmth_lmdz.xml"/>
17  <file_definition src="./file_def_histstn_lmdz.xml"/>
18  <file_definition src="./file_def_histmthNMC_lmdz.xml"/>
19  <file_definition src="./file_def_histdayNMC_lmdz.xml"/>
20  <file_definition src="./file_def_histhfNMC_lmdz.xml"/>
21  <file_definition src="./file_def_histmthCOSP_lmdz.xml"/>
22  <file_definition src="./file_def_histdayCOSP_lmdz.xml"/>
23  <file_definition src="./file_def_histhfCOSP_lmdz.xml"/>
24  <!-- <file_definition src="./file_def_histmthCOSPv2_lmdz.xml"/> -->
25  <!-- <file_definition src="./file_def_histdayCOSPv2_lmdz.xml"/> -->
26  <!-- <file_definition src="./file_def_histhfCOSPv2_lmdz.xml"/> -->
27  <file_definition src="./file_def_histstrataer_lmdz.xml"/
28  <file_definition src="./file_def_histdaystrataer_lmdz.xml"/>
29
30  <!-- Define domains and groups of domains -->
31  <domain_definition>
32
33    <domain id="dom_glo"  data_dim="1" />
34
35    <domain id="greordered"  domain_ref="dom_glo">
36      <reorder_domain invert_lat="true" shift_lon_fraction="0.5" min_lon="0" max_lon="360" />
37    </domain> 
38   
39    <domain id="dom_regular" ni_glo="144" nj_glo="143" type="rectilinear"  >
40      <generate_rectilinear_domain lat_start="-90" lat_end="90" lon_start="0"/>
41      <interpolate_domain order="1"/>
42    </domain>
43   
44    <domain id="dom_out" domain_ref="dom_glo"/>
45   
46  </domain_definition>
47 
48  <!-- Need to define a grid? Do it here -->
49<!--  <grid_definition>
50    <grid_group id="vertical" axis_ref="presnivs" />
51  </grid_> -->
52
53<!-- Define Scalar grid for GHG, orbital parameters and solar constants -->
54  <grid_definition>
55    <grid id="grid_scalar" >
56      <scalar/>
57    </grid>
58  </grid_definition>
59 
60  <!-- Define groups of vertical axes -->
61  <axis_definition>
62    <axis id="time_month" n_glo="12" value="(0,11) [1 2 3 4 5 6 7 8 9 10 11 12]"/>
63    <axis id="time_year" unit="day" />
64    <axis id="presnivs" standard_name="Vertical levels" unit="Pa"/>
65    <axis id="Ahyb" standard_name="Ahyb comp of Hyb Cord" unit="Pa"/>
66    <axis id="Bhyb" standard_name="Bhyb comp of Hyb Cord" unit=""/>
67    <axis id="Ahyb_inter" standard_name="A comp of Hyb Cord at interface" unit="Pa"/>
68    <axis id="Bhyb_inter" standard_name="B comp of Hyb Cord at interface" unit=""/>
69    <axis id="Alt" standard_name="Height approx for scale heigh of 8km at levels" unit="km"/>
70    <axis id="plev" standard_name="model_level_number" unit="Pa"/>
71    <axis id="klev"  prec="8" long_name="number of layers" standard_name="number of layers" unit="1" />
72    <axis id="klevp1"  prec="8" long_name="number of layer interfaces" standard_name="number of layer interfaces" unit="1" />
73    <axis id="bnds" standard_name="bounds" unit="1" />
74    <axis id="spectband" standard_name="Sensor Band Central Radiation Wavenumber" unit="m-1"/>
75    <axis id="axis_lat" standard_name="Latitude axis">
76        <reduce_domain operation="average" direction="iDir" />
77    </axis>
78    <axis id="spectband" standard_name="Sensor Band Central Radiation Wavenumber" unit="m-1">
79    </axis>
80    <axis id="axis_lat" standard_name="Latitude axis">
81        <reduce_domain operation="average" direction="iDir" />
82    </axis>
83
84<!-- Cosp axis definitions-->
85    <axis id="height" standard_name="Cosp levels" unit="m"/> 
86    <axis id="height_mlev" standard_name="height_mlev" unit="m"/> 
87    <axis id="sza" standard_name="solar_zenith_angle" unit="degrees"/>
88    <axis id="pressure2" standard_name="pressure" unit="mb"/>
89    <axis id="column" standard_name="column" unit="count"/> 
90    <axis id="temp" standard_name="temperature" unit="K"/> 
91<!--    <axis id="cth16" standard_name="altitude" unit="m"/>   ym unused now to be in adequation with axis definition from model --> 
92    <axis id="cth" standard_name="altitude" unit="m"/> 
93    <axis id="ReffIce" standard_name="ReffIce" unit="microne" />
94    <axis id="ReffLiq" standard_name="ReffLiq" unit="microne" />
95    <axis id="scatratio" standard_name="scatratio" unit="1" />
96    <axis id="dbze" standard_name="dbze" unit="dBZ" />
97    <axis id="tau" standard_name="tau" unit="1" />
98  </axis_definition>
99
100  <grid_definition>
101
102    <grid id="klev_bnds"> <axis axis_ref="klev" /> <axis axis_ref="bnds" /> </grid>
103    <grid id="klevp1_bnds"> <axis axis_ref="klevp1" /> <axis axis_ref="bnds" /> </grid>
104
105     <grid id="grid_glo">
106        <domain domain_ref="dom_glo" />
107     </grid>
108     <grid id="grid_out">
109        <domain domain_ref="dom_out" />
110     </grid>
111
112     <grid id="grid_glo_presnivs">
113        <domain domain_ref="dom_glo" />
114        <axis axis_ref="presnivs" />
115     </grid>
116     <grid id="grid_out_presnivs">
117        <domain domain_ref="dom_out" />
118        <axis axis_ref="presnivs" />
119     </grid>
120
121     <grid id="grid_glo_plev">
122        <domain domain_ref="dom_glo" />
123        <axis axis_ref="plev" />
124     </grid>
125     <grid id="grid_out_plev">
126        <domain domain_ref="dom_out" />
127        <axis axis_ref="plev" />
128     </grid>
129
130     <grid id="grid_glo_spectband">
131        <domain domain_ref="dom_glo" />
132        <axis axis_ref="spectband" />
133     </grid>
134     <grid id="grid_out_spectband">
135        <domain domain_ref="dom_out" />
136        <axis axis_ref="spectband" />
137     </grid>
138
139     <grid id="grid_glo_height">
140        <domain domain_ref="dom_glo" />
141        <axis axis_ref="height" />
142     </grid>
143     <grid id="grid_out_height">
144        <domain domain_ref="dom_out" />
145        <axis axis_ref="height" />
146     </grid>
147
148     <grid id="grid_glo_heightmlev">
149        <domain domain_ref="dom_glo" />
150        <axis axis_ref="height_mlev" />
151     </grid>
152     <grid id="grid_out_heightmlev">
153        <domain domain_ref="dom_out" />
154        <axis axis_ref="height_mlev" />
155     </grid>
156
157     <grid id="grid_glo_temp">
158        <domain domain_ref="dom_glo" />
159        <axis axis_ref="temp" />
160     </grid>
161     <grid id="grid_out_temp">
162        <domain domain_ref="dom_out" />
163        <axis axis_ref="temp" />
164     </grid>
165
166     <grid id="grid_glo_sza">
167        <domain domain_ref="dom_glo" />
168        <axis axis_ref="sza" />
169     </grid>
170     <grid id="grid_out_sza">
171        <domain domain_ref="dom_out" />
172        <axis axis_ref="sza" />
173     </grid>
174
175     <grid id="grid_glo_column">
176        <domain domain_ref="dom_glo" />
177        <axis axis_ref="column" />
178     </grid>
179     <grid id="grid_out_column">
180        <domain domain_ref="dom_out" />
181        <axis axis_ref="column" />
182     </grid>
183
184<!-- Define 4D grids for Cosp simulator -->
185     <grid id="grid4Dcol">
186        <domain domain_ref="dom_glo" />
187        <axis axis_ref="column" />
188        <axis axis_ref="height_mlev" />
189     </grid>
190     <grid id="grid4Dcol_out">
191        <domain domain_ref="dom_out" />
192        <axis axis_ref="column" />
193        <axis axis_ref="height_mlev" />
194     </grid>
195
196     <grid id="grid4Dsrbin">
197        <domain domain_ref="dom_glo" />
198        <axis axis_ref="height" />
199        <axis axis_ref="scatratio" />
200     </grid>
201     <grid id="grid4Dsrbin_out">
202        <domain domain_ref="dom_out" />
203        <axis axis_ref="height" />
204        <axis axis_ref="scatratio" />
205     </grid>
206
207     <grid id="grid4Ddbze">
208        <domain domain_ref="dom_glo" />
209        <axis axis_ref="height" />
210        <axis axis_ref="dbze" />
211     </grid>
212     <grid id="grid4Ddbze_out">
213        <domain domain_ref="dom_out" />
214        <axis axis_ref="height" />
215        <axis axis_ref="dbze" />
216     </grid>
217
218     <grid id="grid4Dtau">
219        <domain domain_ref="dom_glo" />
220        <axis axis_ref="tau" />
221        <axis axis_ref="pressure2" />
222     </grid>
223     <grid id="grid4Dtau_out">
224        <domain domain_ref="dom_out" />
225        <axis axis_ref="tau" />
226        <axis axis_ref="pressure2" />
227     </grid>
228
229     <grid id="grid4Dmisr">
230        <domain domain_ref="dom_glo" />
231        <axis axis_ref="cth" />
232        <axis axis_ref="tau" />
233     </grid>
234     <grid id="grid4Dmisr_out">
235        <domain domain_ref="dom_out" />
236        <axis axis_ref="cth" />
237        <axis axis_ref="tau" />
238     </grid>
239
240     <grid id="grid4Dreffi">
241        <domain domain_ref="dom_glo" />
242        <axis axis_ref="tau" />
243        <axis axis_ref="ReffIce" />
244     </grid>
245     <grid id="grid4Dreffi_out">
246        <domain domain_ref="dom_out" />
247        <axis axis_ref="tau" />
248        <axis axis_ref="ReffIce" />
249     </grid>
250
251     <grid id="grid4Dreffl">
252        <domain domain_ref="dom_glo" />
253        <axis axis_ref="tau" />
254        <axis axis_ref="ReffLiq" />
255     </grid>
256     <grid id="grid4Dreffl_out">
257        <domain domain_ref="dom_out" />
258        <axis axis_ref="tau" />
259        <axis axis_ref="ReffLiq" />
260     </grid>
261
262     <grid id="grid4Dcol2">
263        <domain domain_ref="dom_glo" />
264        <axis axis_ref="height" />
265        <axis axis_ref="column" />
266     </grid>
267     <grid id="grid4Dcol2_out">
268        <domain domain_ref="dom_out" />
269        <axis axis_ref="height" />
270        <axis axis_ref="column" />
271     </grid>
272
273     <grid id="grid4Dsza">
274        <domain domain_ref="dom_glo" />
275        <axis axis_ref="column" />
276        <axis axis_ref="sza" />
277     </grid>
278     <grid id="grid4Dsza_out">
279        <domain domain_ref="dom_out" />
280        <axis axis_ref="column" />
281        <axis axis_ref="sza" />
282     </grid>
283
284 <!-- Grid definitions to allow summing of a 3D variable -->   
285      <grid id="grid_3D" >
286         <domain domain_ref="dom_glo" />
287         <axis axis_ref="lev" />
288       </grid>
289
290       <grid id="grid_sum_axis">
291         <domain domain_ref="dom_glo" />
292         <scalar>
293            <reduce_axis operation="sum" />
294         </scalar>
295       </grid>
296
297       <grid id="grid_sum">
298         <scalar >
299           <reduce_domain operation="sum" local="true" />
300           <reduce_scalar operation="sum" />
301         </scalar>
302         <scalar/>
303       </grid>
304
305  </grid_definition>
306
307</context>
Note: See TracBrowser for help on using the repository browser.