1 | <context id="LMDZ"> |
---|
2 | |
---|
3 | <!-- Definition of a calendar is done in code via wxios_set_cal --> |
---|
4 | |
---|
5 | <!-- Definition of domains and groups of domains --> |
---|
6 | <domain_definition> |
---|
7 | <domain id="dom_glo" data_dim="2" /> |
---|
8 | </domain_definition> |
---|
9 | |
---|
10 | <!-- Definition of vertical axes |
---|
11 | NB: these must be defined and set in code via |
---|
12 | wxios_add_vaxis --> |
---|
13 | <axis_definition> |
---|
14 | <axis id="presnivs" |
---|
15 | standard_name="Pseudo-pressure of model vertical levels" |
---|
16 | unit="Pa"> |
---|
17 | </axis> |
---|
18 | <axis id="altitude" |
---|
19 | standard_name="Pseudo-altitude of model vertical levels" |
---|
20 | unit="km"> |
---|
21 | </axis> |
---|
22 | </axis_definition> |
---|
23 | |
---|
24 | <grid_definition> |
---|
25 | <!-- toggle axis id below to change output vertical axis --> |
---|
26 | <grid id="grid_3d"> |
---|
27 | <domain id="dom_glo" /> |
---|
28 | <!-- <axis id="presnivs" /> --> |
---|
29 | <axis id="altitude" /> |
---|
30 | </grid> |
---|
31 | <!-- to output scalars --> |
---|
32 | <grid id="scalarpoint" > |
---|
33 | <scalar /> |
---|
34 | </grid> |
---|
35 | </grid_definition> |
---|
36 | |
---|
37 | <!-- Definition of model variables --> |
---|
38 | <field_definition prec="4" |
---|
39 | freq_op="1ts" |
---|
40 | enabled=".TRUE."> |
---|
41 | |
---|
42 | <!-- 0D variables --> |
---|
43 | <field_group id="fields_0D" grid_ref="scalarpoint"> |
---|
44 | <field id="ls" |
---|
45 | long_name="Solar longitude" |
---|
46 | unit="degrees" /> |
---|
47 | </field_group> |
---|
48 | |
---|
49 | <!-- 2D variables --> |
---|
50 | <field_group id="fields_2D" domain_ref="dom_glo"> |
---|
51 | <field id="ps" |
---|
52 | long_name="Surface Pressure" |
---|
53 | unit="Pa" /> |
---|
54 | <field id="area" |
---|
55 | long_name="Mesh area" |
---|
56 | unit="m2" /> |
---|
57 | </field_group> |
---|
58 | |
---|
59 | <!-- 3D variables --> |
---|
60 | <field_group id="fields_3D" grid_ref="grid_3d"> |
---|
61 | <field id="temperature" |
---|
62 | long_name="Atmospheric temperature" |
---|
63 | unit="K" /> |
---|
64 | <field id="u" |
---|
65 | long_name="Eastward Zonal Wind" |
---|
66 | unit="m/s" /> |
---|
67 | <field id="v" |
---|
68 | long_name="Northward Meridional Wind" |
---|
69 | unit="m/s" /> |
---|
70 | </field_group> |
---|
71 | |
---|
72 | </field_definition> |
---|
73 | |
---|
74 | <!-- Definition of output files --> |
---|
75 | <file_definition> |
---|
76 | <!-- Instantaneous outputs; Here output_freq in physics time steps --> |
---|
77 | <file id="histins" |
---|
78 | name="Xhistins" |
---|
79 | output_freq="1ts" |
---|
80 | type="one_file" |
---|
81 | enabled=".true."> |
---|
82 | |
---|
83 | <!-- VARS 0D --> |
---|
84 | <field_group operation="instant" |
---|
85 | freq_op="1ts"> |
---|
86 | <field field_ref="ls" /> |
---|
87 | </field_group> |
---|
88 | |
---|
89 | <!-- VARS 2D --> |
---|
90 | <field_group operation="instant" |
---|
91 | freq_op="1ts"> |
---|
92 | <field field_ref="area" operation="once" /> |
---|
93 | <field field_ref="ps" /> |
---|
94 | </field_group> |
---|
95 | |
---|
96 | <!-- VARS 3D --> |
---|
97 | <field_group operation="instant" |
---|
98 | freq_op="1ts"> |
---|
99 | <field field_ref="temperature" /> |
---|
100 | <field field_ref="u" /> |
---|
101 | <field field_ref="v" /> |
---|
102 | </field_group> |
---|
103 | </file> |
---|
104 | |
---|
105 | <!-- diurnal averages outputs; output_freq is every day --> |
---|
106 | <file id="diurnalave" |
---|
107 | name="Xdiurnalave" |
---|
108 | output_freq="1d" |
---|
109 | type="one_file" |
---|
110 | enabled=".true."> |
---|
111 | |
---|
112 | <!-- VARS 0D --> |
---|
113 | <field_group operation="average" |
---|
114 | freq_op="1ts"> |
---|
115 | <field field_ref="ls" /> |
---|
116 | </field_group> |
---|
117 | |
---|
118 | <!-- VARS 2D --> |
---|
119 | <field_group operation="average" |
---|
120 | freq_op="1ts"> |
---|
121 | <field field_ref="area" operation="once" /> |
---|
122 | <field field_ref="ps" /> |
---|
123 | </field_group> |
---|
124 | |
---|
125 | <!-- VARS 3D --> |
---|
126 | <field_group operation="average" |
---|
127 | freq_op="1ts"> |
---|
128 | <field field_ref="temperature" /> |
---|
129 | <field field_ref="u" /> |
---|
130 | <field field_ref="v" /> |
---|
131 | </field_group> |
---|
132 | </file> |
---|
133 | </file_definition> |
---|
134 | |
---|
135 | </context> |
---|