Updating the icons for the filters in a OC can take a long time when having many time series or using a long period in the filters.

Since 2016.01 the icon information can be pre-calculated and stored in the central database.

This workflow can be scheduled on the Forecasting Shell Server every hour so the filter icons are max one hour behind. (After configuring this workflow, remember to add it in the workflowDescriptors.xml as well.)

<workflow version="1.1" xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews https://fewsdocs.deltares.nl/schemas/version1.0/workflow.xsd">
	<activity>
		<predefinedActivity>time series status snap shot update</predefinedActivity>
	</activity>
</workflow>


To tell the OC to use the snapshot add to the explorer.xml

explorer version="1.1" xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews https://fewsdocs.deltares.nl/schemas/version1.0/explorer.xsd">
	<systemInformation>
		<description>WIS database</description>
		<systemCaption>$EXPLORER_SYSTEMCAPTION$</systemCaption>
	</systemInformation>
	<timeSeriesStatus>remotely updated snapshot</timeSeriesStatus>


With the F12 menu 'time series status' the snapshot can be updated manually in the central database from the OC. This is mainly for testing purposes. If the status bar is purple, it means the application is busy updating the icons in the data viewer / map the background is purple. 

  • No labels