Forecast On Time Count config example
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by WL | Delft Hydraulics (WL | Delft Hydraulics) -->
<transformationModule version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews"
                 xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/transformationModule.xsd">
   <variable>
      <variableId>input</variableId>
      <timeSeriesSet>
         <moduleInstanceId>ForecastOnTimeCountTest</moduleInstanceId>
         <valueType>scalar</valueType>
         <parameterId>Warning</parameterId>
         <locationSetId>ForecastOnTimeCountLocationSet</locationSetId>
         <timeSeriesType>external forecasting</timeSeriesType>
         <timeStep unit="nonequidistant"/>
         <readWriteMode>read complete forecast</readWriteMode>
      </timeSeriesSet>
   </variable>
   <variable>
      <variableId>output</variableId>
      <timeSeriesSet>
         <moduleInstanceId>ForecastOnTimeCountTest</moduleInstanceId>
         <valueType>scalar</valueType>
         <parameterId>ValueCount</parameterId>
         <locationSetId>ForecastOnTimeCountLocationSet</locationSetId>
         <timeSeriesType>external historical</timeSeriesType>
         <timeStep unit="nonequidistant"/>
         <relativeViewPeriod unit="day" start="-1" end="1"/>
         <readWriteMode>editing visible to all future task runs</readWriteMode>
      </timeSeriesSet>
   </variable>
   <transformation id="ForecastOnTimeCountTest">
      <statisticsValueProperties>
         <forecastsOnTimeCount>
            <inputVariable>
               <variableId>input</variableId>
            </inputVariable>
            <forecastIssueTimePropertyId>Issue_Time_UTC</forecastIssueTimePropertyId>
            <forecastNextIssueTimePropertyId>Warning_Next_Issue_Time</forecastNextIssueTimePropertyId>
            <forecastSearchPeriod start="-5" end="0" unit="day"/>
            <forecastSearchPeriodExtensionTimeSpan unit="day" multiplier="1"/>
            <outputVariable>
               <variableId>output</variableId>
            </outputVariable>
         </forecastsOnTimeCount>
      </statisticsValueProperties>
   </transformation>
</transformationModule>
  • No labels