[1622] | 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 | |
---|
[1626] | 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> |
---|
[2222] | 31 | |
---|
| 32 | <grid id="grid_2d"> |
---|
| 33 | <domain id="dom_glo" /> |
---|
| 34 | </grid> |
---|
| 35 | |
---|
[1626] | 36 | <!-- to output scalars --> |
---|
| 37 | <grid id="scalarpoint" > |
---|
| 38 | <scalar /> |
---|
| 39 | </grid> |
---|
| 40 | </grid_definition> |
---|
[1622] | 41 | |
---|
| 42 | <!-- Definition of model variables --> |
---|
| 43 | <field_definition prec="4" |
---|
| 44 | freq_op="1ts" |
---|
| 45 | enabled=".TRUE."> |
---|
[1626] | 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 | |
---|
[1622] | 54 | <!-- 2D variables --> |
---|
[2222] | 55 | <field_group id="fields_2D" grid_ref="grid_2d"> |
---|
[1622] | 56 | <field id="ps" |
---|
| 57 | long_name="Surface Pressure" |
---|
| 58 | unit="Pa" /> |
---|
| 59 | <field id="area" |
---|
| 60 | long_name="Mesh area" |
---|
| 61 | unit="m2" /> |
---|
[2222] | 62 | <field id="ISR" |
---|
| 63 | long_name="Incoming Stellar Radiation" |
---|
| 64 | unit="W/m2" /> |
---|
| 65 | <field id="OLR" |
---|
| 66 | long_name="Outgoing Longwave Radiation" |
---|
| 67 | unit="W/m2" /> |
---|
[1622] | 68 | </field_group> |
---|
| 69 | |
---|
| 70 | <!-- 3D variables --> |
---|
[1626] | 71 | <field_group id="fields_3D" grid_ref="grid_3d"> |
---|
[1622] | 72 | <field id="temperature" |
---|
| 73 | long_name="Atmospheric temperature" |
---|
| 74 | unit="K" /> |
---|
| 75 | <field id="u" |
---|
| 76 | long_name="Eastward Zonal Wind" |
---|
| 77 | unit="m/s" /> |
---|
| 78 | <field id="v" |
---|
| 79 | long_name="Northward Meridional Wind" |
---|
| 80 | unit="m/s" /> |
---|
[2222] | 81 | <field id="omega" |
---|
| 82 | long_name="Vertical velocity (>0 when downward)" |
---|
| 83 | unit="Pa/s" /> |
---|
| 84 | <field id="h2o_vap" |
---|
| 85 | long_name="H2O vapour mass mixing ratio" |
---|
| 86 | unit="kg/kg" /> |
---|
| 87 | <field id="h2o_ice" |
---|
| 88 | long_name="H2O ice mass mixing ratio" |
---|
| 89 | unit="kg/kg" /> |
---|
[1622] | 90 | </field_group> |
---|
| 91 | |
---|
| 92 | </field_definition> |
---|
| 93 | |
---|
| 94 | <!-- Definition of output files --> |
---|
| 95 | <file_definition> |
---|
| 96 | <!-- Instantaneous outputs; Here output_freq in physics time steps --> |
---|
| 97 | <file id="histins" |
---|
| 98 | name="Xhistins" |
---|
| 99 | output_freq="1ts" |
---|
| 100 | type="one_file" |
---|
| 101 | enabled=".true."> |
---|
| 102 | |
---|
[1626] | 103 | <!-- VARS 0D --> |
---|
| 104 | <field_group operation="instant" |
---|
| 105 | freq_op="1ts"> |
---|
| 106 | <field field_ref="ls" /> |
---|
| 107 | </field_group> |
---|
| 108 | |
---|
[1622] | 109 | <!-- VARS 2D --> |
---|
| 110 | <field_group operation="instant" |
---|
| 111 | freq_op="1ts"> |
---|
| 112 | <field field_ref="area" operation="once" /> |
---|
| 113 | <field field_ref="ps" /> |
---|
| 114 | </field_group> |
---|
| 115 | |
---|
| 116 | <!-- VARS 3D --> |
---|
| 117 | <field_group operation="instant" |
---|
| 118 | freq_op="1ts"> |
---|
| 119 | <field field_ref="temperature" /> |
---|
| 120 | <field field_ref="u" /> |
---|
| 121 | <field field_ref="v" /> |
---|
| 122 | </field_group> |
---|
| 123 | </file> |
---|
| 124 | |
---|
| 125 | <!-- diurnal averages outputs; output_freq is every day --> |
---|
| 126 | <file id="diurnalave" |
---|
| 127 | name="Xdiurnalave" |
---|
| 128 | output_freq="1d" |
---|
| 129 | type="one_file" |
---|
| 130 | enabled=".true."> |
---|
| 131 | |
---|
[1626] | 132 | <!-- VARS 0D --> |
---|
| 133 | <field_group operation="average" |
---|
| 134 | freq_op="1ts"> |
---|
| 135 | <field field_ref="ls" /> |
---|
| 136 | </field_group> |
---|
| 137 | |
---|
[1622] | 138 | <!-- VARS 2D --> |
---|
| 139 | <field_group operation="average" |
---|
| 140 | freq_op="1ts"> |
---|
| 141 | <field field_ref="area" operation="once" /> |
---|
| 142 | <field field_ref="ps" /> |
---|
| 143 | </field_group> |
---|
| 144 | |
---|
| 145 | <!-- VARS 3D --> |
---|
| 146 | <field_group operation="average" |
---|
| 147 | freq_op="1ts"> |
---|
| 148 | <field field_ref="temperature" /> |
---|
| 149 | <field field_ref="u" /> |
---|
| 150 | <field field_ref="v" /> |
---|
| 151 | </field_group> |
---|
| 152 | </file> |
---|
| 153 | </file_definition> |
---|
| 154 | |
---|
| 155 | </context> |
---|