Lessons › Lesson 2
From the recorder to the screen
How a shot is written down in SEG‑D, how seismic data travels between companies in SEG‑Y, which other files come with it, what software processes it - and a first QC: read the file, split its channel sets, look.
1Why formats matter
Every shot becomes a file. The recording system on the vessel writes it; a processing centre reads it - often weeks later, often in another company, on other software. A format is the agreement on where every number sits, so that the reader finds the sample interval, the channel and the shot point exactly where the writer put them.
The formats of seismic data are open standards published by the Society of Exploration Geophysicists (SEG) through its Technical Standards Committee. Two matter most: SEG‑D, the format written in the field, and SEG‑Y, the format data is exchanged and archived in.
The idea to keepSEG‑D is how a shot is recorded. SEG‑Y is how seismic data travels. A processing system reads both into a format of its own.
2SEG‑D: the field record
SEG‑D is the SEG's field-recording format. This lesson follows revision 1, published in 1994 - the revision the app reads. Later revisions (3.0 in 2012 and 3.1 in 2015) add more, but the idea is the same.
One shot is one record. It begins with headers that describe the shot and the recording, then come the traces - one for every channel - and, optionally, a trailer. Most header values are written in packed BCD (binary-coded decimal): two decimal digits in each byte, so the year 94 is stored as the digits 9 and 4.
Inside a SEG‑D revision 1 record
Click a block to see what it holds. The blocks are in the order they are written.
The idea to keepA SEG‑D record describes itself: read the general header first and it tells you the format, the sample interval and how many channel sets and header blocks to expect - then every channel set descriptor tells you how its channels were recorded.
3SEG‑Y: the exchange format
SEG‑Y was developed in 1973 to store single-line seismic data on magnetic tape, and published in 1975. Revision 1 followed in 2002, revision 2.0 in 2017 - the first in fifteen years - and revision 2.1 in 2023. It has become the most popular format in seismic exploration: raw shots, processed gathers and final volumes all travel in it.
- The textual file header - 3200 bytes, 40 lines of 80 characters, written for a person to read: client, area, line, how the data was recorded and processed. Originally in EBCDIC, an IBM character code.
- The binary file header - 400 bytes of numbers about the whole file: the sample interval, the number of samples per trace, the sample format.
- The traces - each a 240-byte trace header (mostly two- and four-byte integers: shot point, channel, coordinates, offset…) followed by its samples. Revision 2.0 allows extra trace headers, traces of different lengths and optional XML textual headers for machines to read.
Because SEG‑Y grew up on IBM computers - EBCDIC text, IBM floating point - and the world moved to ASCII and IEEE numbers, many companies wrote their own variants. Data that arrives "in SEG‑Y" is therefore always checked before it is trusted.
SEG‑D and SEG‑Y side by side
| SEG‑D | SEG‑Y | |
|---|---|---|
| Written by | the recording system, in the field | processing software, for exchange and archive |
| One file holds | one shot (a record) | any number of traces: a shot, a line, a volume |
| Organised by | channel sets, each with its own descriptor | traces, each with its own 240-byte header |
| Header numbers | mostly packed BCD, some binary | binary integers |
| For a person to read | - | the 3200-byte textual header |
4The files that come with it
Seismic traces are useless without knowing where each source and receiver was. That travels in files of its own:
- SPS (Shell Processing Support) - plain text files first defined by Shell for sending seismic and positioning data to processing centres, and adopted by the SEG in 1993. Three files: S (sources), R (receivers) and X (the cross-reference: which receivers recorded which shot). The latest revision is 2.1 (2006). A survey's planned shot points - its preplot - often come in SPS.
- IOGP P1/11 - the positioning exchange format of the International Association of Oil & Gas Producers, successor of the SEG P1 format; its family includes P2/11 for raw positioning data and P6/11 for bin grids.
- Internal formats - every processing system reads SEG‑D and SEG‑Y into a format of its own, laid out for fast work. The open-source Madagascar package, for example, uses its "regularly sampled format", RSF.
5Processing software
Processing turns field records into a picture of the rocks. A few of the packages in use, as their makers or projects describe them:
- Omega (SLB) - land, marine and transition-zone data, 2D, 3D and 4D, time and depth.
- SeisSpace ProMAX (Halliburton Landmark) - processing for 2D, 3D, VSP and depth imaging.
- Aspen Echos (AspenTech) - 2D and 3D seismic processing and imaging.
- Reveal (Shearwater GeoServices) - towed-streamer, ocean-bottom and land data, from field QC to depth imaging.
- GLOBE Claritas (Petrosys) - seismic processing, among Petrosys's geoscience tools.
- RadExPro - processing on Windows, from real-time field QC to final stacks, with high-resolution marine work among its uses.
And open source, free to download and learn on:
- Seismic Unix - an open-source seismic processing package from the Center for Wave Phenomena, Colorado School of Mines.
- Madagascar - an open-source package for multidimensional data analysis and reproducible computational experiments, started in 2003 and released in 2006.
- segyio (Equinor) - a fast Python library for reading and writing SEG‑Y files.
Names and owners change; for what a package does today, ask its maker.
6A first QC, step by step
Whatever the software, the first steps with field data are much the same:
- Read and reformat. The software reads each SEG‑D record into its own internal format, and the headers are checked on the way: file numbers, shot points, times - a gap or a repeat is found here.
- Split the channel sets. One record holds sets with different jobs - and often different sample intervals and record lengths: auxiliary channels such as the time break and the source signature, the near-field hydrophones, the streamer's seismic channels. Each set is handled on its own.
- Add geometry. Source and receiver positions from the SPS or P1/11 files are attached to the traces.
- Display and QC. Look at the shot: a gather of traces, each channel's RMS level, how each trace compares with its neighbours, the spectrum. Dead, noisy and reversed channels show up here.
- Go on. Processing proper - and SEG‑Y out, for the next company or the archive.
Where the app comes inSEG‑D Monitor does steps 1, 2 and 4 on the vessel, for the source: it reads each SEG‑D record the moment it lands, takes the near-field hydrophones' channel set and the gun controller's record from the external header, and checks every gun and every hydrophone against its limits.
Try it: a first QC
A synthetic shot, made up for this page: three channel sets, as a record holds them. Every trace is drawn the SEG way (Lesson 1): a compression is a negative number - the near-field primaries go down, and in the streamer set the first break and the first echo start to the left. Pick a set. In the streamer set, three channels are faulty - click a trace, or type its number, to flag it.
The QC demo needs JavaScript; the steps above say what it shows.
7Interesting facts
Byte 3201
SEG‑Y's documents number the bytes of the 400-byte binary header from 3201, not 1 - they treat it as a continuation of the 3200-byte textual header before it.
cigsegy documentationDecimal digits in binary
Most SEG‑D header values are packed BCD: each half of a byte holds one decimal digit. A file number of 1234 is the bytes 12 and 34 - readable by eye in a hex dump.
SEG‑D revision 1Steps of 0.512 seconds
SEG‑D's general header codes the record length in steps of 0.512 s, from 0.512 to 101.888 s; revision 1 added an extended record length in milliseconds.
SEG‑D revision 1Last, on purpose
Revision 1's general trailer is written after all the other data, so that navigation and QC systems have more time to hand their information to the recorder.
SEG‑D revision 1Fifteen years
SEG‑Y revision 2.0, in 2017, was the first revision in fifteen years. It allows up to 232 − 1 samples in a trace and microsecond time stamps.
World Oil, 2017From Shell to the SEG
SPS began as Shell's own way of sending positions to its processing centres; the SEG adopted it as a standard in 1993.
Wikipedia: Shell Processing Support8Quiz: what stayed?
Ten questions. Pick an answer and it is marked at once, with a line on why. Nothing you answer leaves this page.
-
Answer
SEG‑D. It is the SEG's field-recording format; SEG‑Y is for exchange and archive, SPS and P1/11 carry positions.
-
Answer
General Header Block #1. The record describes itself from its first 32 bytes: format code, base scan interval, the number of channel sets and of the header blocks that follow.
-
Answer
32-bit IEEE floating point, demultiplexed - one channel's samples together, trace by trace. 8036 would be 24-bit integers, demultiplexed.
-
Answer
Identical recording and processing parameters and, for marine data, the same streamer cable. That is why the near-field hydrophones and the streamer are in different sets.
-
Answer
The external header - blocks of 32 bytes for user-supplied information. The extended header is for the recording system's own equipment parameters.
-
Answer
3200 bytes. Then come the 400-byte binary file header and, for every trace, a 240-byte trace header and its samples.
-
Answer
Variants. Born on IBM computers - EBCDIC text, IBM floating point - SEG‑Y was adapted by many companies to ASCII and IEEE in their own ways.
-
Answer
Sources, receivers and the cross-reference - which receivers recorded which shot.
-
Answer
Reformatting. The headers are checked on the way in - file numbers, shot points, times.
-
Answer
Reversed polarity. RMS does not see the sign; comparing each trace with its neighbours does. Try it in the QC demo.
9Sources and further reading
Every fact in this lesson comes from one of these. The drawings and the demo's data are the site's own.
- SEG Field Tape Standards Subcommittee (1994). Digital field tape standards - SEG‑D, revision 1 (special report). Geophysics 59, 668-684.
- SEG: Technical standards - SEG‑D, SEG‑Y and the other standards, with their revisions.
- Wikipedia: SEG‑Y - history, revisions, structure and variants.
- World Oil (2017). SEG releases revision to SEG‑Y data-exchange format.
- cigsegy documentation: SEG‑Y headers - the 3200, 400 and 240-byte headers, and the numbering from byte 3201.
- Wikipedia: Shell Processing Support - the S, R and X files and their revisions.
- IOGP Geomatics Committee: The P-formats (P1/11, P2/11, P6/11).
- SLB: Omega processing and imaging.
- Oil IT Journal (2002). Landmark's SeisSpace.
- AspenTech: Aspen Echos.
- Shearwater GeoServices: Reveal software.
- Petrosys: GLOBE Claritas.
- RadExPro.
- Seismic Unix wiki, Center for Wave Phenomena, Colorado School of Mines.
- Fomel, S., Sava, P., Vlad, I., Liu, Y. and Bashkardin, V. (2013). Madagascar: open-source software project for multidimensional data analysis and reproducible computational experiments. Journal of Open Research Software 1(1), e8.
- Equinor: segyio.