Changeset 2653 for trunk/LMDZ.GENERIC/deftank
- Timestamp:
- Mar 29, 2022, 10:11:10 AM (3 years ago)
- Location:
- trunk/LMDZ.GENERIC/deftank
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/deftank/context_lmdz_physics.xml
r2222 r2653 2 2 3 3 <!-- Definition of a calendar is done in code via wxios_set_cal --> 4 4 5 5 <!-- Definition of domains and groups of domains --> 6 6 <domain_definition> 7 <domain id="dom_glo" data_dim="2" /> 7 <domain_group id="dom_glo" data_dim="1"> 8 <domain id="dom_glo" /> 9 </domain_group> 10 8 11 </domain_definition> 9 12 13 <domain_definition> 14 <domain id="dom_64_48" type="rectilinear" ni_glo="64" nj_glo="48" > 15 <generate_rectilinear_domain/> 16 <interpolate_domain order="1"/> 17 </domain> 18 19 <domain id="dom_96_95" type="rectilinear" ni_glo="96" nj_glo="95" > 20 <generate_rectilinear_domain/> 21 <interpolate_domain order="1"/> 22 </domain> 23 24 <domain id="dom_144_142" type="rectilinear" ni_glo="144" nj_glo="142" > 25 <generate_rectilinear_domain/> 26 <interpolate_domain order="1"/> 27 </domain> 28 29 <domain id="dom_512_360" type="rectilinear" ni_glo="512" nj_glo="360" > 30 <generate_rectilinear_domain/> 31 <interpolate_domain order="1"/> 32 </domain> 33 34 <domain id="dom_720_360" type="rectilinear" ni_glo="720" nj_glo="360" > 35 <generate_rectilinear_domain/> 36 <interpolate_domain order="1"/> 37 </domain> 38 39 <domain id="dom_128_96" type="rectilinear" ni_glo="128" nj_glo="96" > 40 <generate_rectilinear_domain/> 41 <interpolate_domain order="1"/> 42 </domain> 43 44 <domain id="dom_256_192" type="rectilinear" ni_glo="256" nj_glo="192" > 45 <generate_rectilinear_domain/> 46 <interpolate_domain order="1"/> 47 </domain> 48 49 <domain id="dom_out" domain_ref="dom_720_360"/> 50 </domain_definition> 51 <!-- <domain_definition src="./domain_def.xml"/> --> 52 10 53 <!-- Definition of vertical axes 11 NB: these must be defined and set in code via12 wxios_add_vaxis-->54 NB: these must be defined and set in code via 55 xios_output_mod --> 13 56 <axis_definition> 14 57 <axis id="presnivs" … … 21 64 </axis> 22 65 </axis_definition> 23 66 67 <scalar_definition> 68 <scalar id="scalar" /> 69 </scalar_definition> 70 24 71 <grid_definition> 25 72 <!-- 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" /> 73 <grid id="grid_3D"> 74 <domain domain_ref="dom_glo" /> 75 <axis axis_ref="altitude" /> 30 76 </grid> 31 32 <grid id="grid_2d"> 33 <domain id="dom_glo" /> 77 <grid id="grid_2D"> 78 <domain domain_ref="dom_glo" /> 34 79 </grid> 35 80 81 <!-- grid for interpolated lon-lat outputs --> 36 82 <!-- to output scalars --> 37 83 <grid id="scalarpoint" > 38 <scalar />84 <scalar scalar_ref="scalar" /> 39 85 </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 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" /> 68 </field_group> 86 <!-- output grids --> 87 <grid id="grid_3D_out"> 88 <domain domain_ref="dom_out" /> 89 <axis axis_ref="altitude" /> 90 </grid> 91 <grid id="grid_2D_out"> 92 <domain domain_ref="dom_out" /> 93 </grid> 94 </grid_definition> 95 96 <!-- Definition of model variables --> 97 <field_definition src="./field_def_physics.xml" /> 98 99 <!-- Definition of output files --> 100 <file_definition> 101 102 <!-- Instantaneous outputs; Here output_freq in physics time steps --> 103 <!-- 104 1 ts == 1 physical ts 105 if physical ts is half a day, 106 10ts below means every 5 days 107 2000ts below means every 1000 days 108 <file id="histins" 109 name="Xhistins" 110 output_freq="40ts" sync_freq="40ts" 111 split_freq="2000ts" 112 type="one_file" 113 enabled=".true."> 114 split_freq does not seem to work 115 --> 116 <file id="histins" 117 name="Xhistins" 118 output_freq="2ts" 119 type="one_file" 120 time_units="days" 121 enabled="true"> 122 123 124 <!-- VARS 0D --> 125 <field_group operation="instant" 126 grid_ref="scalarpoint" 127 freq_op="1ts"> 128 <field field_ref="ls" /> 129 </field_group> 130 131 <!--<field_group domain_ref="dom_glo"> --> 132 <!--<field_group grid_ref="grid_2D_out">--> 133 <!-- toggle domain_ref to output on native or lon-lat domain --> 134 135 <!-- VARS 2D --> 136 <field_group operation="instant" prec="4" 137 grid_ref="grid_2D_out" 138 freq_op="1ts"> 139 <field field_ref="area" operation="once" /> 140 <field field_ref="ps" enabled="true" /> 141 <field field_ref="ISR" enabled="true" /> 142 <field field_ref="OLR" enabled="true" /> 143 </field_group> 69 144 70 <!-- 3D variables --> 71 <field_group id="fields_3D" grid_ref="grid_3d"> 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" /> 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" /> 90 </field_group> 145 <!-- VARS 3D --> 146 <field_group operation="instant" 147 grid_ref="grid_3D_out" 148 freq_op="1ts"> 149 <field field_ref="u" /> 150 <field field_ref="v" /> 151 <field field_ref="omega"/> 152 <field field_ref="temperature" /> 91 153 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 103 <!-- VARS 0D --> 104 <field_group operation="instant" 105 freq_op="1ts"> 106 <field field_ref="ls" /> 107 </field_group> 108 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 132 <!-- VARS 0D --> 133 <field_group operation="average" 134 freq_op="1ts"> 135 <field field_ref="ls" /> 136 </field_group> 137 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> 154 <field field_ref="h2o_vap" /> 155 <field field_ref="h2o_ice" /> 156 <field field_ref="w_plm" /> 157 <field field_ref="detr" /> 158 <field field_ref="entr" /> 159 </field_group> 160 161 <!--</field_group>--> 162 </file> 163 164 </file_definition> 165 166 </context>
Note: See TracChangeset
for help on using the changeset viewer.