BIN-Format: Difference between revisions

From BlueM
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Wave_nav}}
{{Wave_nav}}


The BIN (SYDRO binary) format is a proprietary binary format for timeseries developed by [http://www.sydro.de SYDRO Consult GmbH], which is used e.g. by the [http://www.talsim.de TALSIM] model.  
The BIN (SYDRO binary) format is a proprietary binary format for timeseries which is used by [[BlueM.Sim]] and [http://www.talsim.de TALSIM].  


Wave is able to import time series in bin format by calling methods exposed by the assembly <code>SydroZreNet.dll</code>, which in turn accesses methods exposed by <code>SyroZreI.dll</code>.
The BIN format consists of a header of 3 integers (4 bytes) that are always <code>3319</code>, <code>0</code> and <code>0</code>.


The bin format contains a sequence of dates and values. Error values are stored as <code>-9999.999</code>.
This is followed by the actual timeseries data arranged in pairs of a timestamp (8 bytes double) and a value (4 bytes single).


==Notes==
The timestamp is defined as hours since 01.01.1601.
Importing BIN files currently only works in the x86 version of Wave


[[Category:Wave]]
Error values are stored as <code>-9999.999</code>.
 
Wave can read and write BIN files.
 
[[Category:BlueM.Wave]]
[[Category:Timeseries formats]]
[[Category:Timeseries formats]]

Latest revision as of 02:39, 11 May 2020

Wave.png Wave | Development

The BIN (SYDRO binary) format is a proprietary binary format for timeseries which is used by BlueM.Sim and TALSIM.

The BIN format consists of a header of 3 integers (4 bytes) that are always 3319, 0 and 0.

This is followed by the actual timeseries data arranged in pairs of a timestamp (8 bytes double) and a value (4 bytes single).

The timestamp is defined as hours since 01.01.1601.

Error values are stored as -9999.999.

Wave can read and write BIN files.