You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview

Imports time series data from files in Hymos ASCII format with five header lines containing a description of the time series:

  • The first line contains keyword "FIXE"
  • The second line contains the keyword "PAR" as the first field and then the IDs for the locations for which the time series are given. These IDs are the external IDs, found in an ID map.
  • the 3rd line is the number of time series in the file (= number of value columns)
  • fourth line (if 3rd line is "1") and further lines (if 3rd line is "2" or more) start with locationId
  • All other lines contain the time (in yyyy mm dd HH MM format) as the first field and the values for each time series in the next fields.


Import type

The import type is HymosAscii. There is no particular file extension required.

Example

Here is a simple example:

FIXE
PAR
1
NOOR HH4 418 8
2008 1 1 0 2 6048 1 1 114.906
2008 01 01 00 15 0.478
2008 01 01 00 30 0.478
2008 01 01 00 45 0.478
2008 01 01 01 00 0.478
2008 01 01 01 15 0.478
2008 01 01 01 30 0.478
2008 01 01 01 45 0.478

Details of the import format

If the first line contains a comma, the decimal separator is taken to be a period (.), otherwise it is supposed to be a semicolon (;) and the decimal separator is taken to be a comma. This way locale-specific CSV files are supported.

The field separator is either a comma or a semicolon. Tabs are not supported.

  • No labels