Introduction

The RAM export function exports time series in the Rhine Alarm Model format. The file is meant to contain daily time series of Level and Flow series for the Rhine River. Make sure the exported timeseriesSets have all the same length (relative View Period), this period may contain missing values.

The export function will first export all Level series, then all Flow series. Make sure the idMapping file converts all level series to a parameter ID named "Level" and all flow series to a parameter ID named "Flow". Example of an ID mapping file: IdExportRAM.

ID mapping
	<parameter internal="Q.fs" external="Flow"/>
	<parameter internal="H.fs" external="Level"/>
	<location internal="Andernach" external="ANDERNACH"/>
	<location internal="Lobith" external="LOBITH"/>
         ...........

There is a standard footer at the end of the file. This footer is as follows:

[Stuwen]
StuwProgrammaS285 = -1

[Haringvlietsluizen]
SluisProgrammaLPH84 = -1

[Dispersie]
DispersieBerekend = -1
DispersieWaarde = 5

An example of the export module instance Export_RAM.

Example

[Water Levels]
Date=05.02.2008 00.00
Variable=WaterLevel
"Station","Level"

[Water Levels]
Date=06.02.2008 00.00
Variable=WaterLevel
"Station","Level"
"Maxau",4.0780106
"Speyer",2.9005127
"Worms",1.4478912
"Mainz",2.7116013
"Kaub",2.0306778
"Koblenz",2.4764786
"Andernach",3.2620697
"Bonn",3.4753723
"Keulen",3.6934166
"Dusseldorf",3.3034477
"Ruhrort",4.706806
"Wesel",4.499606
"Rees",4.093315
"Lobith",10.248271
"Driel boven",7.5582066
"Amerongen boven",5.8657036
"Hagestein boven",2.7667627
"H-RN-0908",3.9794693

[Water Levels]
Date=07.02.2008 00.00
Variable=WaterLevel
"Station","Level"
"Maxau",4.3678207
"Speyer",2.9759445
"Worms",1.5724945

......
......

[Flows]
Date=05.02.2008 00.00
Variable=Flow
"Station","Flow"
"Rheinfelden",624.347

[Flows]
Date=06.02.2008 00.00
Variable=Flow
"Station","Flow"
"Maxau",777.0
"Speyer",860.47656
"Worms",1008.7158
"Mainz",1295.96
"Kaub",1444.0793
"Koblenz",1528.0868
"Andernach",2208.8018
"Bonn",2224.2356
"Keulen",2332.453
"Dusseldorf",2385.7227
"Ruhrort",2511.8423
"Wesel",2610.2185
"Rees",2735.6772
"Lobith",2766.772
"Driel boven",473.542
"Amerongen boven",474.09454
"Hagestein boven",488.70618
"H-RN-0908",662.99994
"Rheinfelden",586.232

[Flows]
Date=07.02.2008 00.00
Variable=Flow
"Station","Flow"

........
........


[Stuwen]
StuwProgrammaS285 = -1

[Haringvlietsluizen]
SluisProgrammaLPH84 = -1

[Dispersie]
DispersieBerekend = -1
DispersieWaarde = 5

Java source code

RamTimeSeriesSerializer.java

  • No labels