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

Last change on this file since 4255 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
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"/>
[3853]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>
[2557]79
80<!-- Cosp axis definitions-->
[3474]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" />
[2822]94  </axis_definition>
[2557]95
[2822]96  <grid_definition>
97
[3016]98    <grid id="klev_bnds"> <axis axis_ref="klev" /> <axis axis_ref="bnds" /> </grid>
[3435]99    <grid id="klevp1_bnds"> <axis axis_ref="klevp1" /> <axis axis_ref="bnds" /> </grid>
[3016]100
[2991]101     <grid id="grid_glo">
[3435]102        <domain domain_ref="dom_glo" />
[2991]103     </grid>
[3435]104     <grid id="grid_out">
105        <domain domain_ref="dom_out" />
106     </grid>
107
[2991]108     <grid id="grid_glo_presnivs">
[3435]109        <domain domain_ref="dom_glo" />
110        <axis axis_ref="presnivs" />
[2991]111     </grid>
[3435]112     <grid id="grid_out_presnivs">
113        <domain domain_ref="dom_out" />
114        <axis axis_ref="presnivs" />
115     </grid>
[2991]116
[3853]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
[2991]126     <grid id="grid_glo_plev">
[3435]127        <domain domain_ref="dom_glo" />
128        <axis axis_ref="plev" />
[2991]129     </grid>
[3435]130     <grid id="grid_out_plev">
131        <domain domain_ref="dom_out" />
132        <axis axis_ref="plev" />
133     </grid>
134
[3048]135     <grid id="grid_glo_spectband">
[3435]136        <domain domain_ref="dom_glo" />
137        <axis axis_ref="spectband" />
[3048]138     </grid>
[3435]139     <grid id="grid_out_spectband">
140        <domain domain_ref="dom_out" />
141        <axis axis_ref="spectband" />
142     </grid>
143
[3014]144     <grid id="grid_glo_height">
[3435]145        <domain domain_ref="dom_glo" />
146        <axis axis_ref="height" />
[3014]147     </grid>
[3435]148     <grid id="grid_out_height">
149        <domain domain_ref="dom_out" />
150        <axis axis_ref="height" />
151     </grid>
152
[3014]153     <grid id="grid_glo_heightmlev">
[3435]154        <domain domain_ref="dom_glo" />
155        <axis axis_ref="height_mlev" />
[3014]156     </grid>
[3435]157     <grid id="grid_out_heightmlev">
158        <domain domain_ref="dom_out" />
159        <axis axis_ref="height_mlev" />
160     </grid>
161
[3014]162     <grid id="grid_glo_temp">
[3435]163        <domain domain_ref="dom_glo" />
164        <axis axis_ref="temp" />
[3014]165     </grid>
[3474]166     <grid id="grid_out_temp">
[3435]167        <domain domain_ref="dom_out" />
168        <axis axis_ref="temp" />
169     </grid>
170
[3014]171     <grid id="grid_glo_sza">
[3435]172        <domain domain_ref="dom_glo" />
173        <axis axis_ref="sza" />
[3014]174     </grid>
[3435]175     <grid id="grid_out_sza">
176        <domain domain_ref="dom_out" />
177        <axis axis_ref="sza" />
178     </grid>
179
[3014]180     <grid id="grid_glo_column">
[3435]181        <domain domain_ref="dom_glo" />
182        <axis axis_ref="column" />
[3014]183     </grid>
[3435]184     <grid id="grid_out_column">
185        <domain domain_ref="dom_out" />
186        <axis axis_ref="column" />
187     </grid>
[3014]188
[2822]189<!-- Define 4D grids for Cosp simulator -->
190     <grid id="grid4Dcol">
[3474]191        <domain domain_ref="dom_glo" />
192        <axis axis_ref="column" />
193        <axis axis_ref="height_mlev" />
[2822]194     </grid>
[3474]195     <grid id="grid4Dcol_out">
196        <domain domain_ref="dom_out" />
197        <axis axis_ref="column" />
198        <axis axis_ref="height_mlev" />
199     </grid>
[2822]200
201     <grid id="grid4Dsrbin">
[3474]202        <domain domain_ref="dom_glo" />
203        <axis axis_ref="height" />
204        <axis axis_ref="scatratio" />
[2822]205     </grid>
[3474]206     <grid id="grid4Dsrbin_out">
207        <domain domain_ref="dom_out" />
208        <axis axis_ref="height" />
209        <axis axis_ref="scatratio" />
210     </grid>
[2822]211
212     <grid id="grid4Ddbze">
[3474]213        <domain domain_ref="dom_glo" />
214        <axis axis_ref="height" />
215        <axis axis_ref="dbze" />
[2822]216     </grid>
[3474]217     <grid id="grid4Ddbze_out">
218        <domain domain_ref="dom_out" />
219        <axis axis_ref="height" />
220        <axis axis_ref="dbze" />
221     </grid>
[2822]222
223     <grid id="grid4Dtau">
[3474]224        <domain domain_ref="dom_glo" />
225        <axis axis_ref="tau" />
226        <axis axis_ref="pressure2" />
[2822]227     </grid>
[3474]228     <grid id="grid4Dtau_out">
229        <domain domain_ref="dom_out" />
230        <axis axis_ref="tau" />
231        <axis axis_ref="pressure2" />
232     </grid>
[2822]233
234     <grid id="grid4Dmisr">
[3474]235        <domain domain_ref="dom_glo" />
236        <axis axis_ref="cth" />
237        <axis axis_ref="tau" />
[2822]238     </grid>
[3474]239     <grid id="grid4Dmisr_out">
240        <domain domain_ref="dom_out" />
241        <axis axis_ref="cth" />
242        <axis axis_ref="tau" />
243     </grid>
[2822]244
245     <grid id="grid4Dreffi">
[3474]246        <domain domain_ref="dom_glo" />
247        <axis axis_ref="tau" />
248        <axis axis_ref="ReffIce" />
[2822]249     </grid>
[3474]250     <grid id="grid4Dreffi_out">
251        <domain domain_ref="dom_out" />
252        <axis axis_ref="tau" />
253        <axis axis_ref="ReffIce" />
254     </grid>
[2822]255
256     <grid id="grid4Dreffl">
[3474]257        <domain domain_ref="dom_glo" />
258        <axis axis_ref="tau" />
259        <axis axis_ref="ReffLiq" />
[2822]260     </grid>
[3474]261     <grid id="grid4Dreffl_out">
262        <domain domain_ref="dom_out" />
263        <axis axis_ref="tau" />
264        <axis axis_ref="ReffLiq" />
265     </grid>
266
[2955]267     <grid id="grid4Dcol2">
[3474]268        <domain domain_ref="dom_glo" />
269        <axis axis_ref="height" />
270        <axis axis_ref="column" />
[2955]271     </grid>
[3474]272     <grid id="grid4Dcol2_out">
273        <domain domain_ref="dom_out" />
274        <axis axis_ref="height" />
275        <axis axis_ref="column" />
276     </grid>
[2955]277
[3517]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
[3474]289 <!-- Grid definitions to allow summing of a 3D variable -->   
[3078]290      <grid id="grid_3D" >
[3474]291         <domain domain_ref="dom_glo" />
292         <axis axis_ref="lev" />
[3078]293       </grid>
294
295       <grid id="grid_sum_axis">
[3474]296         <domain domain_ref="dom_glo" />
[3078]297         <scalar>
298            <reduce_axis operation="sum" />
299         </scalar>
300       </grid>
301
302       <grid id="grid_sum">
303         <scalar >
[3474]304           <reduce_domain operation="sum" local="true" />
305           <reduce_scalar operation="sum" />
[3078]306         </scalar>
[3474]307         <scalar/>
[3144]308       </grid>
[3078]309
[2822]310  </grid_definition>
311
[2013]312</context>
Note: See TracBrowser for help on using the repository browser.