wiki:BackwardIncompatibleChangesTrunk

Version 1 (modified by oabramkina, 3 months ago) (diff)

--

Backward incompatible changes on trunk

  • Changes related to introduction of new zoom

Starting revision r1553, zoom internally changes the size of the destination element. Rarely, but this may require adjustments of definitions related to grid. Below is one example of definitions which were legitimate before revision r1553 and now need to be corrected. Before r1553:

<grid_definition>
     <grid id="grid_A">
        <domain domain_ref="domain_A" />
        ...
     </grid>
     <grid id="grid_B">
        <domain domain_ref="domain_A_zoom"/>
        ...
     </grid>
     <grid id="grid_C">
       <domain domain_ref="domain_A_zoom" />
        ...
     </grid>
  </grid_definition>

With these definitions zoom on domain will be performed twice: once for grid_B and once for grid_C on the domain already zoomed in the previous transformation. This will lead to an error message. In order for XIOS to recognize both domains and thus transformations as unique, domain id should be added:

  <grid_definition>
     <grid id="grid_A">
        <domain domain_ref="domain_A" />
        ...
     </grid>
     <grid id="grid_B">
        <domain id="domain_A_zoomed" domain_ref="domain_A_zoom"/>
        ...
     </grid>
     <grid id="grid_C">
       <domain id="domain_A_zoomed" domain_ref="domain_A_zoom" />
        ...
     </grid>
  </grid_definition>