Page tree
Skip to end of metadata
Go to start of metadata

Csv file import. Format of the import:

SQN,32,2020-09-14T00:00+0000,AA93.0,AB65.0,AC37.0,)/109.2,)=106.7,BA690.5

Where the first column is the Plant abbreviation (SQN), and it is disregarded by the parser, the second column (32) is the location ID, the rest of the columns (varying number of them) are the data. The first two characters are the parameter ID, the rest is the value. Parameter id can contain symbols, such as (, , +. Times are in UTC.

Config example:

<?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>EDSHydrothermal</importType>
      <folder>$REGION_HOME$/import/EDSHydrothermal</folder>
      <idMapId>EDSHydrothermalMap</idMapId>
      </general>
   <timeSeriesSet>
      <moduleInstanceId>EDSHydrothermal</moduleInstanceId>
      <valueType>scalar</valueType>
      <parameterId>parameterId</parameterId>
      <locationId>LocationA</locationId>
      <timeSeriesType>external historical</timeSeriesType>
      <timeStep unit="hour"/>
      <readWriteMode>add originals</readWriteMode>
   </timeSeriesSet>
   </import>
</timeSeriesImportRun>


  • No labels