Versions Compared

Key

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

...

The BroGldAdditionServer can import multiple XML files by specifying time series sets and a relativeViewPeriod. However, the BRO GLD doesn't have multiple parameters (in the FEWS sense) so the external BRO parameter will always be mapped to the specified internal parameterId. This also means that the timeSeriesSets should only hold 1 parameterId.

Code Block
xml
xml
<?xml version="1.0" encoding="UTF-8"?>
<timeSeriesImportRun 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/timeSeriesImportRun.xsd">
	<import>
		<general>
			<importType>BroGldAdditionServer</importType>
			<serverUrl>https://int-publiek.broservices.nl/gm/gld-v1.0</serverUrl>
			<relativeViewPeriod unit="day" start="-365" end="0"></relativeViewPeriod>
			<idMapId>IdImportBro</idMapId>
			<dataFeedId>BRO.GLD.Addition.server</dataFeedId>
			<expiryTime unit="day" multiplier="356"/>
		</general>
		<timeSeriesSet>
			<moduleInstanceId>ImportBROServer</moduleInstanceId>	
			<valueType>scalar</valueType>
			<parameterId>GW.m</parameterId>
			<locationSetId>Peilbuizen_BRO</locationSetId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="nonequidistant"/>
			<readWriteMode>read complete forecast</readWriteMode>
		</timeSeriesSet>
		<externUnit parameterId="GW.m" unit="cm+NAP"/>
	</import>
</timeSeriesImportRun>  

...