source: LMDZ6/branches/contrails/DefLists/context_lmdz_sans_cosp.xml @ 5450

Last change on this file since 5450 was 4144, checked in by Laurent Fairhead, 3 years ago

Changing the name of the reference grid so that only lon, lat rather than lon_dom_glo/lon_dom_out...
appear in the output files

  • 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: 5.0 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_histstrataer_lmdz.xml"/>
21
22
23
24
25
26  <!-- Define domains and groups of domains -->
27  <domain_definition>
28
29    <domain id="dom_glo"  data_dim="1" />
30
31    <domain id="greordered"  domain_ref="dom_glo">
32      <reorder_domain invert_lat="true" shift_lon_fraction="0.5" min_lon="0" max_lon="360" />
33    </domain> 
34   
35    <domain id="dom_regular" ni_glo="144" nj_glo="142" type="rectilinear"  >
36      <generate_rectilinear_domain/>
37      <interpolate_domain order="1"/>
38    </domain>
39   
40    <domain id="dom_out" domain_ref="dom_glo"/>
41   
42  </domain_definition>
43 
44  <!-- Need to define a grid? Do it here -->
45<!--  <grid_definition>
46    <grid_group id="vertical" axis_ref="presnivs" />
47  </grid_> -->
48
49<!-- Define Scalar grid for GHG, orbital parameters and solar constants -->
50  <grid_definition>
51    <grid id="grid_scalar" >
52      <scalar/>
53    </grid>
54  </grid_definition>
55 
56  <!-- Define groups of vertical axes -->
57  <axis_definition>
58    <axis id="time_month" n_glo="12" value="(0,11) [1 2 3 4 5 6 7 8 9 10 11 12]"/>
59    <axis id="time_year" unit="day" />
60    <axis id="presnivs" standard_name="Vertical levels" unit="Pa"/>
61    <axis id="Ahyb" standard_name="Ahyb comp of Hyb Cord" unit="Pa"/>
62    <axis id="Bhyb" standard_name="Bhyb comp of Hyb Cord" unit=""/>
63    <axis id="Ahyb_inter" standard_name="A comp of Hyb Cord at interface" unit="Pa"/>
64    <axis id="Bhyb_inter" standard_name="B comp of Hyb Cord at interface" unit=""/>
65    <axis id="Alt" standard_name="Height approx for scale heigh of 8km at levels" unit="km"/>
66    <axis id="plev" standard_name="model_level_number" unit="Pa"/>
67    <axis id="klev"  prec="8" long_name="number of layers" standard_name="number of layers" unit="1" />
68    <axis id="klevp1"  prec="8" long_name="number of layer interfaces" standard_name="number of layer interfaces" unit="1" />
69    <axis id="bnds" standard_name="bounds" unit="1" />
70    <axis id="spectband" standard_name="Sensor Band Central Radiation Wavenumber" unit="m-1"/>
71    <axis id="axis_lat" standard_name="Latitude axis">
72      <reduce_domain operation="average" direction="iDir" />
73    </axis>
74  </axis_definition>
75
76<!-- Cosp axis definitions-->
77
78  <grid_definition>
79
80    <grid id="klev_bnds"> <axis axis_ref="klev" /> <axis axis_ref="bnds" /> </grid>
81    <grid id="klevp1_bnds"> <axis axis_ref="klevp1" /> <axis axis_ref="bnds" /> </grid>
82
83
84     <grid id="grid_glo">
85        <domain domain_ref="dom_glo" />
86     </grid>
87
88     <grid id="grid_out">
89        <domain domain_ref="dom_out" />
90     </grid>
91
92
93     <grid id="grid_glo_presnivs">
94        <domain domain_ref="dom_glo" />
95        <axis axis_ref="presnivs" />
96     </grid>
97
98     <grid id="grid_out_presnivs">
99        <domain domain_ref="dom_out" />
100        <axis axis_ref="presnivs" />
101     </grid>
102
103
104     <grid id="grid_glo_plev">
105        <domain domain_ref="dom_glo" />
106        <axis axis_ref="plev" />
107     </grid>
108
109     <grid id="grid_out_plev17">
110        <domain id="dom_out" />
111          <axis axis_ref="pres" 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" />
112        </axis>
113     </grid>
114
115     <grid id="grid_out_plev">
116        <domain domain_ref="dom_out" />
117        <axis axis_ref="plev" />
118     </grid>
119
120
121     <grid id="grid_glo_spectband">
122        <domain domain_ref="dom_glo" />
123        <axis axis_ref="spectband" />
124     </grid>
125
126     <grid id="grid_out_spectband">
127        <domain domain_ref="dom_out" />
128        <axis axis_ref="spectband" />
129     </grid>
130     
131
132 <!-- Grid definitions to allow summing of a 3D variable -->   
133      <grid id="grid_3D" >
134         <domain domain_ref="dom_glo" />
135         <axis axis_ref="lev" />
136       </grid>
137
138       <grid id="grid_sum_axis">
139         <domain domain_ref="dom_glo" />
140         <scalar>
141            <reduce_axis operation="sum" />
142         </scalar>
143       </grid>
144
145       <grid id="grid_sum">
146         <scalar >
147           <reduce_domain operation="sum" local="true" />
148           <reduce_scalar operation="sum" />
149         </scalar>
150         <scalar/>
151       </grid>
152
153  </grid_definition>
154
155</context>
Note: See TracBrowser for help on using the repository browser.