Ignore:
Timestamp:
2024-06-13T16:33:33+02:00 (7 months 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

Location:
branches/ORCHIDEE_2_2/ORCHIDEE/src_xml
Files:
3 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> 
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_xml/field_def_orchidee.xml

    r8566 r8579  
    391391    <field id="interp_avail_areftemp" name="interp_avail_areftemp" long_name="Availability of data for the reftemp interpolation (negative values if no data found)" unit="1" operation="once" freq_offset="0ts"/> 
    392392    <field id="interp_diag_woodharvest" name="interp_diag_woodharvest" long_name="woodharvest read from file" operation="once" freq_offset="0ts"/> 
     393    <field id="interp_diag_irrigmap_frac" name="interp_diag_irrigmap_frac" long_name="irrigmap_frac read from file" unit="%" operation="once" freq_offset="0ts"/> 
     394    <field id="interp_diag_aeiswmap_frac" name="interp_diag_aeiswmap_frac" long_name="aeiswmap_frac read from file" unit="%" operation="once" freq_offset="0ts"/> 
    393395 
    394396 
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_xml/file_def_orchidee.xml

    r8572 r8579  
    755755      <field field_ref="interp_diag_reftemp" level="1"/> 
    756756      <field field_ref="interp_diag_woodharvest" level="1"/> 
     757      <field field_ref="interp_diag_irrigmap_frac" level="1"/> 
     758      <field field_ref="interp_diag_aeiswmap_frac" level="1"/> 
    757759      <!--      <field field_ref="interp_diag_lai" grid_ref="grid_from_lai" level="1"/> --> 
    758760       
Note: See TracChangeset for help on using the changeset viewer.