source: LMDZ6/branches/IPSL-CM6A-MR/DefLists/context_lmdz.xml @ 3853

Last change on this file since 3853 was 3853, checked in by lmdz-users, 3 years ago

Modifications to code to introduce a new vertical axis on llm+1 levels so that fluxes can
be output on their proper levels as per the CMIP6 DataRequest?
LF

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