05.03.2014 Views

Nanometrics Data Formats Reference Guide

Nanometrics Data Formats Reference Guide

Nanometrics Data Formats Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 1: NMXP <strong>Data</strong> Format<br />

9 Trident<br />

10 Janus<br />

11-31 Reserved for future use<br />

1.4 Compressed data packet<br />

A data packet always consists of a timestamp header followed by n data bundles (where<br />

n is user defined). A timestamp bundle contains a sequence number, the time of the first<br />

sample, instrument ID (model and serial number), sample rate of packet and channel<br />

number, and the first sample.<br />

1.4.1 Compressed data packet header<br />

1 byte Packet type = 1 (bit 5 = 1 indicates the packet is being retransmitted)<br />

4 bytes Long seconds<br />

2 bytes Sub-seconds in 10,000th of a second<br />

2 bytes Instrument ID [bits 0-10 serial number, bits 11-15 model type]<br />

4 bytes Sequence Number<br />

1 byte Sample Rate, Channel # [bits 0-2 channel number, bits 3-7 sample rate]<br />

3 bytes X0 (first sample) as a 24-bit signed integer (LSB first)<br />

The instrument ID defines the instrument type transmitting the channel of data. Supported<br />

types are defined in section 1.3.<br />

The sample rate is an enumerated value:<br />

0 reserved 10 125 s/s<br />

1 1 s/s 11 200 s/s<br />

2 2 s/s 12 250 s/s<br />

3 5 s/s 13 500 s/s<br />

4 10 s/s 14 1000 s/s<br />

5 20 s/s 15 25 s/s<br />

6 40 s/s 16 120 s/s<br />

7 50 s/s 17 240 s/s<br />

8 80 s/s 18 480 s/s<br />

9 100 s/s 19-31 Reserved for future use<br />

1.4.1.1 Extended seismic data header<br />

If the first data bundle has 0 in the compression byte, indicating that all four compressed<br />

data fields are not used, the bundle is an extended seismic data header.<br />

1 byte extended header = 0<br />

4 bytes XO (first sample, 32 bit version of the same field in main header)<br />

1 byte status<br />

bit 0 channel 1 calibration in progress<br />

bit 1 channel 2 calibration in progress<br />

bit 2 channel 3 calibration in progress<br />

14602R4<br />

<strong>Nanometrics</strong> <strong>Data</strong> <strong>Formats</strong><br />

2003-11-07 <strong>Reference</strong> <strong>Guide</strong><br />

5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!