Overview

Imports time series data from files in text format.

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

Example

Here is an example:

Tva Kentucky Barkley example file

This file is also available for download in the attachments: table2.txt

Details of the import format

First line contains the date in format MM/dd/yyyy at positions 34 to 44.
Second line contains the dates of the week, this one is ignored

Then groups of lines per location follow

First group line contains the location and the first three letters of the days of the week, only the location is used
Second group line contains "LOCALS:", this line is ignored
The next group lines contain parameter at the first 10 characters, followed by the value for the first day at the next 6 character, followed by the next 6 days with 8 characters each

Location groups are read until the line that starts with "COMBINED" is found, then the parser is done

Java source code

TvaKentuckyBarkleyTimeSeriesParser.java

  • No labels