Ignore:
Timestamp:
2024-06-13T16:33:33+02:00 (3 weeks ago)
Author:
antoine.bierjon
Message:

Adapted read and interpolation of irrigation input files with XIOS_interpolation.
Added a default value for AEI_SW interpolation (in case of missing value, with and without XIOS), which is chosen to be the average of the GMIA5 dataset from FAO.
Related to ticket #857

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_xml/context_input_orchidee.xml

    r8468 r8579  
    8989    <file id="woodharvest_file" mode="read" output_freq="1y" cyclic="true"> 
    9090      <field id="woodharvest_read"  name="woodharvest" domain_ref="dom_file_woodharvest" operation="instant"  freq_offset="1ts"/> 
     91    </file> 
     92     
     93    <file id="irrigmap_file" mode="read" output_freq="1y" cyclic="true"> 
     94      <field id="irrigmap_read"  name="irrig" domain_ref="dom_file_irrigmap" operation="instant"  freq_offset="1ts" > (this &gt; 101) ? $missing_value : this </field> 
     95    </file> 
     96     
     97    <file id="aei_sw_file" mode="read" output_freq="1y" cyclic="true"> 
     98      <field id="aei_sw_read"  name="aeisw_pct" domain_ref="dom_file_aei_sw" operation="instant"  freq_offset="1ts" > (this &gt; 101) ? $missing_value : this </field> 
    9199    </file> 
    92100     
     
    176184 
    177185      <field id="woodharvest_interp"  field_ref="woodharvest_read"  domain_ref="dom_from_woodharvest" read_access="true" enabled="true" /> 
     186 
     187      <field id="irrigmap_tmp"   field_ref="irrigmap_read"  domain_ref="dom_from_irrigmap"  /> 
     188      <field id="irrigmap_interp"  field_ref="irrigmap_tmp" read_access="true" enabled="true" > this == $missing_value ? 0 : this </field> 
     189 
     190      <field id="aei_sw_tmp"   field_ref="aei_sw_read"  domain_ref="dom_from_aei_sw"  /> 
     191      <field id="aei_sw_interp"  field_ref="aei_sw_tmp" read_access="true" enabled="true" > this == $missing_value ? $aei_sw_default : this </field> 
    178192       
    179193    </field_group> 
     
    275289    </domain> 
    276290     
     291    <domain id="dom_from_irrigmap" domain_ref="domain_landpoints"> 
     292      <interpolate_domain order="1" renormalize="true" detect_missing_value="true" /> 
     293    </domain> 
     294     
     295    <domain id="dom_from_aei_sw" domain_ref="domain_landpoints"> 
     296      <interpolate_domain order="1" renormalize="true" detect_missing_value="true" /> 
     297    </domain> 
     298     
    277299    <domain id="dom_file_soil" type="rectilinear"> 
    278300      <!-- generate_rectilinear_domain bounds_lon_start="-180" bounds_lon_end="180" bounds_lat_start="-90" bounds_lat_end="90"/--> 
     
    313335 
    314336    <domain id="dom_file_woodharvest" type="rectilinear"> 
     337      <generate_rectilinear_domain/> 
     338    </domain> 
     339 
     340    <domain id="dom_file_irrigmap" type="rectilinear"> 
     341      <generate_rectilinear_domain/> 
     342    </domain> 
     343 
     344    <domain id="dom_file_aei_sw" type="rectilinear"> 
    315345      <generate_rectilinear_domain/> 
    316346    </domain> 
     
    371401    <variable id="albbg_nir_default" type="double">xxx</variable> 
    372402    <variable id="bulk_default" type="double">xxx</variable> 
     403    <variable id="aei_sw_default" type="double">xxx</variable> 
    373404     
    374405  </variable_definition> 
Note: See TracChangeset for help on using the changeset viewer.