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 Parameters

The module model run file contains information about the files exported by the General Adapter to the model input folders and information about the files to be produced by the model and imported by the General Adapter. Besides file information this file contains system information that can be used by the model:The model run file is recreated every time a general adapter runs. The fully qualified path to this file is given as command line argument when a pre of post adapter is executed


schema file, root element

example file

pi_run.xsd, Run

pi_run.xml



Here is a list of information available in the model run file:

  1. timeZone: Time zone used in the exported pi files. This is also the default time zone used by the general adapter when the time zone is not specified in an imported file.
  2. startDateTime: Start of the run.
  3. endDateTime: End of the run.
  4. time0: This is the start of a forecast for a forecast run. This is the time 0 of a FEWS task run.
  5. lastObservationDateTime: Last time of non missing observation based on observed time series sets configured in the general adapter.
  6. properties: Kind of environment variables for the pre and post adapter. This is also a convenient way to pass global properties to a pre or post adapter. An adapter is not allowed to access the FEWS global.properties directly. These extra options make an additional pre or post adapter configuration file unnecessary. See the documentation of the used pre and post adapter for the supported property keys with their allowed values.