| Date | 2013-09-06 |
| Version | 1.1.0 |
| Item | Type | Description |
|---|---|---|
| type | UInt32 | The type of this packet |
| length | UInt32 | The length of the packet in bytes |
| streamlet | UInt32 | The streamlet number of this packet |
| sequence | UInt32 | The stream packet sequence number |
| checkSum | UInt32 | Block checksum (header and data - checksum field) |
| startTime | TimeStamp | The start time. At microsecond accuracy |
| endTime | TimeStamp | The end time. At microsecond accuracy |
| Item | Type | Description |
|---|---|---|
| year | UInt16 | The year |
| yearDay | UInt16 | The day of the year |
| hour | UInt8 | The hour |
| minute | UInt8 | The minute |
| second | UInt8 | The second |
| spare | UInt8 | Spare padding entry |
| microSecond | UInt32 | The microsecond field |
| Item | Type | Description |
|---|---|---|
| type | UInt32 | The type of this packet |
| length | UInt32 | The length of the packet in bytes |
| streamlet | UInt32 | The streamlet number of this packet |
| sequence | UInt32 | The stream packet sequence number |
| checkSum | UInt32 | Block checksum (header and data - checksum field) |
| startTime | TimeStamp | The start time. At microsecond accuracy |
| endTime | TimeStamp | The end time. At microsecond accuracy |
| numItems | UInt32 | The number of items |
| items[] | Item | A list of items |
| Item | Type | Description |
|---|---|---|
| nameLen | UInt32 | The length of this entry |
| nameStr[] | UInt8 | The Item's name in null terminated ASCII |
| valueLen | UInt32 | The length of the value field |
| valueStr[] | UInt8 | The Item's value in null terninated ASCII |
| Item | Type | Description |
|---|---|---|
| type | UInt32 | The type of this packet |
| length | UInt32 | The length of the packet in bytes |
| streamlet | UInt32 | The streamlet number of this packet |
| sequence | UInt32 | The stream packet sequence number |
| checkSum | UInt32 | Block checksum (header and data - checksum field) |
| startTime | TimeStamp | The start time. At microsecond accuracy |
| endTime | TimeStamp | The end time. At microsecond accuracy |
| numChannels | UInt32 | The number of channels |
| numSamples | UInt32 | The number of samples |
| channelNum |
UInt32 | The number of the first channel within this data block |
| segmentNumber |
UInt32 | The segment number of this data block |
| packFormat | UInt8 | The Sample packaging format: Sample Multiplexed, Channel Multiplexed Canadian Compression |
| sampleFormat | UInt8 | The sample format: Int16, Int32, Float32 |
| info | Name/Value pairs | Packet Meta Data |
| data[] | UInt8 | The raw data |
| Item | Type | Description |
|---|---|---|
| number | UInt32 | The number of following name/value pairs |
| nameLen | UInt32 | Length of the following name string |
| nameStr[] | UInt8 | The ASCII name field, null terminated |
| valueLen | UInt32 | Length of the following value string |
| valueStr[] | UInt8 | The ASCII name field, null terminated |
| ... The next Name/Value pair ... |
| Item Name | Description |
|---|---|
| bds.version | The BDS File Version |
| bds.format | The BDS format (BDS-SM or BDS-CM) |
| startTime | The start time of the following data. |
| endTime | The end time if a file format (not in streamed data) |
| array | The Array the data is from if only from a single array |
| description | Some description |
| channels.number | The number of channels |
| channels.synchronous | A boolean defining if the channels are synchronously sampled |
| channel1.startTime | The start time |
| channel1.endTime | The end time |
| channel1.network | The network the data is from |
| channel1.station | The station the data is from |
| channel1.channel | The channels identifier name |
| channel1.source | The data source, "Master" is the normal. |
| channel1.type | The channels type (BHZ etc) |
| channel1.auxId | The auxillary or loaction ID. |
| channel1.sampleRate | The channels sample rate |
| channel1.sampleFormat | The sample format Int16, Int32, Float32 etc |
| channel1.streamlet | The streamlet this channels data is in. (Multiple channels will share a streamlet in Sample Multiplexed mode) |
| Item | Type | Description |
|---|---|---|
| type | UInt32 | The type of this block (Magic number) |
| length | UInt32 | The length of the complete block in bytes |
| packetOffset | UInt32 | The offset in bytes to the next packet header within the block |
| data[] | The raw packet data |