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