...
A configuration example of the forecast length estimator using an external forecast time series is given below:
Code Block |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<forecastLengthEstimator xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/forecastLengthEstimator.xsd">
<externalForecastTimeSeries>
<moduleInstanceId>ImportCOSMO2</moduleInstanceId>
<valueType>grid</valueType>
<parameterId>P.fg</parameterId>
<locationId>COSMO2</locationId>
<timeSeriesType>external forecasting</timeSeriesType>
<timeStep unit="hour" multiplier="1"/>
<relativeViewPeriod unit="hour" start="0" end="30"/>
<readWriteMode>read only</readWriteMode>
</externalForecastTimeSeries>
<minForecastLength multiplier="3" unit="hour"/>
<maxForecastLength multiplier="30" unit="hour"/>
</forecastLengthEstimator>
|
...
The logging will provide you with the information which forecast length was used in the run, see example below
Wiki Markup |
---|
\[\] INFO - Workflow.run - Workflow.ActivityStarted: Workflow 'HBV_FlowForecast_ECMWF' |
\[\] INFO - WorkflowPluginActivity.run - Started Activity ForecastLength_ECMWF |
\[\] INFO - ForecastLengthEstimator.updateForecastLength - ForecastLengthEstimator.Info: Established Forecast Length as 234 hours |
Here is a configuration example of the forecast length estimator using a simulated forecast time series. Make sure that your are using the read write mode "read complete forecast" or define a relative view period instead.
Code Block |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<forecastLengthEstimator xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/forecastLengthEstimator.xsd">
<simulatedForecastTimeSeries>
<moduleInstanceId>HBV_AlpenRhein_COSMO2</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>Q.fh</parameterId>
<locationId>H-2473</locationId>
<timeSeriesType>simulated forecasting</timeSeriesType>
<timeStep unit="hour"/>
<readWriteMode>read complete forecast</readWriteMode>
</simulatedForecastTimeSeries>
<minForecastLength multiplier="3" unit="hour"/>
<maxForecastLength multiplier="30" unit="hour"/>
</forecastLengthEstimator>
|
Note |
---|
|
The endoverrulable attribute in the relative view period in time series sets must be set to true in all subsequent modules in which you want to use the actual forecast length. |
...