Versions Compared

Key

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

...

Code Block
xml
xml
<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"
    <!-- variableDefinitions can be global or nested -->
    <variableDefinition>
        <variableId>flagPersistencyInput1</variableId>
        <timeSeriesSet>
            <moduleInstanceId>FlagPersistencyCheckTest</moduleInstanceId>
            <valueType>scalar</valueType>
            <parameterId>H.obs</parameterId>
            <locationId>location1</locationId>
            <timeSeriesType>external historical</timeSeriesType>
            <timeStep unit="hour" multiplier="1"/>
            <readWriteMode>read complete forecast<<relativeViewPeriod unit="day" start="-7" end="0"/>
            <readWriteMode>read only</readWriteMode>
        </timeSeriesSet> 
	</variableDefinition>
	<flagPersistencyCheck id="FlagPersistencyCheck">
	<input>
		<input><variableId>flagPersistencyInput1</variableId><<variableId>flagPersistencyInput1</variableId>
	</input>
		<logLevel>WARN</logLevel>
		<logEventCode>SecondaryValidation.flagPersistency</logEventCode>
		<logMessage>%AMOUNT_CHANGED_FLAGS% flags set to unreliable persistence for location=%LOCATION_NAME%</logMessage>
	  </flagPersistencyCheck>
</secondaryValidation>

...