[3605] | 1 | <!-- $Id$ --> |
---|
[2013] | 2 | <!-- Context LMDZ --> |
---|
[2509] | 3 | <context id="LMDZ"> |
---|
| 4 | <!-- <calendar type="D360" start_date="1980-01-01 00:00:00" /> --> |
---|
[3014] | 5 | |
---|
[2013] | 6 | <!-- Define available variables --> |
---|
[2995] | 7 | <field_definition src="./field_def_lmdz.xml"/> |
---|
[3014] | 8 | |
---|
[2013] | 9 | <!-- Define output files |
---|
[3014] | 10 | Each file contains the list of variables and their output levels --> |
---|
| 11 | |
---|
[3812] | 12 | <file_definition src="./file_def_histday_lmdz.xml"/> |
---|
| 13 | <file_definition src="./file_def_histhf_lmdz.xml"/> |
---|
| 14 | <file_definition src="./file_def_histins_lmdz.xml"/> |
---|
| 15 | <file_definition src="./file_def_histLES_lmdz.xml"/> |
---|
| 16 | <file_definition src="./file_def_histmth_lmdz.xml"/> |
---|
| 17 | <file_definition src="./file_def_histstn_lmdz.xml"/> |
---|
| 18 | <file_definition src="./file_def_histmthNMC_lmdz.xml"/> |
---|
| 19 | <file_definition src="./file_def_histdayNMC_lmdz.xml"/> |
---|
| 20 | <file_definition src="./file_def_histhfNMC_lmdz.xml"/> |
---|
| 21 | <file_definition src="./file_def_histmthCOSP_lmdz.xml"/> |
---|
| 22 | <file_definition src="./file_def_histdayCOSP_lmdz.xml"/> |
---|
| 23 | <file_definition src="./file_def_histhfCOSP_lmdz.xml"/> |
---|
| 24 | <!-- <file_definition src="./file_def_histmthCOSPv2_lmdz.xml"/> --> |
---|
| 25 | <!-- <file_definition src="./file_def_histdayCOSPv2_lmdz.xml"/> --> |
---|
| 26 | <!-- <file_definition src="./file_def_histhfCOSPv2_lmdz.xml"/> --> |
---|
| 27 | <file_definition src="./file_def_histstrataer_lmdz.xml"/> |
---|
| 28 | <file_definition src="./file_def_histdaystrataer_lmdz.xml"/> |
---|
[3605] | 29 | |
---|
[2013] | 30 | <!-- Define domains and groups of domains --> |
---|
| 31 | <domain_definition> |
---|
[3605] | 32 | |
---|
| 33 | <domain id="dom_glo" data_dim="1" /> |
---|
| 34 | |
---|
| 35 | <domain id="greordered" domain_ref="dom_glo"> |
---|
| 36 | <reorder_domain invert_lat="true" shift_lon_fraction="0.5" min_lon="0" max_lon="360" /> |
---|
| 37 | </domain> |
---|
| 38 | |
---|
| 39 | <domain id="dom_regular" ni_glo="144" nj_glo="143" type="rectilinear" > |
---|
| 40 | <generate_rectilinear_domain lat_start="-90" lat_end="90" lon_start="0"/> |
---|
| 41 | <interpolate_domain order="1"/> |
---|
| 42 | </domain> |
---|
| 43 | |
---|
| 44 | <domain id="dom_out" domain_ref="dom_glo"/> |
---|
| 45 | |
---|
[2013] | 46 | </domain_definition> |
---|
| 47 | |
---|
| 48 | <!-- Need to define a grid? Do it here --> |
---|
[2509] | 49 | <!-- <grid_definition> |
---|
[2013] | 50 | <grid_group id="vertical" axis_ref="presnivs" /> |
---|
[2509] | 51 | </grid_> --> |
---|
[2663] | 52 | |
---|
[2829] | 53 | <!-- Define Scalar grid for GHG, orbital parameters and solar constants --> |
---|
| 54 | <grid_definition> |
---|
| 55 | <grid id="grid_scalar" > |
---|
[3605] | 56 | <scalar/> |
---|
[2829] | 57 | </grid> |
---|
| 58 | </grid_definition> |
---|
| 59 | |
---|
[2013] | 60 | <!-- Define groups of vertical axes --> |
---|
| 61 | <axis_definition> |
---|
[3605] | 62 | <axis id="time_month" n_glo="12" value="(0,11) [1 2 3 4 5 6 7 8 9 10 11 12]"/> |
---|
| 63 | <axis id="time_year" unit="day" /> |
---|
| 64 | <axis id="presnivs" standard_name="Vertical levels" unit="Pa"/> |
---|
| 65 | <axis id="Ahyb" standard_name="Ahyb comp of Hyb Cord" unit="Pa"/> |
---|
| 66 | <axis id="Bhyb" standard_name="Bhyb comp of Hyb Cord" unit=""/> |
---|
| 67 | <axis id="Ahyb_inter" standard_name="A comp of Hyb Cord at interface" unit="Pa"/> |
---|
| 68 | <axis id="Bhyb_inter" standard_name="B comp of Hyb Cord at interface" unit=""/> |
---|
| 69 | <axis id="Alt" standard_name="Height approx for scale heigh of 8km at levels" unit="km"/> |
---|
| 70 | <axis id="plev" standard_name="model_level_number" unit="Pa"/> |
---|
| 71 | <axis id="klev" prec="8" long_name="number of layers" standard_name="number of layers" unit="1" /> |
---|
| 72 | <axis id="klevp1" prec="8" long_name="number of layer interfaces" standard_name="number of layer interfaces" unit="1" /> |
---|
| 73 | <axis id="bnds" standard_name="bounds" unit="1" /> |
---|
| 74 | <axis id="spectband" standard_name="Sensor Band Central Radiation Wavenumber" unit="m-1"/> |
---|
| 75 | <axis id="axis_lat" standard_name="Latitude axis"> |
---|
| 76 | <reduce_domain operation="average" direction="iDir" /> |
---|
[2013] | 77 | </axis> |
---|
[2557] | 78 | |
---|
| 79 | <!-- Cosp axis definitions--> |
---|
[3605] | 80 | <axis id="height" standard_name="Cosp levels" unit="m"/> |
---|
| 81 | <axis id="height_mlev" standard_name="height_mlev" unit="m"/> |
---|
| 82 | <axis id="sza" standard_name="solar_zenith_angle" unit="degrees"/> |
---|
| 83 | <axis id="pressure2" standard_name="pressure" unit="mb"/> |
---|
| 84 | <axis id="column" standard_name="column" unit="count"/> |
---|
| 85 | <axis id="temp" standard_name="temperature" unit="K"/> |
---|
| 86 | <!-- <axis id="cth16" standard_name="altitude" unit="m"/> ym unused now to be in adequation with axis definition from model --> |
---|
| 87 | <axis id="cth" standard_name="altitude" unit="m"/> |
---|
| 88 | <axis id="ReffIce" standard_name="ReffIce" unit="microne" /> |
---|
| 89 | <axis id="ReffLiq" standard_name="ReffLiq" unit="microne" /> |
---|
| 90 | <axis id="scatratio" standard_name="scatratio" unit="1" /> |
---|
| 91 | <axis id="dbze" standard_name="dbze" unit="dBZ" /> |
---|
| 92 | <axis id="tau" standard_name="tau" unit="1" /> |
---|
[2822] | 93 | </axis_definition> |
---|
[2557] | 94 | |
---|
[2822] | 95 | <grid_definition> |
---|
| 96 | |
---|
[3016] | 97 | <grid id="klev_bnds"> <axis axis_ref="klev" /> <axis axis_ref="bnds" /> </grid> |
---|
[3605] | 98 | <grid id="klevp1_bnds"> <axis axis_ref="klevp1" /> <axis axis_ref="bnds" /> </grid> |
---|
[3016] | 99 | |
---|
[2991] | 100 | <grid id="grid_glo"> |
---|
[3605] | 101 | <domain domain_ref="dom_glo" /> |
---|
[2991] | 102 | </grid> |
---|
[3605] | 103 | <grid id="grid_out"> |
---|
| 104 | <domain domain_ref="dom_out" /> |
---|
| 105 | </grid> |
---|
[2991] | 106 | |
---|
| 107 | <grid id="grid_glo_presnivs"> |
---|
[3605] | 108 | <domain domain_ref="dom_glo" /> |
---|
| 109 | <axis axis_ref="presnivs" /> |
---|
[2991] | 110 | </grid> |
---|
[3605] | 111 | <grid id="grid_out_presnivs"> |
---|
| 112 | <domain domain_ref="dom_out" /> |
---|
| 113 | <axis axis_ref="presnivs" /> |
---|
| 114 | </grid> |
---|
[2991] | 115 | |
---|
| 116 | <grid id="grid_glo_plev"> |
---|
[3605] | 117 | <domain domain_ref="dom_glo" /> |
---|
| 118 | <axis axis_ref="plev" /> |
---|
[2991] | 119 | </grid> |
---|
[3605] | 120 | <grid id="grid_out_plev"> |
---|
| 121 | <domain domain_ref="dom_out" /> |
---|
| 122 | <axis axis_ref="plev" /> |
---|
| 123 | </grid> |
---|
[2991] | 124 | |
---|
[3048] | 125 | <grid id="grid_glo_spectband"> |
---|
[3605] | 126 | <domain domain_ref="dom_glo" /> |
---|
| 127 | <axis axis_ref="spectband" /> |
---|
[3048] | 128 | </grid> |
---|
[3605] | 129 | <grid id="grid_out_spectband"> |
---|
| 130 | <domain domain_ref="dom_out" /> |
---|
| 131 | <axis axis_ref="spectband" /> |
---|
| 132 | </grid> |
---|
[3048] | 133 | |
---|
[3014] | 134 | <grid id="grid_glo_height"> |
---|
[3605] | 135 | <domain domain_ref="dom_glo" /> |
---|
| 136 | <axis axis_ref="height" /> |
---|
[3014] | 137 | </grid> |
---|
[3605] | 138 | <grid id="grid_out_height"> |
---|
| 139 | <domain domain_ref="dom_out" /> |
---|
| 140 | <axis axis_ref="height" /> |
---|
| 141 | </grid> |
---|
[2991] | 142 | |
---|
[3014] | 143 | <grid id="grid_glo_heightmlev"> |
---|
[3605] | 144 | <domain domain_ref="dom_glo" /> |
---|
| 145 | <axis axis_ref="height_mlev" /> |
---|
[3014] | 146 | </grid> |
---|
[3605] | 147 | <grid id="grid_out_heightmlev"> |
---|
| 148 | <domain domain_ref="dom_out" /> |
---|
| 149 | <axis axis_ref="height_mlev" /> |
---|
| 150 | </grid> |
---|
[3014] | 151 | |
---|
| 152 | <grid id="grid_glo_temp"> |
---|
[3605] | 153 | <domain domain_ref="dom_glo" /> |
---|
| 154 | <axis axis_ref="temp" /> |
---|
[3014] | 155 | </grid> |
---|
[3605] | 156 | <grid id="grid_out_temp"> |
---|
| 157 | <domain domain_ref="dom_out" /> |
---|
| 158 | <axis axis_ref="temp" /> |
---|
| 159 | </grid> |
---|
[3014] | 160 | |
---|
| 161 | <grid id="grid_glo_sza"> |
---|
[3605] | 162 | <domain domain_ref="dom_glo" /> |
---|
| 163 | <axis axis_ref="sza" /> |
---|
[3014] | 164 | </grid> |
---|
[3605] | 165 | <grid id="grid_out_sza"> |
---|
| 166 | <domain domain_ref="dom_out" /> |
---|
| 167 | <axis axis_ref="sza" /> |
---|
| 168 | </grid> |
---|
[3014] | 169 | |
---|
| 170 | <grid id="grid_glo_column"> |
---|
[3605] | 171 | <domain domain_ref="dom_glo" /> |
---|
| 172 | <axis axis_ref="column" /> |
---|
[3014] | 173 | </grid> |
---|
[3605] | 174 | <grid id="grid_out_column"> |
---|
| 175 | <domain domain_ref="dom_out" /> |
---|
| 176 | <axis axis_ref="column" /> |
---|
| 177 | </grid> |
---|
[3014] | 178 | |
---|
[2822] | 179 | <!-- Define 4D grids for Cosp simulator --> |
---|
| 180 | <grid id="grid4Dcol"> |
---|
[3605] | 181 | <domain domain_ref="dom_glo" /> |
---|
| 182 | <axis axis_ref="column" /> |
---|
| 183 | <axis axis_ref="height_mlev" /> |
---|
[2822] | 184 | </grid> |
---|
[3605] | 185 | <grid id="grid4Dcol_out"> |
---|
| 186 | <domain domain_ref="dom_out" /> |
---|
| 187 | <axis axis_ref="column" /> |
---|
| 188 | <axis axis_ref="height_mlev" /> |
---|
| 189 | </grid> |
---|
[2822] | 190 | |
---|
| 191 | <grid id="grid4Dsrbin"> |
---|
[3605] | 192 | <domain domain_ref="dom_glo" /> |
---|
| 193 | <axis axis_ref="height" /> |
---|
| 194 | <axis axis_ref="scatratio" /> |
---|
[2822] | 195 | </grid> |
---|
[3605] | 196 | <grid id="grid4Dsrbin_out"> |
---|
| 197 | <domain domain_ref="dom_out" /> |
---|
| 198 | <axis axis_ref="height" /> |
---|
| 199 | <axis axis_ref="scatratio" /> |
---|
| 200 | </grid> |
---|
[2822] | 201 | |
---|
| 202 | <grid id="grid4Ddbze"> |
---|
[3605] | 203 | <domain domain_ref="dom_glo" /> |
---|
| 204 | <axis axis_ref="height" /> |
---|
| 205 | <axis axis_ref="dbze" /> |
---|
[2822] | 206 | </grid> |
---|
[3605] | 207 | <grid id="grid4Ddbze_out"> |
---|
| 208 | <domain domain_ref="dom_out" /> |
---|
| 209 | <axis axis_ref="height" /> |
---|
| 210 | <axis axis_ref="dbze" /> |
---|
| 211 | </grid> |
---|
[2822] | 212 | |
---|
| 213 | <grid id="grid4Dtau"> |
---|
[3605] | 214 | <domain domain_ref="dom_glo" /> |
---|
| 215 | <axis axis_ref="tau" /> |
---|
| 216 | <axis axis_ref="pressure2" /> |
---|
[2822] | 217 | </grid> |
---|
[3605] | 218 | <grid id="grid4Dtau_out"> |
---|
| 219 | <domain domain_ref="dom_out" /> |
---|
| 220 | <axis axis_ref="tau" /> |
---|
| 221 | <axis axis_ref="pressure2" /> |
---|
| 222 | </grid> |
---|
[2822] | 223 | |
---|
| 224 | <grid id="grid4Dmisr"> |
---|
[3605] | 225 | <domain domain_ref="dom_glo" /> |
---|
| 226 | <axis axis_ref="cth" /> |
---|
| 227 | <axis axis_ref="tau" /> |
---|
[2822] | 228 | </grid> |
---|
[3605] | 229 | <grid id="grid4Dmisr_out"> |
---|
| 230 | <domain domain_ref="dom_out" /> |
---|
| 231 | <axis axis_ref="cth" /> |
---|
| 232 | <axis axis_ref="tau" /> |
---|
| 233 | </grid> |
---|
[2822] | 234 | |
---|
| 235 | <grid id="grid4Dreffi"> |
---|
[3605] | 236 | <domain domain_ref="dom_glo" /> |
---|
| 237 | <axis axis_ref="tau" /> |
---|
| 238 | <axis axis_ref="ReffIce" /> |
---|
[2822] | 239 | </grid> |
---|
[3605] | 240 | <grid id="grid4Dreffi_out"> |
---|
| 241 | <domain domain_ref="dom_out" /> |
---|
| 242 | <axis axis_ref="tau" /> |
---|
| 243 | <axis axis_ref="ReffIce" /> |
---|
| 244 | </grid> |
---|
[2822] | 245 | |
---|
| 246 | <grid id="grid4Dreffl"> |
---|
[3605] | 247 | <domain domain_ref="dom_glo" /> |
---|
| 248 | <axis axis_ref="tau" /> |
---|
| 249 | <axis axis_ref="ReffLiq" /> |
---|
[2822] | 250 | </grid> |
---|
[3605] | 251 | <grid id="grid4Dreffl_out"> |
---|
| 252 | <domain domain_ref="dom_out" /> |
---|
| 253 | <axis axis_ref="tau" /> |
---|
| 254 | <axis axis_ref="ReffLiq" /> |
---|
| 255 | </grid> |
---|
| 256 | |
---|
[2955] | 257 | <grid id="grid4Dcol2"> |
---|
[3605] | 258 | <domain domain_ref="dom_glo" /> |
---|
| 259 | <axis axis_ref="height" /> |
---|
| 260 | <axis axis_ref="column" /> |
---|
[2955] | 261 | </grid> |
---|
[3605] | 262 | <grid id="grid4Dcol2_out"> |
---|
| 263 | <domain domain_ref="dom_out" /> |
---|
| 264 | <axis axis_ref="height" /> |
---|
| 265 | <axis axis_ref="column" /> |
---|
| 266 | </grid> |
---|
[2955] | 267 | |
---|
[3605] | 268 | <grid id="grid4Dsza"> |
---|
| 269 | <domain domain_ref="dom_glo" /> |
---|
| 270 | <axis axis_ref="column" /> |
---|
| 271 | <axis axis_ref="sza" /> |
---|
| 272 | </grid> |
---|
| 273 | <grid id="grid4Dsza_out"> |
---|
| 274 | <domain domain_ref="dom_out" /> |
---|
| 275 | <axis axis_ref="column" /> |
---|
| 276 | <axis axis_ref="sza" /> |
---|
| 277 | </grid> |
---|
| 278 | |
---|
| 279 | <!-- Grid definitions to allow summing of a 3D variable --> |
---|
[3078] | 280 | <grid id="grid_3D" > |
---|
[3605] | 281 | <domain domain_ref="dom_glo" /> |
---|
| 282 | <axis axis_ref="lev" /> |
---|
[3078] | 283 | </grid> |
---|
| 284 | |
---|
| 285 | <grid id="grid_sum_axis"> |
---|
[3605] | 286 | <domain domain_ref="dom_glo" /> |
---|
[3078] | 287 | <scalar> |
---|
| 288 | <reduce_axis operation="sum" /> |
---|
| 289 | </scalar> |
---|
| 290 | </grid> |
---|
| 291 | |
---|
| 292 | <grid id="grid_sum"> |
---|
| 293 | <scalar > |
---|
[3605] | 294 | <reduce_domain operation="sum" local="true" /> |
---|
| 295 | <reduce_scalar operation="sum" /> |
---|
[3078] | 296 | </scalar> |
---|
[3605] | 297 | <scalar/> |
---|
[3144] | 298 | </grid> |
---|
[3078] | 299 | |
---|
[2822] | 300 | </grid_definition> |
---|
| 301 | |
---|
[2013] | 302 | </context> |
---|