LWD Sonic Waveform Data



IODP-USIO logging contractor: LDEO-BRG

Hole: U1326A

Expedition: 311

Location: Cascadia Margin (NE Pacific)

Latitude: 48° 37.6350' N

Longitude: 127° 3.0289' W

Logging date: September 22-23, 2005

Water Depth (as seen on logs): 1838 mbrf

Total penetration: 300 mbsf



The LWD-SonicVision data were recorded by Schlumberger-Anadrill in DLIS format. Each of the four waveforms consists of 151 samples at depth intervals of 15.24 cm (6 inches) and 5.08 cm (2 inches). The DLIS format data is first loaded on a Sun system using GeoFrame software. The waveform data files are then converted into ASCII and finally binary format.

Each line of the binary files is composed of the entire waveform set recorded at each depth, preceded by the depth value. In the case of 4 waveforms with 151 samples per waveform, this corresponds to 1 + 4x151 = 605 columns. In this hole, the specifications of the files are:


Number of columns: 605

Number of rows: 5592 (5.08 cm sampling rate)

Number of rows: 1865 (15.24 cm sampling rate)


All values are stored as 32 bits IEEE floating point.
Any image or signal-processing program should be able to import the files and display the data.

The following binary files are available at Hole U1326A:

U1326A-2in.bin: 0-284.01 mbsf

U1326A-6in.bin: 0-284.01 mbsf


The binary files have been depth-shifted to the sea floor (-2203 m).


NOTE: For users interested in converting the data to a format more suitable for their own purpose, a simple routine to read the binary files would include a couple of basic steps (here in old fashioned fortran 77, but would be similar in matlab or other languages):

The first step is to extract the files dimensions and specification from the header, which is the first record in each file:
  open (1, file = *.bin,access = 'direct', recl = 50) <-- NB:50 is enough to real all fields
  read (1, rec = 1)nz, ns, nrec, ntool, mode, dz, scale, dt
  close (1)

The various fields in the header are:
      - number of depths
      - number of samples per waveform and per receiver
      - number of receivers
      - tool number (0 = DSI; 1 = SonicVISION; 2 = SonicScope; 3 = Sonic Scanner; 4 = XBAT; 5 = MCS; 6 = SDT; 7 = LSS; 8 = SST; 9 = BHC; 10 = QL40; 11 = 2PSA)
      - mode (1 = Lower Dipole, 2 = Upper Dipole, 3 = Stoneley, 4 = Monopole)
      - vertical sampling interval *
      - scaling factor for depth (1.0 = meters; 0.3048 = feet) *
      - waveform sampling rate in microseconds *
All those values are stored as 4 bytes integers, except for the ones marked by an asterisk, stored as 4 bytes IEEE floating point numbers.

Then, if the number of depths, samples per waveform/receiver, and receivers are nz, ns, and nrec, respectively, a command to open the file would be:
  open (1, file = *.bin, access = 'direct', recl = 4*(1 + nrec*ns))

Finally, a generic loop to read the data and store them in an array of dimension nrec × ns × nz would be:
  do k = 1, nz
    read (1, rec = 1+k) depth(k), ((data(i,j,k), j = 1,ns), i = 1,nrec)
  enddo

For any question about the data or about the LogDB database, please contact LogDB support: logdb@ldeo.columbia.edu.