SEG‑D Monitor Download

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.

  • about 25 minutes
  • a record map and a live QC demo
  • a 10-question quiz at the end

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.

General Header Block #1 - 32 bytes, mostly packed BCD. What the record is: the file number; the format code (bytes 3-4) - for example 8058 for 32-bit IEEE floating point, demultiplexed, or 8036 for 24-bit integers, demultiplexed; the date and time (year, day of the year, hour, minute, second); the manufacturer's code and serial number; the base scan interval, from 1/16 to 8 ms in binary steps; the record type and length (in steps of 0.512 s, up to 101.888 s); how many channel sets there are; and how many skew, extended and external header blocks follow.
General Header Block #2 and beyond - added by revision 1. An expanded file number for files past 9999; counts larger than 99 for channel sets and for extended and external header blocks; the SEG‑D revision number (bytes 11-12: 1 for this revision); the number of trailer blocks; and an extended record length in milliseconds. Block #3 holds the position of the source: source line number, source point number and an index.
Channel set descriptors - 32 bytes each, one for every channel set. A channel set is a group of channels that use identical recording parameters (the same record length and sample interval), identical processing parameters (the same filters and array forming) and, at sea, come from the same streamer. Each descriptor gives the set's start and end time, the number of channels, the channel type - seismic (0001), time break (0010), up-hole (0011), water break (0100), time counter (0101), external data (0110), other (0111), signature unfiltered (1000) or filtered (1001) - and its filters: alias filter frequency and slope, low-cut, notch filters.
Skew blocks - optional. 32-byte fields that record the sample skew of the channels, when the recording system measures it. When there are none, the general header says so with a zero.
Extended header - blocks of 32 bytes. Room for additional equipment parameters: whatever the recording system itself needs to write down. How many blocks there are is in General Header Block #1, or in block #2 when there are more than 99.
External header - blocks of 32 bytes. Room for additional user-supplied information: records that other systems hand to the recorder for each shot. On the vessels SEG‑D Monitor was built for, this is where the gun controller's record of every gun on the shot is written - and where the app reads it.
Traces - one for every channel, in order. Each begins with a demux trace header of 20 bytes: file number, channel set and trace number, how many trace header extensions follow, and a trace edit code (0 no edit, 1 a dead channel of a roll-on or roll-off spread, 2 a trace intentionally zeroed). Then come trace header extensions of 32 bytes each - revision 1 puts the receiver's line, point and index there, and the number of samples - and then the samples themselves, in the format the general header named.
General trailer - optional, new in revision 1. Blocks written after all the other data, for system faults, QC information, real-time navigation positions and timing. Writing them last gives the systems that produce them more time to deliver.

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‑DSEG‑Y
Written bythe recording system, in the fieldprocessing software, for exchange and archive
One file holdsone shot (a record)any number of traces: a shot, a line, a volume
Organised bychannel sets, each with its own descriptortraces, each with its own 240-byte header
Header numbersmostly packed BCD, some binarybinary 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:

Five steps: read and reformat; split the channel sets; add geometry; display and QC; process and write SEG-Y. 1 · ReadSEG‑D into thesoftware's ownformat 2 · Splitthe channel sets:auxiliary, near-field,streamer 3 · Geometrypositions fromSPS or P1/11 4 · Lookdisplay and QC:gathers, RMS,neighbours, spectra 5 · Go onprocessing, andSEG‑Y out The steps in blue are the ones the demo below lets you do.
  1. 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.
  2. 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.
  3. Add geometry. Source and receiver positions from the SPS or P1/11 files are attached to the traces.
  4. 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.
  5. 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.

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 documentation

Decimal 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 1

Steps 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 1

Last, 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 1

Fifteen 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, 2017

From 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 Support

8Quiz: what stayed?

Ten questions. Pick an answer and it is marked at once, with a line on why. Nothing you answer leaves this page.

  1. 1. Which format does a seismic recording system write in the field?
    Answer

    SEG‑D. It is the SEG's field-recording format; SEG‑Y is for exchange and archive, SPS and P1/11 carry positions.

  2. 2. In SEG‑D revision 1, where do you read the format code, the sample interval and how many channel sets follow?
    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.

  3. 3. What does the SEG‑D format code 8058 mean?
    Answer

    32-bit IEEE floating point, demultiplexed - one channel's samples together, trace by trace. 8036 would be 24-bit integers, demultiplexed.

  4. 4. What makes a group of channels one channel set?
    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.

  5. 5. Where does a SEG‑D revision 1 record keep information supplied by other systems, such as a gun controller's record of the shot?
    Answer

    The external header - blocks of 32 bytes for user-supplied information. The extended header is for the recording system's own equipment parameters.

  6. 6. How big is a SEG‑Y textual file header?
    Answer

    3200 bytes. Then come the 400-byte binary file header and, for every trace, a 240-byte trace header and its samples.

  7. 7. Why is a file that arrives "in SEG‑Y" checked before it is trusted?
    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.

  8. 8. In SPS, what are the S, R and X files?
    Answer

    Sources, receivers and the cross-reference - which receivers recorded which shot.

  9. 9. What is the first step when processing software takes in field data?
    Answer

    Reformatting. The headers are checked on the way in - file numbers, shot points, times.

  10. 10. A channel has a normal RMS level, but its trace is the opposite of its neighbours. What is it?
    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.

  1. SEG Field Tape Standards Subcommittee (1994). Digital field tape standards - SEG‑D, revision 1 (special report). Geophysics 59, 668-684.
  2. SEG: Technical standards - SEG‑D, SEG‑Y and the other standards, with their revisions.
  3. Wikipedia: SEG‑Y - history, revisions, structure and variants.
  4. World Oil (2017). SEG releases revision to SEG‑Y data-exchange format.
  5. cigsegy documentation: SEG‑Y headers - the 3200, 400 and 240-byte headers, and the numbering from byte 3201.
  6. Wikipedia: Shell Processing Support - the S, R and X files and their revisions.
  7. IOGP Geomatics Committee: The P-formats (P1/11, P2/11, P6/11).
  8. SLB: Omega processing and imaging.
  9. Oil IT Journal (2002). Landmark's SeisSpace.
  10. AspenTech: Aspen Echos.
  11. Shearwater GeoServices: Reveal software.
  12. Petrosys: GLOBE Claritas.
  13. RadExPro.
  14. Seismic Unix wiki, Center for Wave Phenomena, Colorado School of Mines.
  15. 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.
  16. Equinor: segyio.