[2223] | 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" type="rectilinear" /> |
---|
| 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 | |
---|
| 32 | <grid id="grid_2d"> |
---|
| 33 | <domain id="dom_glo" /> |
---|
| 34 | </grid> |
---|
| 35 | |
---|
| 36 | <!-- to output scalars --> |
---|
| 37 | <grid id="scalarpoint" > |
---|
| 38 | <scalar /> |
---|
| 39 | </grid> |
---|
| 40 | </grid_definition> |
---|
| 41 | |
---|
| 42 | <!-- Definition of model variables --> |
---|
| 43 | <field_definition prec="4" |
---|
| 44 | freq_op="1ts" |
---|
| 45 | enabled=".TRUE."> |
---|
| 46 | |
---|
| 47 | <!-- 0D variables --> |
---|
| 48 | <field_group id="fields_0D" grid_ref="scalarpoint"> |
---|
| 49 | <field id="ls" |
---|
| 50 | long_name="Solar longitude" |
---|
| 51 | unit="degrees" /> |
---|
| 52 | </field_group> |
---|
| 53 | |
---|
| 54 | <!-- 2D variables --> |
---|
| 55 | <field_group id="fields_2D" grid_ref="grid_2d"> |
---|
| 56 | <field id="ps" |
---|
| 57 | long_name="Surface Pressure" |
---|
| 58 | unit="Pa" /> |
---|
| 59 | <field id="area" |
---|
| 60 | long_name="Mesh area" |
---|
| 61 | unit="m2" /> |
---|
| 62 | </field_group> |
---|
| 63 | |
---|
| 64 | <!-- 3D variables --> |
---|
| 65 | <field_group id="fields_3D" grid_ref="grid_3d"> |
---|
| 66 | <field id="temperature" |
---|
| 67 | long_name="Atmospheric temperature" |
---|
| 68 | unit="K" /> |
---|
| 69 | <field id="u" |
---|
| 70 | long_name="Eastward Zonal Wind" |
---|
| 71 | unit="m/s" /> |
---|
| 72 | <field id="v" |
---|
| 73 | long_name="Northward Meridional Wind" |
---|
| 74 | unit="m/s" /> |
---|
| 75 | </field_group> |
---|
| 76 | |
---|
| 77 | </field_definition> |
---|
| 78 | |
---|
| 79 | <!-- Definition of output files --> |
---|
| 80 | <file_definition> |
---|
| 81 | <!-- Instantaneous outputs; Here output_freq in physics time steps --> |
---|
| 82 | <file id="histins" |
---|
| 83 | name="Xhistins" |
---|
| 84 | output_freq="12ts" |
---|
| 85 | type="one_file" |
---|
| 86 | enabled=".true."> |
---|
| 87 | |
---|
| 88 | <!-- VARS 0D --> |
---|
| 89 | <field_group operation="instant" |
---|
| 90 | freq_op="1ts"> |
---|
| 91 | <field field_ref="ls" /> |
---|
| 92 | </field_group> |
---|
| 93 | |
---|
| 94 | <!-- VARS 2D --> |
---|
| 95 | <field_group operation="instant" |
---|
| 96 | freq_op="1ts"> |
---|
| 97 | <field field_ref="area" operation="once" /> |
---|
| 98 | <field field_ref="ps" /> |
---|
| 99 | </field_group> |
---|
| 100 | |
---|
| 101 | <!-- VARS 3D --> |
---|
| 102 | <field_group operation="instant" |
---|
| 103 | freq_op="1ts"> |
---|
| 104 | <field field_ref="temperature" /> |
---|
| 105 | <field field_ref="u" /> |
---|
| 106 | <field field_ref="v" /> |
---|
| 107 | </field_group> |
---|
| 108 | </file> |
---|
| 109 | |
---|
| 110 | <!-- diurnal averages outputs; output_freq is every day --> |
---|
| 111 | <file id="diurnalave" |
---|
| 112 | name="Xdiurnalave" |
---|
| 113 | output_freq="1d" |
---|
| 114 | type="one_file" |
---|
| 115 | enabled=".false."> |
---|
| 116 | |
---|
| 117 | <!-- VARS 0D --> |
---|
| 118 | <field_group operation="average" |
---|
| 119 | freq_op="1ts"> |
---|
| 120 | <field field_ref="ls" /> |
---|
| 121 | </field_group> |
---|
| 122 | |
---|
| 123 | <!-- VARS 2D --> |
---|
| 124 | <field_group operation="average" |
---|
| 125 | freq_op="1ts"> |
---|
| 126 | <field field_ref="area" operation="once" /> |
---|
| 127 | <field field_ref="ps" /> |
---|
| 128 | </field_group> |
---|
| 129 | |
---|
| 130 | <!-- VARS 3D --> |
---|
| 131 | <field_group operation="average" |
---|
| 132 | freq_op="1ts"> |
---|
| 133 | <field field_ref="temperature" /> |
---|
| 134 | <field field_ref="u" /> |
---|
| 135 | <field field_ref="v" /> |
---|
| 136 | </field_group> |
---|
| 137 | </file> |
---|
| 138 | </file_definition> |
---|
| 139 | |
---|
| 140 | </context> |
---|