Versions Compared

Key

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

...

Code Block
languagexml
<?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>generalCSV</importType>
			<folder>$IMPORT_FOLDER$/Import_comments</folder>
			<fileNamePatternFilter>*.csv</fileNamePatternFilter>
			<failedFolder>$IMPORT_FAILED_FOLDER$/Import_comments</failedFolder>
			<deleteImportedFiles>false</deleteImportedFiles>
			<table>
				<dateTimeColumn name="DATE" pattern="dd-MM-yyyy HH:mm"/>
				<commentColumn name="COMMENT"/>
				<valueColumn name="VALUE"/>
			</table>
			<idMapId>IdImportOBS</idMapId>
		</general>
		<timeSeriesSet>
			<moduleInstanceId>Import_comments</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>Comment</parameterId>
			<locationId>Comment_loc</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="nonequidistant"/>
			<readWriteMode>add originals</readWriteMode>
			<synchLevel>1</synchLevel>
			<expiryTime unit="year" multiplier="5"/>
		</timeSeriesSet>
	</import>
</timeSeriesImportRun>
  


With idImportOBS:

Code Block
languagexml
<?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://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/idMap.xsd">
	<enableOneToOneMapping/>
</idMap>



Step 3:
In the RegionConfigFiles add the new parameterId to the parameters.xml and add the timeseries to the filters.xml

...