Overview

Imports time series data from files in text format.

To use this import in FEWS configuration: <importType>TvaTransaction</importType>

Example

TvaTransaction.dat
PC00010163201312010000 10.06
PC00010163201311302345 10.06
PC00010163201311302330 10.06
PC00010163201311302315 10.06
PC00010163201311302300 10.06
PC00010163201311302245 10.06
PC00010163201311302230 10.06
PC00010163201311302215 10.06

This file is also available for download in the attachments.

Details of the import format

The first two characters define the parameter.
The third till tenth characters define the location id.
Characters 11 till 22 define the date and time in the format "yyyyMMddHHmm".
After the space the value is given with a (.) as decimal separator.

For example the first line of TvaTransaction has
-parameter id: "PC"
-location id: "00010163"
-date: "December 1th 2013"
-time: "00:00"
-value: 10.06

Java source code

TvaTransactionTimeSeriesParser.java

  • No labels