source: LMDZ6/trunk/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
RevLine 
[3474]1<!-- $Id$ -->
[2013]2<!-- Context LMDZ -->
[2509]3<context id="LMDZ">
4<!--  <calendar type="D360" start_date="1980-01-01 00:00:00" /> -->
[3014]5
[2013]6  <!-- Define available variables -->
[2995]7  <field_definition src="./field_def_lmdz.xml"/>
[3014]8
[2013]9  <!-- Define output files
[3014]10              Each file contains the list of variables and their output levels -->
11
[2013]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"/>
[3474]15  <file_definition src="./file_def_histLES_lmdz.xml"/>
[3014]16  <file_definition src="./file_def_histmth_lmdz.xml"/>
[3474]17  <file_definition src="./file_def_histstn_lmdz.xml"/>
[2013]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"/>
[3474]21  <file_definition src="./file_def_histmthCOSP_lmdz.xml"/>
[3653]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"/> -->
[3655]27  <file_definition src="./file_def_histstrataer_lmdz.xml"/>
[3533]28  <file_definition src="./file_def_histdaystrataer_lmdz.xml"/>
[3474]29
[2013]30  <!-- Define domains and groups of domains -->
31  <domain_definition>
[3435]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   
[3474]39    <domain id="dom_regular" ni_glo="144" nj_glo="143" type="rectilinear"  >
[3507]40      <generate_rectilinear_domain lat_start="-90" lat_end="90" lon_start="0"/>
[3435]41      <interpolate_domain order="1"/>
42    </domain>
43   
44    <domain id="dom_out" domain_ref="dom_glo"/>
45   
[2013]46  </domain_definition>
47 
48  <!-- Need to define a grid? Do it here -->
[2509]49<!--  <grid_definition>
[2013]50    <grid_group id="vertical" axis_ref="presnivs" />
[2509]51  </grid_> -->
[2663]52
[2829]53<!-- Define Scalar grid for GHG, orbital parameters and solar constants -->
54  <grid_definition>
55    <grid id="grid_scalar" >
[3474]56      <scalar/>
[2829]57    </grid>
58  </grid_definition>
59 
[2013]60  <!-- Define groups of vertical axes -->
61  <axis_definition>
[3435]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"/>
[4228]65    <axis id="presinter" standard_name="Pressure at interface of vertical levels" unit="Pa"/>
[3435]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">
[3533]77        <reduce_domain operation="average" direction="iDir" />
[2013]78    </axis>
[4477]79    <axis id="axis_lat_greordered" standard_name="Latitude axis">
80      <reduce_domain operation="average" direction="iDir" />
81    </axis>
[2557]82
83<!-- Cosp axis definitions-->
[3474]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" />
[2822]97  </axis_definition>
[2557]98
[2822]99  <grid_definition>
100
[3016]101    <grid id="klev_bnds"> <axis axis_ref="klev" /> <axis axis_ref="bnds" /> </grid>
[3435]102    <grid id="klevp1_bnds"> <axis axis_ref="klevp1" /> <axis axis_ref="bnds" /> </grid>
[3016]103
[2991]104     <grid id="grid_glo">
[3435]105        <domain domain_ref="dom_glo" />
[2991]106     </grid>
[3435]107     <grid id="grid_out">
108        <domain domain_ref="dom_out" />
109     </grid>
110
[2991]111     <grid id="grid_glo_presnivs">
[3435]112        <domain domain_ref="dom_glo" />
113        <axis axis_ref="presnivs" />
[2991]114     </grid>
[3435]115     <grid id="grid_out_presnivs">
116        <domain domain_ref="dom_out" />
117        <axis axis_ref="presnivs" />
118     </grid>
[2991]119
120     <grid id="grid_glo_plev">
[3435]121        <domain domain_ref="dom_glo" />
122        <axis axis_ref="plev" />
[2991]123     </grid>
[3894]124
[4228]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
[4144]134     <grid id="grid_out_plev17">
135        <domain id="dom_out" />
[4145]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" />
[3894]137        </axis>
138     </grid>
139
[3435]140     <grid id="grid_out_plev">
141        <domain domain_ref="dom_out" />
142        <axis axis_ref="plev" />
143     </grid>
144
[3048]145     <grid id="grid_glo_spectband">
[3435]146        <domain domain_ref="dom_glo" />
147        <axis axis_ref="spectband" />
[3048]148     </grid>
[3435]149     <grid id="grid_out_spectband">
150        <domain domain_ref="dom_out" />
151        <axis axis_ref="spectband" />
152     </grid>
153
[3014]154     <grid id="grid_glo_height">
[3435]155        <domain domain_ref="dom_glo" />
156        <axis axis_ref="height" />
[3014]157     </grid>
[3435]158     <grid id="grid_out_height">
159        <domain domain_ref="dom_out" />
160        <axis axis_ref="height" />
161     </grid>
162
[3014]163     <grid id="grid_glo_heightmlev">
[3435]164        <domain domain_ref="dom_glo" />
165        <axis axis_ref="height_mlev" />
[3014]166     </grid>
[3435]167     <grid id="grid_out_heightmlev">
168        <domain domain_ref="dom_out" />
169        <axis axis_ref="height_mlev" />
170     </grid>
171
[3014]172     <grid id="grid_glo_temp">
[3435]173        <domain domain_ref="dom_glo" />
174        <axis axis_ref="temp" />
[3014]175     </grid>
[3474]176     <grid id="grid_out_temp">
[3435]177        <domain domain_ref="dom_out" />
178        <axis axis_ref="temp" />
179     </grid>
180
[3014]181     <grid id="grid_glo_sza">
[3435]182        <domain domain_ref="dom_glo" />
183        <axis axis_ref="sza" />
[3014]184     </grid>
[3435]185     <grid id="grid_out_sza">
186        <domain domain_ref="dom_out" />
187        <axis axis_ref="sza" />
188     </grid>
189
[3014]190     <grid id="grid_glo_column">
[3435]191        <domain domain_ref="dom_glo" />
192        <axis axis_ref="column" />
[3014]193     </grid>
[3435]194     <grid id="grid_out_column">
195        <domain domain_ref="dom_out" />
196        <axis axis_ref="column" />
197     </grid>
[3014]198
[2822]199<!-- Define 4D grids for Cosp simulator -->
200     <grid id="grid4Dcol">
[3474]201        <domain domain_ref="dom_glo" />
202        <axis axis_ref="column" />
203        <axis axis_ref="height_mlev" />
[2822]204     </grid>
[3474]205     <grid id="grid4Dcol_out">
206        <domain domain_ref="dom_out" />
207        <axis axis_ref="column" />
208        <axis axis_ref="height_mlev" />
209     </grid>
[2822]210
211     <grid id="grid4Dsrbin">
[3474]212        <domain domain_ref="dom_glo" />
213        <axis axis_ref="height" />
214        <axis axis_ref="scatratio" />
[2822]215     </grid>
[3474]216     <grid id="grid4Dsrbin_out">
217        <domain domain_ref="dom_out" />
218        <axis axis_ref="height" />
219        <axis axis_ref="scatratio" />
220     </grid>
[2822]221
222     <grid id="grid4Ddbze">
[3474]223        <domain domain_ref="dom_glo" />
224        <axis axis_ref="height" />
225        <axis axis_ref="dbze" />
[2822]226     </grid>
[3474]227     <grid id="grid4Ddbze_out">
228        <domain domain_ref="dom_out" />
229        <axis axis_ref="height" />
230        <axis axis_ref="dbze" />
231     </grid>
[2822]232
233     <grid id="grid4Dtau">
[3474]234        <domain domain_ref="dom_glo" />
235        <axis axis_ref="tau" />
236        <axis axis_ref="pressure2" />
[2822]237     </grid>
[3474]238     <grid id="grid4Dtau_out">
239        <domain domain_ref="dom_out" />
240        <axis axis_ref="tau" />
241        <axis axis_ref="pressure2" />
242     </grid>
[2822]243
244     <grid id="grid4Dmisr">
[3474]245        <domain domain_ref="dom_glo" />
246        <axis axis_ref="cth" />
247        <axis axis_ref="tau" />
[2822]248     </grid>
[3474]249     <grid id="grid4Dmisr_out">
250        <domain domain_ref="dom_out" />
251        <axis axis_ref="cth" />
252        <axis axis_ref="tau" />
253     </grid>
[2822]254
255     <grid id="grid4Dreffi">
[3474]256        <domain domain_ref="dom_glo" />
257        <axis axis_ref="tau" />
258        <axis axis_ref="ReffIce" />
[2822]259     </grid>
[3474]260     <grid id="grid4Dreffi_out">
261        <domain domain_ref="dom_out" />
262        <axis axis_ref="tau" />
263        <axis axis_ref="ReffIce" />
264     </grid>
[2822]265
266     <grid id="grid4Dreffl">
[3474]267        <domain domain_ref="dom_glo" />
268        <axis axis_ref="tau" />
269        <axis axis_ref="ReffLiq" />
[2822]270     </grid>
[3474]271     <grid id="grid4Dreffl_out">
272        <domain domain_ref="dom_out" />
273        <axis axis_ref="tau" />
274        <axis axis_ref="ReffLiq" />
275     </grid>
276
[2955]277     <grid id="grid4Dcol2">
[3474]278        <domain domain_ref="dom_glo" />
279        <axis axis_ref="height" />
280        <axis axis_ref="column" />
[2955]281     </grid>
[3474]282     <grid id="grid4Dcol2_out">
283        <domain domain_ref="dom_out" />
284        <axis axis_ref="height" />
285        <axis axis_ref="column" />
286     </grid>
[2955]287
[3517]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
[3474]299 <!-- Grid definitions to allow summing of a 3D variable -->   
[3078]300      <grid id="grid_3D" >
[3474]301         <domain domain_ref="dom_glo" />
302         <axis axis_ref="lev" />
[3078]303       </grid>
304
305       <grid id="grid_sum_axis">
[3474]306         <domain domain_ref="dom_glo" />
[3078]307         <scalar>
308            <reduce_axis operation="sum" />
309         </scalar>
310       </grid>
311
312       <grid id="grid_sum">
313         <scalar >
[3474]314           <reduce_domain operation="sum" local="true" />
315           <reduce_scalar operation="sum" />
[3078]316         </scalar>
[3474]317         <scalar/>
[3144]318       </grid>
[3078]319
[2822]320  </grid_definition>
321
[2013]322</context>
Note: See TracBrowser for help on using the repository browser.