...
This can be useful in combination with the time series set element <externalForecastMaxAge> or <relativeForecastSearchPeriod> to make sure there is a forecast available that is not to old.
In the example below a requiredExternalForecastTimeSeries is configured which will prevent the run from executing if there is no forecast available for it that is 1 day or less old.
Code Block | ||||
---|---|---|---|---|
| ||||
<requiredExternalForecastTimeSeries>
<moduleInstanceId>NotUsedForT0_ButNeedsToBePresent</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>par</parameterId>
<locationId>loc</locationId>
<timeSeriesType>external forecasting</timeSeriesType>
<timeStep unit="hour"/>
<externalForecastMaxAge unit="day" multiplier="1"/>
<readWriteMode>read complete forecast</readWriteMode>
</requiredExternalForecastTimeSeries>
|
Simulated historical timeseries
...
Code Block | ||
---|---|---|
| ||
<general> <exportType>PI 1.5</exportType> <folder>../junit_test_output/nl/wldelft/fews/system/plugin/dataExport/TimeSeriesExportTest/exportPiExternalForecastTimeId/export</folder> <exportFileName> <name>rainfallPiExternalForecastTimeId.xml</name> </exportFileName> <idMapId>Telemetry</idMapId> <unitConversionsId>UnitConversions</unitConversionsId> <flagConversionsId>FlagConversions</flagConversionsId> <exportMissingValueString>-999.0</exportMissingValueString> <externalForecastTimeId>test</externalForecastTimeId> </general> |
...
time0CardinalTimeStep
Time step which the calculated time 0 should match. When this does not match the run is skipped with status set to redundant.
skipRunWhenTime0EqualToLastRun
When this option is true, after the T0 is determined, it is compared to the T0 of the previous run and if it is equal the run is skipped with status set to redundant.
This can be useful when the T0 is determined by the oldest of multiple different forecast time series which are all created by other workflows which trigger the execution of the this workflow.
This way the real execution of the workflow will only happen when all forecasts are new compared to the previous run.
...
Error: | Error message |
---|---|
Action: | Action to fix |
Known issues
Describe all known issues and unexpected behaviourBefore the 2023.01 a config error will be logged when used inside a parallel block in the workflow.
Related modules and documentation
...