Overview

Imports time series data in ASCII format from the Landes Umwelt Baden Wurtenberg Forecasting Centre in Germany. The LUBW files contain a single parameter for a single location. The parameter follows implicitly from the file extension; eg. in the file MAXAU.QVHS the parameter is the file extention QVHS (discharge). The first line in the file is a header with information on the location and data period in the file.

Configuring the Import

The reader is named LUBW which should be configured in the general section of the import. An example import configuration is shown below:

<?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>LUBW</importType>
			<folder>$IMPORT_FOLDER_LUBW$</folder>
			<idMapId>IdImportLUBW</idMapId>
			<unitConversionsId>ImportUnitConversions</unitConversionsId>
			<importTimeZone>
				<timeZoneOffset>+01:00</timeZoneOffset>
			</importTimeZone>
		</general>
		<timeSeriesSet>
			<moduleInstanceId>ImportLUBW</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.fx</parameterId>
			<locationSetId>LUBW_Rijn</locationSetId>
			<timeSeriesType>external forecasting</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
			<synchLevel>1</synchLevel>			
		</timeSeriesSet>
		<timeSeriesSet>
			<moduleInstanceId>ImportLUBW</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>Q.fx</parameterId>
			<locationSetId>LUBW_Rijn</locationSetId>
			<timeSeriesType>external forecasting</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
			<synchLevel>1</synchLevel>			
		</timeSeriesSet>
		<externUnit parameterId="H.fx" unit="cm"/>
	</import>
</timeSeriesImportRun>

An example IdMapping file (that maps the location and parameter Ids of the also attached example input file) is shown below:

<?xml version="1.0" encoding="UTF-8"?>
<idMap version="1.1" xmlns="http://www.wldelft.nl/fews" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://nffs.wldelft.nl/schemas http://nffs.wldelft.nl/schemas/idMap.xsd">

<map internalParameter="H.fx" internalLocation="H-RN-0689" externalParameter="WVHS" externalLocation="QMAXAU_ARIMA"/>
<map internalParameter="Q.fx" internalLocation="H-RN-0689" externalParameter="QVHS" externalLocation="QMAXAU_ARIMA"/>

</idMap>

The file format (Example: MAXAU.QVHS)

K_MAXAU  *03.01.2009 T0=0 DT=1 N=462 KM=999.99 MODUL(208) VT=15.01.09-05:00
  736.00  736.00  736.00  728.00  725.00  721.00  721.00  721.00  721.00  721.00
  725.00  732.00  732.00  736.00  743.00  747.00  755.00  751.00  755.00  758.00
  762.00  762.00  762.00  766.00  762.00  762.00  762.00  758.00  758.00  755.00
  755.00  751.00  751.00  747.00  743.00  740.00  732.00  728.00  725.00  717.00
  717.00  717.00  713.00  710.00  710.00  710.00  710.00  706.00  703.00  699.00
  ............

NOTE :

  1. All the columns in text file will be separated by space " " character
  2. The parameter id used for mapping must always be configured in upper case in the ID mapping configuration file.
  3. The Header line in the example file contains the following information:
    1. K_MAXAU is the location Id
    2. *03.01.2009 is the date of first data element in file
    3. N=462 are the number of data elements in file
    4. VT=15.01.09-05:00 is the external forecast time
  • No labels