The ELF data file format description
An example of 5 minutes file header (the first 64 bytes in ASCII): Stacja ELF ELA7b02.07.2008 11:401 3 T: 30.3000000000000000000000
Immediately after the end of the 64 byte ASCII header start sampled data: |
|
|
After 300 seconds of sampling the file is closed and the remaining part of the last sector of a file must be filled with zeros (0x00), because the next 5 minutes file will start at the next 512 bytes sector on data storage disc. This is an example of a termination of the 5 minutes ELF file (last 512 bytes sector): |
|
The last two bytes 0xCE33 = 52787 this is a counter of samples during 300 seconds. It means, a frequency of sampling is 52787 / 300 = 175.95 sample/sec simultaneously in both canals (ELA7 receiver only). |
ELA10 receiver data format (WERA system) The description of the data format applies to the previous type of receiver, (ELA7, 175.95 samples/sec), but the format has not changed, only the files are correspondingly larger. At the very end of the binary files there is a 4 byte number 00 04 10 5F (hex) which means the number of samples in a 5-minute file. 00 04 10 5F (hex) = 266335 (dec), 266335 / 300sec = 887.7833333... samples/sec (ELA10 receivers in WERA system) |
Sample code (Pascal) of ELF binary file decoding var Tapp : Array [0..1200000] of Byte; |