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

Last change on this file since 3472 was 3435, checked in by Laurent Fairhead, 7 years ago

"Historic" :-) commit merging the physics branch used for DYNAMICO with the LMDZ trunk.
The same physics branch can now be used seamlessly with the traditional lon-lat LMDZ
dynamical core and DYNAMICO.
Testing consisted in running a lon-lat LMDZ bucket simulation with the NPv6.1 physics package
with the original trunk sources and the merged sources. Tests were succesful in the sense that
numeric continuity was preserved in the restart files from both simulation. Further tests
included running both versions of the physics codes for one year in a LMDZOR setting in which
the restart files also came out identical.

Caution:

  • as the physics package now manages unstructured grids, grid information needs to be transmitted

to the surface scheme ORCHIDEE. This means that the interface defined in surf_land_orchidee_mod.F90
is only compatible with ORCHIDEE version orchidee2.1 and later versions. If previous versions of
ORCHIDEE need to be used, the CPP key ORCHIDEE_NOUNSTRUCT needs to be set at compilation time.
This is done automatically if makelmdz/makelmdz_fcm are called with the veget orchidee2.0 switch

  • due to a limitation in XIOS, the time at which limit conditions will be read in by DYNAMICO will be

delayed by one physic timestep with respect to the time it is read in by the lon-lat model. This is caused
by the line

IF (MOD(itime-1, lmt_pas) == 0 .OR. (jour_lu /= jour .AND. grid_type /= unstructured)) THEN ! time to read

in limit_read_mod.F90

Work still needed on COSP integration and XML files for DYNAMICO

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