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

Last change on this file since 3517 was 3517, checked in by idelkadi, 5 years ago

Suite de l'implementation de la version 2 de Cosp dans LMDZ

  • 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: 9.8 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_histstrataer_lmdz.xml"/>
25
26
27
28
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
106     <grid id="grid_glo">
107        <domain domain_ref="dom_glo" />
108     </grid>
109
110     <grid id="grid_out">
111        <domain domain_ref="dom_out" />
112     </grid>
113
114
115     <grid id="grid_glo_presnivs">
116        <domain domain_ref="dom_glo" />
117        <axis axis_ref="presnivs" />
118     </grid>
119
120     <grid id="grid_out_presnivs">
121        <domain domain_ref="dom_out" />
122        <axis axis_ref="presnivs" />
123     </grid>
124
125
126     <grid id="grid_glo_plev">
127        <domain domain_ref="dom_glo" />
128        <axis axis_ref="plev" />
129     </grid>
130
131     <grid id="grid_out_plev">
132        <domain domain_ref="dom_out" />
133        <axis axis_ref="plev" />
134     </grid>
135
136
137     <grid id="grid_glo_spectband">
138        <domain domain_ref="dom_glo" />
139        <axis axis_ref="spectband" />
140     </grid>
141
142     <grid id="grid_out_spectband">
143        <domain domain_ref="dom_out" />
144        <axis axis_ref="spectband" />
145     </grid>
146     
147
148     <grid id="grid_glo_height">
149        <domain domain_ref="dom_glo" />
150        <axis axis_ref="height" />
151     </grid>
152     <grid id="grid_out_height">
153        <domain domain_ref="dom_out" />
154        <axis axis_ref="height" />
155     </grid>
156
157
158     <grid id="grid_glo_heightmlev">
159        <domain domain_ref="dom_glo" />
160        <axis axis_ref="height_mlev" />
161     </grid>
162     <grid id="grid_out_heightmlev">
163        <domain domain_ref="dom_out" />
164        <axis axis_ref="height_mlev" />
165     </grid>
166
167
168     <grid id="grid_glo_temp">
169        <domain domain_ref="dom_glo" />
170        <axis axis_ref="temp" />
171     </grid>
172     <grid id="grid_out_temp">
173        <domain domain_ref="dom_out" />
174        <axis axis_ref="temp" />
175     </grid>
176
177
178
179     <grid id="grid_glo_sza">
180        <domain domain_ref="dom_glo" />
181        <axis axis_ref="sza" />
182     </grid>
183     <grid id="grid_out_sza">
184        <domain domain_ref="dom_out" />
185        <axis axis_ref="sza" />
186     </grid>
187
188
189     <grid id="grid_glo_column">
190        <domain domain_ref="dom_glo" />
191        <axis axis_ref="column" />
192     </grid>
193     <grid id="grid_out_column">
194        <domain domain_ref="dom_out" />
195        <axis axis_ref="column" />
196     </grid>
197
198
199<!-- Define 4D grids for Cosp simulator -->
200     <grid id="grid4Dcol">
201        <domain domain_ref="dom_glo" />
202        <axis axis_ref="column" />
203        <axis axis_ref="height_mlev" />
204     </grid>
205     <grid id="grid4Dcol_out">
206        <domain domain_ref="dom_out" />
207        <axis axis_ref="column" />
208        <axis axis_ref="height_mlev" />
209     </grid>
210
211     <grid id="grid4Dsrbin">
212        <domain domain_ref="dom_glo" />
213        <axis axis_ref="height" />
214        <axis axis_ref="scatratio" />
215     </grid>
216     <grid id="grid4Dsrbin_out">
217        <domain domain_ref="dom_out" />
218        <axis axis_ref="height" />
219        <axis axis_ref="scatratio" />
220     </grid>
221
222
223     <grid id="grid4Ddbze">
224        <domain domain_ref="dom_glo" />
225        <axis axis_ref="height" />
226        <axis axis_ref="dbze" />
227     </grid>
228     <grid id="grid4Ddbze_out">
229        <domain domain_ref="dom_out" />
230        <axis axis_ref="height" />
231        <axis axis_ref="dbze" />
232     </grid>
233
234     <grid id="grid4Dtau">
235        <domain domain_ref="dom_glo" />
236        <axis axis_ref="tau" />
237        <axis axis_ref="pressure2" />
238     </grid>
239     <grid id="grid4Dtau_out">
240        <domain domain_ref="dom_out" />
241        <axis axis_ref="tau" />
242        <axis axis_ref="pressure2" />
243     </grid>
244
245     <grid id="grid4Dmisr">
246        <domain domain_ref="dom_glo" />
247        <axis axis_ref="cth" />
248        <axis axis_ref="tau" />
249     </grid>
250     <grid id="grid4Dmisr_out">
251        <domain domain_ref="dom_out" />
252        <axis axis_ref="cth" />
253        <axis axis_ref="tau" />
254     </grid>
255
256     <grid id="grid4Dreffi">
257        <domain domain_ref="dom_glo" />
258        <axis axis_ref="tau" />
259        <axis axis_ref="ReffIce" />
260     </grid>
261     <grid id="grid4Dreffi_out">
262        <domain domain_ref="dom_out" />
263        <axis axis_ref="tau" />
264        <axis axis_ref="ReffIce" />
265     </grid>
266
267     <grid id="grid4Dreffl">
268        <domain domain_ref="dom_glo" />
269        <axis axis_ref="tau" />
270        <axis axis_ref="ReffLiq" />
271     </grid>
272     <grid id="grid4Dreffl_out">
273        <domain domain_ref="dom_out" />
274        <axis axis_ref="tau" />
275        <axis axis_ref="ReffLiq" />
276     </grid>
277
278
279     <grid id="grid4Dcol2">
280        <domain domain_ref="dom_glo" />
281        <axis axis_ref="height" />
282        <axis axis_ref="column" />
283     </grid>
284     <grid id="grid4Dcol2_out">
285        <domain domain_ref="dom_out" />
286        <axis axis_ref="height" />
287        <axis axis_ref="column" />
288     </grid>
289
290     <grid id="grid4Dsza">
291        <domain domain_ref="dom_glo" />
292        <axis axis_ref="column" />
293        <axis axis_ref="sza" />
294     </grid>
295
296     <grid id="grid4Dsza_out">
297        <domain domain_ref="dom_out" />
298        <axis axis_ref="column" />
299        <axis axis_ref="sza" />
300     </grid>
301
302 <!-- Grid definitions to allow summing of a 3D variable -->   
303      <grid id="grid_3D" >
304         <domain domain_ref="dom_glo" />
305         <axis axis_ref="lev" />
306       </grid>
307
308       <grid id="grid_sum_axis">
309         <domain domain_ref="dom_glo" />
310         <scalar>
311            <reduce_axis operation="sum" />
312         </scalar>
313       </grid>
314
315       <grid id="grid_sum">
316         <scalar >
317           <reduce_domain operation="sum" local="true" />
318           <reduce_scalar operation="sum" />
319         </scalar>
320         <scalar/>
321       </grid>
322
323  </grid_definition>
324
325</context>
Note: See TracBrowser for help on using the repository browser.