Versions Compared

Key

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

...

The service providing the data can onlz only return 5 days worth of information in one call, but FEWS will loop through the configured period of timeand make several calls if it is necessary.

...

Code Block
languagexml
linenumberstrue
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2014 rel. 2 sp1 (http://www.altova.com) by Afdeling ICT (Stichting Deltares) -->
<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>UyUteTelemetric</importType>
			<serverUrl>http://aplicaciones.ute.com.uy/GestEmbPublico/service.asmx</serverUrl>
			<!--         this field is not used, but it is necessary to be able to configure connection timout-->
			<backupServerUrl>http://aplicaciones.ute.com.uy/GestEmbPublico/service.asmx</backupServerUrl>
			<!--         if this field is not configured, it will be set at 2000 automatically. -->			
			<connectionTimeOutMillis>1000000</connectionTimeOutMillis>
			<user>username<<user>dummy_username</user>
			<password>password<<password>dummy_password</password>
			<relativeViewPeriod unit="day" start="-5" end="1" startOverrulable="true" endOverrulable="true"/>
			<idMapId>UyUteTelemetricMap</idMapId>
			<missingValue>-999.0</missingValue>
			<importTimeZone>
				<timeZoneOffset>-03:00</timeZoneOffset>
			</importTimeZone>
			<dataFeedId>UTE</dataFeedId>
			<expiryTime unit="day" multiplier="90"/>
		</general>
		<timeSeriesSet>
			<moduleInstanceId>UyUteTelemetric</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>P.obs</parameterId>
			<locationId>LocA</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
			<synchLevel>1</synchLevel>
		</timeSeriesSet>
		<timeSeriesSet>
			<moduleInstanceId>UyUteTelemetric</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>P.obs</parameterId>
			<locationId>LocB</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
			<synchLevel>1</synchLevel>
		</timeSeriesSet>
		<timeSeriesSet>
			<moduleInstanceId>UyUteTelemetric</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.obs</parameterId>
			<locationId>LocA</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
			<synchLevel>1</synchLevel>
		</timeSeriesSet>
		<timeSeriesSet>
			<moduleInstanceId>UyUteTelemetric</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.obs</parameterId>
			<locationId>LocB</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
			<synchLevel>1</synchLevel>
		</timeSeriesSet>
	</import>
</timeSeriesImportRun>


...