source: LMDZ6/branches/blowing_snow/DefLists/context_lmdz.xml @ 4484

Last change on this file since 4484 was 4477, checked in by lfalletti, 16 months ago

New axis (axis_lat_greordered) that fixes a bug with latitudes being reversed for outputs from CMIP6 workflow (for zonal mean files only)

  • 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.7 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="presinter" standard_name="Pressure at interface of vertical levels" unit="Pa"/>
66    <axis id="Ahyb" standard_name="Ahyb comp of Hyb Cord" unit="Pa"/>
67    <axis id="Bhyb" standard_name="Bhyb comp of Hyb Cord" unit=""/>
68    <axis id="Ahyb_inter" standard_name="A comp of Hyb Cord at interface" unit="Pa"/>
69    <axis id="Bhyb_inter" standard_name="B comp of Hyb Cord at interface" unit=""/>
70    <axis id="Alt" standard_name="Height approx for scale heigh of 8km at levels" unit="km"/>
71    <axis id="plev" standard_name="model_level_number" unit="Pa"/>
72    <axis id="klev"  prec="8" long_name="number of layers" standard_name="number of layers" unit="1" />
73    <axis id="klevp1"  prec="8" long_name="number of layer interfaces" standard_name="number of layer interfaces" unit="1" />
74    <axis id="bnds" standard_name="bounds" unit="1" />
75    <axis id="spectband" standard_name="Sensor Band Central Radiation Wavenumber" unit="m-1"/>
76    <axis id="axis_lat" standard_name="Latitude axis">
77        <reduce_domain operation="average" direction="iDir" />
78    </axis>
79    <axis id="axis_lat_greordered" standard_name="Latitude axis">
80      <reduce_domain operation="average" direction="iDir" />
81    </axis>
82
83<!-- Cosp axis definitions-->
84    <axis id="height" standard_name="Cosp levels" unit="m"/> 
85    <axis id="height_mlev" standard_name="height_mlev" unit="m"/> 
86    <axis id="sza" standard_name="solar_zenith_angle" unit="degrees"/>
87    <axis id="pressure2" standard_name="pressure" unit="mb"/>
88    <axis id="column" standard_name="column" unit="count"/> 
89    <axis id="temp" standard_name="temperature" unit="K"/> 
90<!--    <axis id="cth16" standard_name="altitude" unit="m"/>   ym unused now to be in adequation with axis definition from model --> 
91    <axis id="cth" standard_name="altitude" unit="m"/> 
92    <axis id="ReffIce" standard_name="ReffIce" unit="microne" />
93    <axis id="ReffLiq" standard_name="ReffLiq" unit="microne" />
94    <axis id="scatratio" standard_name="scatratio" unit="1" />
95    <axis id="dbze" standard_name="dbze" unit="dBZ" />
96    <axis id="tau" standard_name="tau" unit="1" />
97  </axis_definition>
98
99  <grid_definition>
100
101    <grid id="klev_bnds"> <axis axis_ref="klev" /> <axis axis_ref="bnds" /> </grid>
102    <grid id="klevp1_bnds"> <axis axis_ref="klevp1" /> <axis axis_ref="bnds" /> </grid>
103
104     <grid id="grid_glo">
105        <domain domain_ref="dom_glo" />
106     </grid>
107     <grid id="grid_out">
108        <domain domain_ref="dom_out" />
109     </grid>
110
111     <grid id="grid_glo_presnivs">
112        <domain domain_ref="dom_glo" />
113        <axis axis_ref="presnivs" />
114     </grid>
115     <grid id="grid_out_presnivs">
116        <domain domain_ref="dom_out" />
117        <axis axis_ref="presnivs" />
118     </grid>
119
120     <grid id="grid_glo_plev">
121        <domain domain_ref="dom_glo" />
122        <axis axis_ref="plev" />
123     </grid>
124
125     <grid id="grid_glo_presinter">
126        <domain domain_ref="dom_glo" />
127        <axis axis_ref="presinter" />
128     </grid>
129     <grid id="grid_out_presinter">
130        <domain domain_ref="dom_out" />
131        <axis axis_ref="presinter" />
132     </grid>
133
134     <grid id="grid_out_plev17">
135        <domain id="dom_out" />
136          <axis 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" />
137        </axis>
138     </grid>
139
140     <grid id="grid_out_plev">
141        <domain domain_ref="dom_out" />
142        <axis axis_ref="plev" />
143     </grid>
144
145     <grid id="grid_glo_spectband">
146        <domain domain_ref="dom_glo" />
147        <axis axis_ref="spectband" />
148     </grid>
149     <grid id="grid_out_spectband">
150        <domain domain_ref="dom_out" />
151        <axis axis_ref="spectband" />
152     </grid>
153
154     <grid id="grid_glo_height">
155        <domain domain_ref="dom_glo" />
156        <axis axis_ref="height" />
157     </grid>
158     <grid id="grid_out_height">
159        <domain domain_ref="dom_out" />
160        <axis axis_ref="height" />
161     </grid>
162
163     <grid id="grid_glo_heightmlev">
164        <domain domain_ref="dom_glo" />
165        <axis axis_ref="height_mlev" />
166     </grid>
167     <grid id="grid_out_heightmlev">
168        <domain domain_ref="dom_out" />
169        <axis axis_ref="height_mlev" />
170     </grid>
171
172     <grid id="grid_glo_temp">
173        <domain domain_ref="dom_glo" />
174        <axis axis_ref="temp" />
175     </grid>
176     <grid id="grid_out_temp">
177        <domain domain_ref="dom_out" />
178        <axis axis_ref="temp" />
179     </grid>
180
181     <grid id="grid_glo_sza">
182        <domain domain_ref="dom_glo" />
183        <axis axis_ref="sza" />
184     </grid>
185     <grid id="grid_out_sza">
186        <domain domain_ref="dom_out" />
187        <axis axis_ref="sza" />
188     </grid>
189
190     <grid id="grid_glo_column">
191        <domain domain_ref="dom_glo" />
192        <axis axis_ref="column" />
193     </grid>
194     <grid id="grid_out_column">
195        <domain domain_ref="dom_out" />
196        <axis axis_ref="column" />
197     </grid>
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     <grid id="grid4Ddbze">
223        <domain domain_ref="dom_glo" />
224        <axis axis_ref="height" />
225        <axis axis_ref="dbze" />
226     </grid>
227     <grid id="grid4Ddbze_out">
228        <domain domain_ref="dom_out" />
229        <axis axis_ref="height" />
230        <axis axis_ref="dbze" />
231     </grid>
232
233     <grid id="grid4Dtau">
234        <domain domain_ref="dom_glo" />
235        <axis axis_ref="tau" />
236        <axis axis_ref="pressure2" />
237     </grid>
238     <grid id="grid4Dtau_out">
239        <domain domain_ref="dom_out" />
240        <axis axis_ref="tau" />
241        <axis axis_ref="pressure2" />
242     </grid>
243
244     <grid id="grid4Dmisr">
245        <domain domain_ref="dom_glo" />
246        <axis axis_ref="cth" />
247        <axis axis_ref="tau" />
248     </grid>
249     <grid id="grid4Dmisr_out">
250        <domain domain_ref="dom_out" />
251        <axis axis_ref="cth" />
252        <axis axis_ref="tau" />
253     </grid>
254
255     <grid id="grid4Dreffi">
256        <domain domain_ref="dom_glo" />
257        <axis axis_ref="tau" />
258        <axis axis_ref="ReffIce" />
259     </grid>
260     <grid id="grid4Dreffi_out">
261        <domain domain_ref="dom_out" />
262        <axis axis_ref="tau" />
263        <axis axis_ref="ReffIce" />
264     </grid>
265
266     <grid id="grid4Dreffl">
267        <domain domain_ref="dom_glo" />
268        <axis axis_ref="tau" />
269        <axis axis_ref="ReffLiq" />
270     </grid>
271     <grid id="grid4Dreffl_out">
272        <domain domain_ref="dom_out" />
273        <axis axis_ref="tau" />
274        <axis axis_ref="ReffLiq" />
275     </grid>
276
277     <grid id="grid4Dcol2">
278        <domain domain_ref="dom_glo" />
279        <axis axis_ref="height" />
280        <axis axis_ref="column" />
281     </grid>
282     <grid id="grid4Dcol2_out">
283        <domain domain_ref="dom_out" />
284        <axis axis_ref="height" />
285        <axis axis_ref="column" />
286     </grid>
287
288     <grid id="grid4Dsza">
289        <domain domain_ref="dom_glo" />
290        <axis axis_ref="column" />
291        <axis axis_ref="sza" />
292     </grid>
293     <grid id="grid4Dsza_out">
294        <domain domain_ref="dom_out" />
295        <axis axis_ref="column" />
296        <axis axis_ref="sza" />
297     </grid>
298
299 <!-- Grid definitions to allow summing of a 3D variable -->   
300      <grid id="grid_3D" >
301         <domain domain_ref="dom_glo" />
302         <axis axis_ref="lev" />
303       </grid>
304
305       <grid id="grid_sum_axis">
306         <domain domain_ref="dom_glo" />
307         <scalar>
308            <reduce_axis operation="sum" />
309         </scalar>
310       </grid>
311
312       <grid id="grid_sum">
313         <scalar >
314           <reduce_domain operation="sum" local="true" />
315           <reduce_scalar operation="sum" />
316         </scalar>
317         <scalar/>
318       </grid>
319
320  </grid_definition>
321
322</context>
Note: See TracBrowser for help on using the repository browser.