Original question

Hi,

Is there is a way to trigger an eventcode for non-arrival of data in Delft-FEWS?

I checked the SystemMonitorDisplay (where the custom colours are displayed) but can't see anything there. Does anyone have a solution for this?

Solution

We usually configure a secondaryValidation, where we check if data is available for some key timeseries. If not, a user-defined logmessage and eventcode is generated. Based on that, you can trigger an email to be sent by the MC to inform you about this.

See below config example. Note there is no way to do it based on a datafeed, only on available data on locations.

<secondaryValidation 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/secondaryValidation.xsd">
	<variableDefinition>
		<variableId>Measurements</variableId>
		<timeSeriesSet>
			<moduleInstanceId>Import_Measurements</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.obs</parameterId>
			<locationId>measurement_loc</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour"/>
			<readWriteMode>read complete forecast</readWriteMode>
		</timeSeriesSet>
	</variableDefinition>
	<minNumberOfValuesCheck id="Check.measurement">
		<variable>
			<variableId>Measurements</variableId>
		</variable>
		<checkRelativePeriod start="-2" end="0" unit="day"/>
		<minNumberOfValues>48</minNumberOfValues>
		<logLevel>WARN</logLevel>
		<logEventCode>missing.values</logEventCode>
		<logMessage>Missing values detected in time series</logMessage>
	</minNumberOfValuesCheck>
</secondaryValidation>


See 

https://publicwiki.deltares.nl/display/FEWSDOC/21+Secondary+Validation for more information and examples regarding the validation module and;

https://publicwiki.deltares.nl/display/FEWSDOC/05+Setting+up+sending+emails+on+events  regarding sending mail alerts.

  • No labels