Versions Compared

Key

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

...

The activities section is used to define the area id and the source id. Both are used by the archive display to facilitate searching for data.  In the example above a time series set is configured. It is also possible to use a time series filter. If this is used then all the time series of a certain workflow which comply to that filter will be exported. If no workflow is configured then the current workflow is used otherwise the current (or last) run of the configured workflow is used.

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<exportArchiveModule xsi:schemaLocation="http://www.wldelft.nl/fews file:///c:/fews_trunk/xml-schemas/exportArchiveModule.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
					 xmlns="http://www.wldelft.nl/fews">
	<exportExternalHistoricalTimeSeriesToArchiveDatabase>
		<general>
			<relativePeriod start="-10" end="0" unit="day"/>
			<exportUnitConversionsId>UnitConversionDatabase</exportUnitConversionsId>
			<timeZoneName>CET</timeZoneName>
			<options>
				<double key="doubleKey" value="12"/>
			</options>
		</general>
		<activities>
			<areaId>myAreaId</areaId>
			<sourceId>mySourceId</sourceId>
			<workflowTimeSeriesSelection>
				<timeSeriesFilter>
					<parameterId>H.m</parameterId>
				</timeSeriesFilter>
			</workflowTimeSeriesSelection>
		</activities>
	</exportExternalHistoricalTimeSeriesToArchiveDatabase>
</exportArchiveModule>