Versions Compared

Key

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

...

The time zone for the Water Coach is specified with the key timeZone. All times in the script configuration must be specified in this time zone.

The start and end date/time for the script have to be specified using attributes date and time in the format YYYY-MM-DD and hh:mm:ss, respectively. The date/time of the data in the FEWS local data store does not have to match the date/time of the script. The actual date/time of the local data store can be specified with the key dataStart (if this key is not specified, dataStart is assumed to be equal to scriptStart). With this functionality, it is possible to play a scenario of several years ago as if it happened today.

...

Code Block
xml
xml
titleExample of script configuration
<?xml version="1.0" encoding="UTF-8"?>
<script xmlns="http://localhost" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://localhost xml-schemas/script_config.xsd">
   <title>storm surge March 12</title>
   <timeZone>GMT</timeZone>
   <DataStart<dataStart date="2008-03-12" time="04:00:00"/>
   <ScriptStart<scriptStart date="2011-01-01" time="06:00:00"/>
   <ScriptStop<scriptStop date="2011-01-01" time="20:00:00"/>
   <Stories><stories>
      <Inbox><inbox>
         <Title>inbox<<title>inbox</Title>title>
         <Frame><frame>
            <Title<title lang="NL">Start zitting</Title>title>
            <Title<title lang="EN">Session start</Title>title>
            <Start<start date="2011-01-01" time="06:00:05"/>
            <Popup>true<<popup>true</Popup>popup>
            <File<file lang="NL">start_zitting_NL.txt</File>file>
            <File<file lang="EN">start_zitting_EN.txt</File>file>
         </Frame>frame>
         <Frame><frame>
            <Title<title lang="NL">KNMI weeranalyse 12 maart, 0:00 uur</Title>title>
            <Title<title lang="EN">KNMI analysis March 12, 12:00 midnight</Title>title>
            <Start<start date="2011-01-01" time="06:00:05"/>
            <Popup>false<<popup>false</Popup>popup>
            <File<file lang="NL">weerkaart_12maart_00uur.pdf</File>file>
            <File<file lang="EN">weerkaart_12maart_00uur.pdf</File>file>
         </Frame>frame>
         <Frame><frame>
            <Title<title lang="NL">KNMI run 11 maart, 12:00 uur</Title>title>
            <Title<title lang="EN">KNMI run March 11, 12:00 noon</Title>title>
            <Start<start date="2011-01-01" time="06:00:05"/>
            <Popup>false<<popup>false</Popup>popup>
            <File<file lang="NL">windveld_11maart_12uur.pdf</File>file>
            <File<file lang="EN">windveld_11maart_12uur.pdf</File>file>
         </Frame>frame>
         <Frame><frame>
            <Title<title lang="NL">Opdracht 1</Title>title>
            <Title<title lang="EN">Exercise 1</Title>title>
            <Start<start date="2011-01-01" time="06:11:00"/>
            <Popup>true<<popup>true</Popup>popup>
            <File<file lang="NL">opdracht1_NL.txt</File>file>
            <File<file lang="EN">opdracht1_EN.txt</File>file>
         </Frame>frame>
      </Inbox>inbox>
      <Story><story>
         <Title>KNMI<<title>KNMI</Title>title>
         <Frame><frame>
            <Title<title lang="NL">Telefoon</Title>title>
            <Title<title lang="EN">Telephone call</Title>title>
            <Start<start date="2011-01-01" time="06:10:00"/>
            <Popup>true<<popup>true</Popup>popup>
            <File<file lang="NL">telefoon_knmi_bericht1_NL.txt</File>file>
            <File<file lang="EN">telefoon_knmi_bericht1_EN.txt</File>file>
         </Frame>frame>
      </Story>story>
      <Story><story>
         <Title>HMCZ<<title>HMCZ</Title>title>
         <Frame><frame>
            <Title<title lang="NL">Telefoon</Title>title>
            <Title<title lang="EN">Telephone call</Title>title>
            <Start<start date="2011-01-01" time="06:11:00"/>
            <Popup>false<<popup>false</Popup>popup>
            <File<file lang="NL">telefoon_hmcz_bericht1_NL.txt</File>file>
            <File<file lang="EN">telefoon_hmcz_bericht1_EN.txt</File>file>
         </Frame>frame>
      </Story>story>
      <Story><story>
         <Title>HMCN<<title>HMCN</Title>title>
         <Frame><frame>
            <Title<title lang="NL">Telefoon</Title>title>
            <Title<title lang="EN">Telephone call</Title>title>
            <Start<start date="2011-01-01" time="07:36:00"/>
            <Popup>false<<popup>false</Popup>popup>
            <File<file lang="NL">telefoon_hmcn_bericht1_NL.txt</File>file>
            <File<file lang="EN">telefoon_hmcn_bericht1_EN.txt</File>file>
         </Frame>frame>
      </Story>story>
   </Stories>stories>
   <ForecastTable><forecastTable>
      <TimeZone>GMT</TimeZone><header>
      <Header>
         <Column<column id="sector">sector</Column>column>
         <Column<column id="station">station</Column>column>
         <Column<column id="astro_date" lang="NL">datum</Column>column>
         <Column<column id="astro_date" lang="EN">date</Column>column>
         <Column<column id="astro_time" lang="NL">tijd astro HW</Column>column>
         <Column<column id="astro_time" lang="EN">time astro high tide</Column>column>
         <Column<column id="astro_level" unit="cm" isExport="true" exportName="H.tidal.astronomic" lang="NL">astro waterstand</Column>column>
         <Column<column id="astro_level" unit="cm" isExport="true" exportName="H.tidal.astronomic" lang="EN">astro water level</Column>column>
         <Column<column id="svsd_forecast" unit="cm" isEditable="true" exportName="H.tidal.peak" lang="NL">SVSD verwachting</Column>column>
         <Column<column id="svsd_forecast" unit="cm" isEditable="true" exportName="H.tidal.peak" lang="EN">forecast</Column>column>
      </Header>header>
      <Row<row id="Vlissingen">
         <Cell<cell columnId="sector">Schelde</Cell>cell>
         <Cell<cell columnId="station">Vlissingen</Cell>cell>
         <Cell<cell columnId="astro_date" lang="NL">1 januari</Cell>cell>
         <Cell<cell columnId="astro_date" lang="ËN">January 1</Cell>cell>
         <Cell<cell columnId="astro_time">19:16</Cell>cell>
         <Cell<cell columnId="astro_level">237</Cell>cell>
      </Row>row>
      <Row<row id="HoekVanHolland">
         <Cell<cell columnId="sector">West Holland</Cell>cell>
         <Cell<cell columnId="station">Hoek van Holland</Cell>cell>
         <Cell<cell columnId="astro_date" lang="NL">1 januari</Cell>cell>
         <Cell<cell columnId="astro_date" lang="EN">January 1</Cell>cell>
         <Cell<cell columnId="astro_time">20:01</Cell>cell>
         <Cell<cell columnId="astro_level">122</Cell>cell>
      </Row>row>
   </ForecastTable>forecastTable>
</Script>script>