- Timestamp:
- 2024-02-12T19:49:09+01:00 (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_2_2/ORCHIDEE/src_xml/context_input_orchidee.xml
r8133 r8418 30 30 <field id="soilcolor" name="soilcolor" domain_ref="dom_file_soil" operation="instant" freq_offset="1ts" enabled="false"/> 31 31 <field id="soiltext" name="soiltext" domain_ref="dom_file_soil" operation="instant" freq_offset="1ts"/> 32 </file> 33 34 <!-- Default file name: soil_bulk_and_ph.nc for both soilbulk and soilph. The variables can be read from different files, specified in run.def 35 This file is read in the initialization phase only if there is no restart file. 36 For soilbulk and soilph, set values lower than min_sechiba as masked values because missing values are zero in the file. 37 Renormalization will be done later using the interpolated mask. --> 38 <file id="soilbulk_file" mode="read" output_freq="1y" enabled="true"> 39 <field id="soilbulk_mask_read" name="soilbulk" domain_ref="dom_file_soilbulk" operation="instant" freq_offset="1ts" > this > $min_sechiba ? 1 : 0 </field> 40 <field id="soilbulk_read" name="soilbulk" domain_ref="dom_file_soilbulk" operation="instant" freq_offset="1ts" > this > $min_sechiba ? this : 0 </field> 32 41 </file> 33 42 … … 134 143 <field id="soiltext13" > soiltext == 13 </field> 135 144 </field_group> 145 146 <!-- If soilbulk_mask .gt. min_sechiba, then renormalize by dividing with soilbulk_mask else set bulk_default. 147 soilbulk_mask interpolated to the model grid corresponds to the fraction of the grid cell covered by non-masked 148 values in the input file. Where soilbulk_mask=0, no data where found on the source grid. --> 149 <field id="soilbulk_tmp" field_ref="soilbulk_read" domain_ref="dom_from_soilbulk" /> 150 <field id="soilbulk_mask" field_ref="soilbulk_mask_read" domain_ref="dom_from_soilbulk" read_access="true" enabled="true" /> 151 <field id="soilbulk" field_ref="soilbulk_tmp" domain_ref="dom_from_soilbulk" read_access="true" enabled="true" > soilbulk_mask > $min_sechiba ? soilbulk_tmp/(soilbulk_mask+1e-100) : $bulk_default </field> 136 152 137 153 <field id="frac_veget" field_ref="maxvegetfrac_read" domain_ref="dom_from_pft" read_access="true" enabled="true" /> … … 220 236 </domain> 221 237 238 <domain id="dom_from_soilbulk" domain_ref="domain_landpoints"> 239 <interpolate_domain order="1" renormalize="false" /> 240 </domain> 241 222 242 <domain id="dom_from_pft" domain_ref="domain_landpoints"> 223 243 <interpolate_domain order="1" renormalize="false" /> … … 258 278 <!-- generate_rectilinear_domain bounds_lon_start="-180" bounds_lon_end="180" bounds_lat_start="-90" bounds_lat_end="90"/--> 259 279 <generate_rectilinear_domain bounds_lon_start="-180" bounds_lon_end="180" bounds_lat_start="90" bounds_lat_end="-90"/> 280 </domain> 281 282 <domain id="dom_file_soilbulk" type="rectilinear"> 283 <generate_rectilinear_domain bounds_lon_start="-180" bounds_lon_end="180" bounds_lat_start="90" bounds_lat_end="-90"/>/> 260 284 </domain> 261 285 … … 346 370 <variable id="albbg_vis_default" type="double">xxx</variable> 347 371 <variable id="albbg_nir_default" type="double">xxx</variable> 372 <variable id="bulk_default" type="double">xxx</variable> 348 373 349 374 </variable_definition>
Note: See TracChangeset
for help on using the changeset viewer.