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

Last change on this file since 3721 was 3721, checked in by acaubel, 4 years ago

Removed axis definition of spectband and axis_lat which were written twice.

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