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

Last change on this file since 4144 was 4144, checked in by Laurent Fairhead, 2 years ago

Changing the name of the reference grid so that only lon, lat rather than lon_dom_glo/lon_dom_out...
appear in the output files

  • 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.2 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
79<!-- Cosp axis definitions-->
80    <axis id="height" standard_name="Cosp levels" unit="m"/> 
81    <axis id="height_mlev" standard_name="height_mlev" unit="m"/> 
82    <axis id="sza" standard_name="solar_zenith_angle" unit="degrees"/>
83    <axis id="pressure2" standard_name="pressure" unit="mb"/>
84    <axis id="column" standard_name="column" unit="count"/> 
85    <axis id="temp" standard_name="temperature" unit="K"/> 
86<!--    <axis id="cth16" standard_name="altitude" unit="m"/>   ym unused now to be in adequation with axis definition from model --> 
87    <axis id="cth" standard_name="altitude" unit="m"/> 
88    <axis id="ReffIce" standard_name="ReffIce" unit="microne" />
89    <axis id="ReffLiq" standard_name="ReffLiq" unit="microne" />
90    <axis id="scatratio" standard_name="scatratio" unit="1" />
91    <axis id="dbze" standard_name="dbze" unit="dBZ" />
92    <axis id="tau" standard_name="tau" unit="1" />
93  </axis_definition>
94
95  <grid_definition>
96
97    <grid id="klev_bnds"> <axis axis_ref="klev" /> <axis axis_ref="bnds" /> </grid>
98    <grid id="klevp1_bnds"> <axis axis_ref="klevp1" /> <axis axis_ref="bnds" /> </grid>
99
100     <grid id="grid_glo">
101        <domain domain_ref="dom_glo" />
102     </grid>
103     <grid id="grid_out">
104        <domain domain_ref="dom_out" />
105     </grid>
106
107     <grid id="grid_glo_presnivs">
108        <domain domain_ref="dom_glo" />
109        <axis axis_ref="presnivs" />
110     </grid>
111     <grid id="grid_out_presnivs">
112        <domain domain_ref="dom_out" />
113        <axis axis_ref="presnivs" />
114     </grid>
115
116     <grid id="grid_glo_plev">
117        <domain domain_ref="dom_glo" />
118        <axis axis_ref="plev" />
119     </grid>
120
121     <grid id="grid_out_plev17">
122        <domain id="dom_out" />
123          <axis axis_ref="pres" long_name="pressure" n_glo="17" name="plev_std" positive="down" standard_name="air_pressure" unit="Pa" value="(0,16)[ 100000. 92500. 85000. 70000. 60000. 50000. 40000. 30000. 25000. 20000. 15000. 10000. 7000. 5000. 3000. 2000. 1000. ]"><interpolate_axis coordinate="pres" order="1" type="polynomial" />
124        </axis>
125     </grid>
126
127     <grid id="grid_out_plev">
128        <domain domain_ref="dom_out" />
129        <axis axis_ref="plev" />
130     </grid>
131
132     <grid id="grid_glo_spectband">
133        <domain domain_ref="dom_glo" />
134        <axis axis_ref="spectband" />
135     </grid>
136     <grid id="grid_out_spectband">
137        <domain domain_ref="dom_out" />
138        <axis axis_ref="spectband" />
139     </grid>
140
141     <grid id="grid_glo_height">
142        <domain domain_ref="dom_glo" />
143        <axis axis_ref="height" />
144     </grid>
145     <grid id="grid_out_height">
146        <domain domain_ref="dom_out" />
147        <axis axis_ref="height" />
148     </grid>
149
150     <grid id="grid_glo_heightmlev">
151        <domain domain_ref="dom_glo" />
152        <axis axis_ref="height_mlev" />
153     </grid>
154     <grid id="grid_out_heightmlev">
155        <domain domain_ref="dom_out" />
156        <axis axis_ref="height_mlev" />
157     </grid>
158
159     <grid id="grid_glo_temp">
160        <domain domain_ref="dom_glo" />
161        <axis axis_ref="temp" />
162     </grid>
163     <grid id="grid_out_temp">
164        <domain domain_ref="dom_out" />
165        <axis axis_ref="temp" />
166     </grid>
167
168     <grid id="grid_glo_sza">
169        <domain domain_ref="dom_glo" />
170        <axis axis_ref="sza" />
171     </grid>
172     <grid id="grid_out_sza">
173        <domain domain_ref="dom_out" />
174        <axis axis_ref="sza" />
175     </grid>
176
177     <grid id="grid_glo_column">
178        <domain domain_ref="dom_glo" />
179        <axis axis_ref="column" />
180     </grid>
181     <grid id="grid_out_column">
182        <domain domain_ref="dom_out" />
183        <axis axis_ref="column" />
184     </grid>
185
186<!-- Define 4D grids for Cosp simulator -->
187     <grid id="grid4Dcol">
188        <domain domain_ref="dom_glo" />
189        <axis axis_ref="column" />
190        <axis axis_ref="height_mlev" />
191     </grid>
192     <grid id="grid4Dcol_out">
193        <domain domain_ref="dom_out" />
194        <axis axis_ref="column" />
195        <axis axis_ref="height_mlev" />
196     </grid>
197
198     <grid id="grid4Dsrbin">
199        <domain domain_ref="dom_glo" />
200        <axis axis_ref="height" />
201        <axis axis_ref="scatratio" />
202     </grid>
203     <grid id="grid4Dsrbin_out">
204        <domain domain_ref="dom_out" />
205        <axis axis_ref="height" />
206        <axis axis_ref="scatratio" />
207     </grid>
208
209     <grid id="grid4Ddbze">
210        <domain domain_ref="dom_glo" />
211        <axis axis_ref="height" />
212        <axis axis_ref="dbze" />
213     </grid>
214     <grid id="grid4Ddbze_out">
215        <domain domain_ref="dom_out" />
216        <axis axis_ref="height" />
217        <axis axis_ref="dbze" />
218     </grid>
219
220     <grid id="grid4Dtau">
221        <domain domain_ref="dom_glo" />
222        <axis axis_ref="tau" />
223        <axis axis_ref="pressure2" />
224     </grid>
225     <grid id="grid4Dtau_out">
226        <domain domain_ref="dom_out" />
227        <axis axis_ref="tau" />
228        <axis axis_ref="pressure2" />
229     </grid>
230
231     <grid id="grid4Dmisr">
232        <domain domain_ref="dom_glo" />
233        <axis axis_ref="cth" />
234        <axis axis_ref="tau" />
235     </grid>
236     <grid id="grid4Dmisr_out">
237        <domain domain_ref="dom_out" />
238        <axis axis_ref="cth" />
239        <axis axis_ref="tau" />
240     </grid>
241
242     <grid id="grid4Dreffi">
243        <domain domain_ref="dom_glo" />
244        <axis axis_ref="tau" />
245        <axis axis_ref="ReffIce" />
246     </grid>
247     <grid id="grid4Dreffi_out">
248        <domain domain_ref="dom_out" />
249        <axis axis_ref="tau" />
250        <axis axis_ref="ReffIce" />
251     </grid>
252
253     <grid id="grid4Dreffl">
254        <domain domain_ref="dom_glo" />
255        <axis axis_ref="tau" />
256        <axis axis_ref="ReffLiq" />
257     </grid>
258     <grid id="grid4Dreffl_out">
259        <domain domain_ref="dom_out" />
260        <axis axis_ref="tau" />
261        <axis axis_ref="ReffLiq" />
262     </grid>
263
264     <grid id="grid4Dcol2">
265        <domain domain_ref="dom_glo" />
266        <axis axis_ref="height" />
267        <axis axis_ref="column" />
268     </grid>
269     <grid id="grid4Dcol2_out">
270        <domain domain_ref="dom_out" />
271        <axis axis_ref="height" />
272        <axis axis_ref="column" />
273     </grid>
274
275     <grid id="grid4Dsza">
276        <domain domain_ref="dom_glo" />
277        <axis axis_ref="column" />
278        <axis axis_ref="sza" />
279     </grid>
280     <grid id="grid4Dsza_out">
281        <domain domain_ref="dom_out" />
282        <axis axis_ref="column" />
283        <axis axis_ref="sza" />
284     </grid>
285
286 <!-- Grid definitions to allow summing of a 3D variable -->   
287      <grid id="grid_3D" >
288         <domain domain_ref="dom_glo" />
289         <axis axis_ref="lev" />
290       </grid>
291
292       <grid id="grid_sum_axis">
293         <domain domain_ref="dom_glo" />
294         <scalar>
295            <reduce_axis operation="sum" />
296         </scalar>
297       </grid>
298
299       <grid id="grid_sum">
300         <scalar >
301           <reduce_domain operation="sum" local="true" />
302           <reduce_scalar operation="sum" />
303         </scalar>
304         <scalar/>
305       </grid>
306
307  </grid_definition>
308
309</context>
Note: See TracBrowser for help on using the repository browser.