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

Last change on this file since 4981 was 4773, checked in by idelkadi, 7 months ago
  • Update of Ecrad in LMDZ The same organization of the Ecrad offline version is retained in order to facilitate the updating of Ecrad in LMDZ and the comparison between online and offline results. version 1.6.1 of Ecrad (https://github.com/lguez/ecrad.git)
  • Implementation of the double call of Ecrad in 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: 11.0 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_histmthECRAD2app_lmdz.xml"/> -->
25  <!-- <file_definition src="./file_def_histhfECRAD2app_lmdz.xml"/> -->
26  <!-- <file_definition src="./file_def_histdayECRAD2app_lmdz.xml"/> -->
27  <!-- <file_definition src="./file_def_histmthCOSPv2_lmdz.xml"/> -->
28  <!-- <file_definition src="./file_def_histdayCOSPv2_lmdz.xml"/> -->
29  <!-- <file_definition src="./file_def_histhfCOSPv2_lmdz.xml"/> -->
30  <file_definition src="./file_def_histstrataer_lmdz.xml"/>
31  <file_definition src="./file_def_histdaystrataer_lmdz.xml"/>
32<!--  <file_definition src="./file_def_phystoke_lmdz.xml"/>-->
33
34  <!-- Define domains and groups of domains -->
35  <domain_definition>
36
37    <domain id="dom_glo"  data_dim="1" />
38
39    <domain id="greordered"  domain_ref="dom_glo">
40      <reorder_domain invert_lat="true" shift_lon_fraction="0.5" min_lon="0" max_lon="360" />
41    </domain> 
42   
43    <domain id="dom_regular" ni_glo="144" nj_glo="143" type="rectilinear"  >
44      <generate_rectilinear_domain lat_start="-90" lat_end="90" lon_start="0"/>
45      <interpolate_domain order="1"/>
46    </domain>
47   
48    <domain id="dom_out" domain_ref="dom_glo"/>
49   
50  </domain_definition>
51 
52  <!-- Need to define a grid? Do it here -->
53<!--  <grid_definition>
54    <grid_group id="vertical" axis_ref="presnivs" />
55  </grid_> -->
56
57<!-- Define Scalar grid for GHG, orbital parameters and solar constants -->
58  <grid_definition>
59    <grid id="grid_scalar" >
60      <scalar/>
61    </grid>
62  </grid_definition>
63 
64  <!-- Define groups of vertical axes -->
65  <axis_definition>
66    <axis id="time_month" n_glo="12" value="(0,11) [1 2 3 4 5 6 7 8 9 10 11 12]"/>
67    <axis id="time_year" unit="day" />
68    <axis id="presnivs" standard_name="Vertical levels" unit="Pa"/>
69    <axis id="presinter" standard_name="Pressure at interface of vertical levels" unit="Pa"/>
70    <axis id="Ahyb" standard_name="Ahyb comp of Hyb Cord" unit="Pa"/>
71    <axis id="Bhyb" standard_name="Bhyb comp of Hyb Cord" unit=""/>
72    <axis id="Ahyb_inter" standard_name="A comp of Hyb Cord at interface" unit="Pa"/>
73    <axis id="Bhyb_inter" standard_name="B comp of Hyb Cord at interface" unit=""/>
74    <axis id="Alt" standard_name="Height approx for scale heigh of 8km at levels" unit="km"/>
75    <axis id="plev" standard_name="model_level_number" unit="Pa"/>
76    <axis id="klev"  prec="8" long_name="number of layers" standard_name="number of layers" unit="1" />
77    <axis id="klevp1"  prec="8" long_name="number of layer interfaces" standard_name="number of layer interfaces" unit="1" />
78    <axis id="bnds" standard_name="bounds" unit="1" />
79    <axis id="spectband" standard_name="Sensor Band Central Radiation Wavenumber" unit="m-1"/>
80    <axis id="axis_lat" standard_name="Latitude axis">
81        <reduce_domain operation="average" direction="iDir" />
82    </axis>
83    <axis id="axis_lat_greordered" standard_name="Latitude axis">
84      <reduce_domain operation="average" direction="iDir" />
85    </axis>
86
87<!-- Cosp axis definitions-->
88    <axis id="height" standard_name="Cosp levels" unit="m"/> 
89    <axis id="height_mlev" standard_name="height_mlev" unit="m"/> 
90    <axis id="sza" standard_name="solar_zenith_angle" unit="degrees"/>
91    <axis id="pressure2" standard_name="pressure" unit="mb"/>
92    <axis id="column" standard_name="column" unit="count"/> 
93    <axis id="temp" standard_name="temperature" unit="K"/> 
94<!--    <axis id="cth16" standard_name="altitude" unit="m"/>   ym unused now to be in adequation with axis definition from model --> 
95    <axis id="cth" standard_name="altitude" unit="m"/> 
96    <axis id="ReffIce" standard_name="ReffIce" unit="microne" />
97    <axis id="ReffLiq" standard_name="ReffLiq" unit="microne" />
98    <axis id="scatratio" standard_name="scatratio" unit="1" />
99    <axis id="dbze" standard_name="dbze" unit="dBZ" />
100    <axis id="tau" standard_name="tau" unit="1" />
101  </axis_definition>
102
103  <grid_definition>
104
105    <grid id="klev_bnds"> <axis axis_ref="klev" /> <axis axis_ref="bnds" /> </grid>
106    <grid id="klevp1_bnds"> <axis axis_ref="klevp1" /> <axis axis_ref="bnds" /> </grid>
107
108     <grid id="grid_glo">
109        <domain domain_ref="dom_glo" />
110     </grid>
111     <grid id="grid_out">
112        <domain domain_ref="dom_out" />
113     </grid>
114
115     <grid id="grid_glo_presnivs">
116        <domain domain_ref="dom_glo" />
117        <axis axis_ref="presnivs" />
118     </grid>
119     <grid id="grid_out_presnivs">
120        <domain domain_ref="dom_out" />
121        <axis axis_ref="presnivs" />
122     </grid>
123
124     <grid id="grid_glo_plev">
125        <domain domain_ref="dom_glo" />
126        <axis axis_ref="plev" />
127     </grid>
128
129     <grid id="grid_glo_presinter">
130        <domain domain_ref="dom_glo" />
131        <axis axis_ref="presinter" />
132     </grid>
133     <grid id="grid_out_presinter">
134        <domain domain_ref="dom_out" />
135        <axis axis_ref="presinter" />
136     </grid>
137
138     <grid id="grid_out_plev17">
139        <domain id="dom_out" />
140          <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" />
141        </axis>
142     </grid>
143
144     <grid id="grid_out_plev">
145        <domain domain_ref="dom_out" />
146        <axis axis_ref="plev" />
147     </grid>
148
149     <grid id="grid_glo_spectband">
150        <domain domain_ref="dom_glo" />
151        <axis axis_ref="spectband" />
152     </grid>
153     <grid id="grid_out_spectband">
154        <domain domain_ref="dom_out" />
155        <axis axis_ref="spectband" />
156     </grid>
157
158     <grid id="grid_glo_height">
159        <domain domain_ref="dom_glo" />
160        <axis axis_ref="height" />
161     </grid>
162     <grid id="grid_out_height">
163        <domain domain_ref="dom_out" />
164        <axis axis_ref="height" />
165     </grid>
166
167     <grid id="grid_glo_heightmlev">
168        <domain domain_ref="dom_glo" />
169        <axis axis_ref="height_mlev" />
170     </grid>
171     <grid id="grid_out_heightmlev">
172        <domain domain_ref="dom_out" />
173        <axis axis_ref="height_mlev" />
174     </grid>
175
176     <grid id="grid_glo_temp">
177        <domain domain_ref="dom_glo" />
178        <axis axis_ref="temp" />
179     </grid>
180     <grid id="grid_out_temp">
181        <domain domain_ref="dom_out" />
182        <axis axis_ref="temp" />
183     </grid>
184
185     <grid id="grid_glo_sza">
186        <domain domain_ref="dom_glo" />
187        <axis axis_ref="sza" />
188     </grid>
189     <grid id="grid_out_sza">
190        <domain domain_ref="dom_out" />
191        <axis axis_ref="sza" />
192     </grid>
193
194     <grid id="grid_glo_column">
195        <domain domain_ref="dom_glo" />
196        <axis axis_ref="column" />
197     </grid>
198     <grid id="grid_out_column">
199        <domain domain_ref="dom_out" />
200        <axis axis_ref="column" />
201     </grid>
202
203<!-- Define 4D grids for Cosp simulator -->
204     <grid id="grid4Dcol">
205        <domain domain_ref="dom_glo" />
206        <axis axis_ref="column" />
207        <axis axis_ref="height_mlev" />
208     </grid>
209     <grid id="grid4Dcol_out">
210        <domain domain_ref="dom_out" />
211        <axis axis_ref="column" />
212        <axis axis_ref="height_mlev" />
213     </grid>
214
215     <grid id="grid4Dsrbin">
216        <domain domain_ref="dom_glo" />
217        <axis axis_ref="height" />
218        <axis axis_ref="scatratio" />
219     </grid>
220     <grid id="grid4Dsrbin_out">
221        <domain domain_ref="dom_out" />
222        <axis axis_ref="height" />
223        <axis axis_ref="scatratio" />
224     </grid>
225
226     <grid id="grid4Ddbze">
227        <domain domain_ref="dom_glo" />
228        <axis axis_ref="height" />
229        <axis axis_ref="dbze" />
230     </grid>
231     <grid id="grid4Ddbze_out">
232        <domain domain_ref="dom_out" />
233        <axis axis_ref="height" />
234        <axis axis_ref="dbze" />
235     </grid>
236
237     <grid id="grid4Dtau">
238        <domain domain_ref="dom_glo" />
239        <axis axis_ref="tau" />
240        <axis axis_ref="pressure2" />
241     </grid>
242     <grid id="grid4Dtau_out">
243        <domain domain_ref="dom_out" />
244        <axis axis_ref="tau" />
245        <axis axis_ref="pressure2" />
246     </grid>
247
248     <grid id="grid4Dmisr">
249        <domain domain_ref="dom_glo" />
250        <axis axis_ref="cth" />
251        <axis axis_ref="tau" />
252     </grid>
253     <grid id="grid4Dmisr_out">
254        <domain domain_ref="dom_out" />
255        <axis axis_ref="cth" />
256        <axis axis_ref="tau" />
257     </grid>
258
259     <grid id="grid4Dreffi">
260        <domain domain_ref="dom_glo" />
261        <axis axis_ref="tau" />
262        <axis axis_ref="ReffIce" />
263     </grid>
264     <grid id="grid4Dreffi_out">
265        <domain domain_ref="dom_out" />
266        <axis axis_ref="tau" />
267        <axis axis_ref="ReffIce" />
268     </grid>
269
270     <grid id="grid4Dreffl">
271        <domain domain_ref="dom_glo" />
272        <axis axis_ref="tau" />
273        <axis axis_ref="ReffLiq" />
274     </grid>
275     <grid id="grid4Dreffl_out">
276        <domain domain_ref="dom_out" />
277        <axis axis_ref="tau" />
278        <axis axis_ref="ReffLiq" />
279     </grid>
280
281     <grid id="grid4Dcol2">
282        <domain domain_ref="dom_glo" />
283        <axis axis_ref="height" />
284        <axis axis_ref="column" />
285     </grid>
286     <grid id="grid4Dcol2_out">
287        <domain domain_ref="dom_out" />
288        <axis axis_ref="height" />
289        <axis axis_ref="column" />
290     </grid>
291
292     <grid id="grid4Dsza">
293        <domain domain_ref="dom_glo" />
294        <axis axis_ref="column" />
295        <axis axis_ref="sza" />
296     </grid>
297     <grid id="grid4Dsza_out">
298        <domain domain_ref="dom_out" />
299        <axis axis_ref="column" />
300        <axis axis_ref="sza" />
301     </grid>
302
303 <!-- Grid definitions to allow summing of a 3D variable -->   
304      <grid id="grid_3D" >
305         <domain domain_ref="dom_glo" />
306         <axis axis_ref="lev" />
307       </grid>
308
309       <grid id="grid_sum_axis">
310         <domain domain_ref="dom_glo" />
311         <scalar>
312            <reduce_axis operation="sum" />
313         </scalar>
314       </grid>
315
316       <grid id="grid_sum">
317         <scalar >
318           <reduce_domain operation="sum" local="true" />
319           <reduce_scalar operation="sum" />
320         </scalar>
321         <scalar/>
322       </grid>
323
324  </grid_definition>
325
326</context>
Note: See TracBrowser for help on using the repository browser.