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

Last change on this file since 4608 was 4608, checked in by acozic, 12 months ago

Add of an output file containing mass flow when offline parameter is to "yes"
this file will be on horizontal grid with vertical level klev
When LMDZ is coupled to Inca, we don't call anymore the routine phystoken if offline=y

Anne Cozic

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