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

Compare with Current View Page History

« Previous Version 5 Next »

Overview

The URA import function (<importType>URA</importType>) imports external historical time series from a specific CSV files for FEWS Basque. Since the csv data is specified in local time format, a timezone has to be configured in the importer:

 

<importTimeZone>
<timeZoneName>CET</timeZoneName>
</importTimeZone>

 

  • These files are received each 15 minutes and included all the signals for that interval.
  • Their name gives the date and time.
  • Time is local (i.e. +2 hr GMT in summer and +1hr GMT in winter)
  • Each line of the file represents one signal
  • There are 4 fields per line separated by ; They are:
    • Code of station and signal.
    • The first 4 characters represent the code of the station (for example A074)
    • The last 5 characters represent the type of signal
      •  NRIO1: level in river in m;
      • QRIO1: discharge in river in m3/s,
      • PQUIN: precipitation in mm,
      • TEMPE: temperature in ºC;
      • NEMBA: level in reservoir;
      • VEMBA: volume in reservoir in hm3,
      • PORCE: percentage of filling in reservoir in %
    • Value of the signal. The “,” represents the decimal point
    • Quality of the signal:
      • BUENO/BUENA: good; FEWS quality flag: ORIGINAL_RELIABLE 
      • MALO/MALA: bad;  FEWS quality flag: ORIGINAL_DOUBTFUL 
      • NO DATO: no data;  FEWS quality flag: ORIGINAL_MISSING 

Example

 

A074L17NRIO1; 10/12/13  06:00; 0000,410; BUENA
A074L65QRIO1; 10/12/13  06:00; 0006,680; BUENA
A074L85PQUIN; 10/12/13  06:00; 0000,000; BUENA
A075L17NRIO1; 10/12/13  06:00; 0000,520; BUENA
A075L65QRIO1; 10/12/13  06:00; 0002,230; BUENA
A165L17NRIO1; 10/12/13  06:00; 0000,430; BUENA
A165L65QRIO1; 10/12/13  06:00; 0002,360; BUENA

Java source code

UraTimeSeriesParser

  • No labels