Ignore:
Timestamp:
12/03/14 11:41:54 (7 years ago)
Author:
rlacroix
Message:

Make the variable typing stricter.

The type must now be one of:

  • bool
  • int or int32
  • int16
  • int64
  • float
  • double
  • string

WARNING: The variable type was previously not checked and using an unsupported type did not lead to any error message. Be aware that this change can make your existing configuration files invalid. However the adjustments required to adapt existing files should be minor.

Location:
XIOS/trunk/inputs/COMPLETE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/inputs/COMPLETE/context_surface.xml

    r513 r527  
    1515      <field field_ref="field_A_srf" > 
    1616        <variable id="my_attribute1" type="string" >surf_att</variable> 
    17         <variable id="my_attribute2" type="integer" > 10 </variable> 
     17        <variable id="my_attribute2" type="int" > 10 </variable> 
    1818        <variable id="my_attribute3" type="float" >6.8</variable> 
    1919        <variable id="my_attribute5" type="double" >100.201</variable> 
     
    3030      <field field_ref="field_A_srf" > 
    3131        <variable id="my_attribute1" type="string" >surf_att</variable> 
    32         <variable id="my_attribute2" type="integer" >10</variable> 
     32        <variable id="my_attribute2" type="int" >10</variable> 
    3333        <variable id="my_attribute3" type="float" >6.8</variable> 
    3434        <variable id="my_attribute4" type="double" >100.201</variable> 
  • XIOS/trunk/inputs/COMPLETE/iodef.xml

    r512 r527  
    1515        <variable_group id="parameters" > 
    1616          <variable id="info_level" type="int">100</variable> 
    17           <variable id="print_file" type="boolean">true</variable> 
     17          <variable id="print_file" type="bool">true</variable> 
    1818        </variable_group> 
    1919      </variable_definition> 
Note: See TracChangeset for help on using the changeset viewer.