source: CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/PARAM/XMLlmdz/context_lmdz.xml @ 4377

Last change on this file since 4377 was 4377, checked in by jgipsl, 5 years ago

Changed slightly output grid for interpolated output. This is done to have the same grid as LMDZ lat-lon LR.

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