Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleExample LookupTables.xml from RegionConfig
<?xml version="1.0" encoding="UTF-8"?>
<Tables xmlns="http://www.wldelft.nl/fews/PI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.wldelft.nl/fews/PI http://fews.wldelft.nl/schemas/version1.0/pi-schemas/pi_tables.xsd">
   <table>
      <header>
         <locationId>H-2002</locationId>
         <a parameterId="H.m" units="m"/>
         <b parameterId="H.obs" units="m"/>
         <startDate date="2012-01-01" time="00:00:00"/>
      </header>
      <table>
         <row a="99" b="122.566570633982"/>
         <row a="158" b="216.30059062327"/>
         <row a="160" b="218.698850750015"/>
         <row a="162" b="221.058958199806"/>
         <row a="164" b="223.381719470149"/>
         <row a="166" b="225.667911902593"/>
         <row a="168" b="227.91859175558"/>
         <row a="170" b="230.884412887021"/>
         <row a="172" b="233.920464645294"/>
         <row a="174" b="237.492498877315"/>
      </table>
   </table>
</Tables>

When 'b' needs to be looked up by 'a' ->

<locationId> of the PiTable
<inputParameterId1> => 'a'
<outputParameterId> => 'b'