Versions Compared

Key

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

...


Example:
<?xml version="1.0" encoding="UTF-8"?>
<Polygons xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews
pi_polygons.xsd" version="1.1">
<geoDatum>LOCAL</geoDatum>
<timeZone>0.0</timeZone>
<polygon>
<locationId>String</locationId>
<parameter>String</parameter>
<timeStep>
<seconds>3600</seconds>
</timeStep>
<startDate date="1967-08-13" time="13:00:00"/>
<endDate date="1967-08-13" time="14:00:00"/>
<name>Flood Rhine</name>
<upstreamId>rh2</upstreamId>
<event date="1967-08-13" time="13:00:00">
<pt x="3.14159265358979" y="3.14159265358979" z="3.14159265358979" mark="1"/>
<pt x="3.14159265358979" y="3.14159265358979" z="3.14159265358979" mark="2"/>
</event>
<event date="1967-08-13" time="14:00:00">
<pt x="3.14159265358979" y="3.14159265358979" z="3.14159265358979" mark="0"/>
<pt x="3.14159265358979" y="3.14159265358979" z="3.14159265358979" mark="0"/>
</event>
</polygon>
</Polygons>

The structure of the XML schema is given in the figures below. Note that attributes are not displayed in the figures. Consult the full schema (+documentation) for details.

Run

...

File

Since 2008.03. General information about the run executed by the general adapter that is used by the pre and post adapter
This file generated on the fly during a pi run file export activity from the General Adapter. This file is read only for the pre and post adapters.
A pre or post adapter that supports pi run files only needs this pi run file at the command line argument to find all the pi files it needs to read and write.
Other options can be passed to the pre or post adapter by adding extra properties to the generated pi run file during export.

...

An example file is given in the figure below (under construction):

<?xml versionxml version="1.0" encoding encoding="UTF-8"?>
<fews:Run version="1.2" xsi: <Run     xsi:schemaLocation="http://www.wldelft.nl/fews/PI PI http://fews.wldelft.nl/schemas/version1.0/pi_run.xsdImage Added" xmlns:xsi
    xmlns="http://www.w3wldelft.orgnl/2001fews/XMLSchema-instancePI" xmlns xmlns:fewsxsi="http://www.wldelftw3.nlorg/fews2001/PIXMLSchema-instance">
   <fews:timeZone>0</fews:timeZone>
   <fews:startDateTime date="2008-08-13" time="00:00:00"/>
   <fews:endDateTime date="2008-08-13" time="12:00:00"/>
   <fews:time0 date="2008-08-13" time="10:00:00"/>
   <fews:lastObservationDateTime date="2008-08-13" time="08:00:00"/>
   <fews:diagnosticFile>output/diagnostics.xml</fews:diagnosticFile>
   <fews:workDir>work</fews:workDir>
   <fews:inputStateDescriptionFile>input/state.xml</fews:inputStateDescriptionFile>
   <fews:inputDir>input</fews:inputDir>
   <fews:inputDataSetDir>input/dataset</fews:inputDataSetDir>
   <fews:outputStateDescriptionFile>output/state.xml</fews:outputStateDescriptionFile>
   <fews:outputDir>output</fews:outputDir>
   <fews:properties>
      <fews:description>a variable</fews:description>
      <fews:string value="c:\java\jre" key="JAVA_HOME"/>
   </fews:properties>
</fews:Run><?xml version="1.0" encoding="UTF-8"?>
<Run     xsi:schemaLocation="http://www.wldelft.nl/fews/PI http://fews.wldelft.nl/schemas/version1.0/pi_run.xsdImage Removed"
    xmlns="http://www.wldelft.nl/fews/PI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <timeZone>0.0</timeZone>
    <startDateTime date="2008-10-     <timeZone>0.0</timeZone>
    <startDateTime date="2008-10-17" time="09:00:00"/>
    <endDateTime date="2008-10-23" time="11:00:00"/>
    <time0 date="2008-10-21" time="09:00:00"/>
    <workDir>F:\Fews\Midlands_sa\Modules\MCRM\Sev-C101</workDir>
    <inputStateDescriptionFile>F:\Fews\Midlands_sa\Modules\MCRM\Sev-C101\InputFromGA\state.xml</inputStateDescriptionFile>
    <inputTimeSeriesFile>F:\Fews\Midlands_sa\Modules\MCRM\Sev-C101\InputFromGA\inp_hindcast.xml</inputTimeSeriesFile>
    <inputTimeSeriesFile>F:\Fews\Midlands_sa\Modules\MCRM\Sev-C101\InputFromGA\inp_forecast.xml</inputTimeSeriesFile>
    <inputTimeSeriesFile>F:\Fews\Midlands_sa\Modules\MCRM\Sev-C101\InputFromGA\inp_stateupdate.xml</inputTimeSeriesFile>
    <outputTimeSeriesFile>F:\Fews\Midlands_SA\Modules\MCRM\SEV-C101\OutputToGA\out_hindcast.xml</outputTimeSeriesFile>
    <outputTimeSeriesFile>F:\Fews\Midlands_SA\Modules\MCRM\SEV-C101\OutputToGA\out_forecast.xml</outputTimeSeriesFile>
    <properties>
        <float key="testfactor" value="12.0"/>
        <string key="eermode" value="fdfdfdG"/>
    </properties>
</Run>

...