...
Code Block |
---|
<arc:dataManagementTool xmlns:arc="http://www.wldelft.nl/fews/archive" xsi:schemaLocation="http://www.wldelft.nl/fews/archive http://fews.wldelft.nl/schemas//version1.0/archive-schemas/dataManagementTool.xsd" xmlns="http://www.wldelft.nl/fews/archive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <outputFile>d:\fews\output\managementreport.csv</outputFile> <lifeTimeRules> <defaultLifeTime unit="year" multiplier="10"/> <defaultAction>default</defaultAction> <lifeTimeSimulatedDataSets> <lifeTime unit="year" multiplier="15"/> <action>remove</action> </lifeTimeSimulatedDataSets> <lifeTimeObservedDataSets> <lifeTime unit="year" multiplier="15"/> <action>remove</action> </lifeTimeObservedDataSets> <lifeTimeExternalForecastDataSets> <lifeTime unit="year" multiplier="10"/> <action>remove</action> </lifeTimeExternalForecastDataSets> <lifeTimeMessagesDataSets> <lifeTime unit="year" multiplier="10"/> <action>remove</action> </lifeTimeMessagesDataSets> <lifeTimeConfigurationDataSets> <lifeTime unit="year" multiplier="10"/> <action>remove</action> </lifeTimeConfigurationDataSets> <lifeTimeRatingCurveDataSets> <lifeTime unit="year" multiplier="10"/> <action>remove</action> </lifeTimeRatingCurveDataSets> </lifeTimeRules> </arc:dataManagementTool> |
In the FEWS OC or SA it is possible to define events. It is possible to configure a life time for data sets which belong to a certain event. Data sets which belong to an event are usually more important than other data sets in the same period. By configuring a different life time for data sets which belong to a event it is possible to keep these types of data sets longer in the archive.
An example is given below.
Code Block |
---|
<arc:dataManagementTool xmlns:arc="http://www.wldelft.nl/fews/archive" xsi:schemaLocation="http://www.wldelft.nl/fews/archive http://fews.wldelft.nl/schemas//version1.0/archive-schemas/dataManagementTool.xsd" xmlns="http://www.wldelft.nl/fews/archive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<outputFile>d:\fews\output\managementreport.csv</outputFile>
<backupFolder>d:\fews\backup</backupFolder>
<lifeTimeRules>
<defaultLifeTime unit="year" multiplier="10"/>
<defaultAction>default</defaultAction>
<lifeTimeSimulatedDataSets>
<lifeTime unit="year" multiplier="10"/>
<action>remove</action>
</lifeTimeSimulatedDataSets>
<lifeTimeSimulatedDataSets>
<sourceId>sourceId</sourceId>
<lifeTime unit="year" multiplier="10"/>
<action>remove</action>
</lifeTimeSimulatedDataSets>
<lifeTimeObservedDataSets>
<lifeTime unit="year" multiplier="10"/>
<action>remove</action>
</lifeTimeObservedDataSets>
<lifeTimeExternalForecastDataSets>
<lifeTime unit="year" multiplier="10"/>
<action>remove</action>
</lifeTimeExternalForecastDataSets>
<lifeTimeMessagesDataSets>
<lifeTime unit="year" multiplier="10"/>
<action>remove</action>
</lifeTimeMessagesDataSets>
<lifeTimeConfigurationDataSets>
<lifeTime unit="year" multiplier="10"/>
<action>remove</action>
</lifeTimeConfigurationDataSets>
<lifeTimeRatingCurveDataSets>
<lifeTime unit="year" multiplier="10"/>
<action>remove</action>
</lifeTimeRatingCurveDataSets>
<eventRule>
<eventTypeId>historic event</eventTypeId>
<lifeTime unit="year" multiplier="20"/>
</eventRule>
<eventRule>
<eventTypeId>calibration event</eventTypeId>
<lifeTime unit="year" multiplier="20"/>
</eventRule>
<eventRule>
<eventTypeId>watercoach event</eventTypeId>
<lifeTime unit="year" multiplier="20"/>
</eventRule>
<eventRule>
<eventTypeId>review event</eventTypeId>
<lifeTime unit="year" multiplier="20"/>
</eventRule>
<eventRule>
<eventTypeId>flood watch event</eventTypeId>
<lifeTime unit="year" multiplier="20"/>
</eventRule>
</lifeTimeRules>
</arc:dataManagementTool>
|