Documentation / Seismic processing (pre-stack)

Seismic processing (pre-stack)

From pre-stack gathers to a migrated post-stack survey: load the gathers, set a modern flow and preview it on a gather, pick velocities on semblance, and run it over the whole dataset on the server.

Gathers to a migrated stack, in four steps

Processing → Gathers, Flow, Velocities, Run & results.

  • 1 · Gathers. Import a pre-stack SEG-Y (shot or CMP gathers with offsets in the headers) as a survey: the server reads the headers, sorts the traces into CMP gathers by bin and offset, picks a first stacking-velocity function on supergathers (in marine data it finds the sea floor and refuses water-velocity multiples below it) and makes a brute stack. The survey's gathers then appear here with their grid, fold, offsets, sample rate and that automatic velocity; any gather can be shown by IL / XL.
  • 2 · Flow. One ordered list of steps, each with a switch and its parameters, starting from a marine or land template. The pre-stack part runs in the browser on the gather you are looking at, raw and processed side by side, so each change can be judged before a run.
  • 3 · Velocities. Semblance of a supergather (3 × 3 bins in 3D, 9 along a 2D line) over time and velocity, with the automatic function dashed over it. Click peaks to pick; the NMO-corrected supergather beside it shows at once whether the picks flatten the reflections. Picks are saved per location and interpolated between locations in the run.
  • 4 · Run & results. Name the result, choose the automatic or the picked velocities, check the flow and the estimated time, and run it on the server. Progress shows stage by stage; the result is a new post-stack survey (migrated, with near, mid and far partial stacks) that opens in Seismic, Basemap and every interpretation tool. Run again sends the current flow into the same result survey.
  • Advanced tools keeps the stage-by-stage panels: datasets and jobs, the gather browser, registering pre-stack data the older way (below), headers and geometry, gather and demultiple QC, stage QC, the attributes lab and SAM interpretation.

The processing flow

What each step does, in the order it runs.

StepWhat it doesMain parameters (default)
Trace edit & despikeZeros isolated spikes (samples above k × the trace's RMS over the surrounding half second, which no reflection reaches), then kills dead traces and traces far noisier than their gatherk = 8; kill above 5 × gather RMS
Low cut (debias)Takes off each trace's mean, then cuts swell and other very low frequencies, zero phaseoff (on in the Marine template), 1.5–3 Hz
Deghost (1D)The inverse of the sea-surface echo at the source and streamer depths, for vertical travel, so far offsets are only partly corrected. Real notches are shallower than a perfect surface gives, so the surface reflection is set below 1: on a real 5 m source, 8 m streamer dataset, 0.6 flattened the first notch and 0.8 overshot itoff: enter your tow depths first; reflection 0.6, 12 dB at most
Top muteRemoves direct and refracted arrivals above t₀ + offset ÷ v, with a taper40 ms, 1600 m/s (marine 1500), 30 ms taper
GainSpherical divergence t · v(t)² with the stacking velocity, or tⁿt · v²
DeconvolutionPredictive Wiener deconvolution, one operator per gather from its average autocorrelation (gather-consistent); gap of one sample = spiking160 ms operator, 16 ms gap, 0.5 % white noise, whole trace
Band-passZero-phase Ormsby trapezoid4–8–60–80 Hz
NMOHyperbolic moveout with the picked or automatic velocities, stretch mute30 % stretch, 100 % velocity
Radon demultipleParabolic Radon after NMO (damped least squares per frequency): events with residual moveout beyond the cut are modelled and subtracted. Thorough but the slowest stepoff (on in the marine template); keep below 30 ms
Q compensation (phase)Undoes constant-Q dispersion in overlapping time windowsoff: enter your survey's Q first
Trim staticsNudges NMO-corrected traces onto their gather's stack, window by window, by whole samples, only where that clearly improves the matchoff (on in the Marine template), 8 ms at most, 1000 ms windows
StackFold-normalised sum of each gather; near, mid and far partial stacks by offset thirdsalways on
F-X noise attenuationF-X prediction filtering (forward and backward, in overlapping windows) along inlines and crosslines4–70 Hz, 4-trace filter, 24-trace windows
Time migrationPost-stack time migration. Phase shift (Gazdag) downward-continues with the interval velocity of every sample, exact for a velocity that changes with time; Stolt (f-k) with Stolt's stretch is several times faster. 3D is migrated along inlines, then along crosslinesphase shift, 100 % of the stacking velocity, bin size from the bin coordinates
Post-migration band-passA final band-pass for migration noiseoff
Q compensation (amplitude)Restores the high frequencies constant Q absorbs, with a capped gainoff: enter your survey's Q first; 18 dB at most
Time-variant filterA shallow band down to one time, a deep band from another, blended betweenoff (on in the Marine template)
Time-variant scalingLevels energy with time, by one curve from the whole volume so relative amplitude staysoff (on in the Marine template), 500 ms
Spectral whiteningEvens out the spectrum in bands, time by time, with one set of gains from the whole volume. It lifts noise toooff, 6–60 Hz, 6 bands

Marine sequence and Land sequence, on the Flow tab, list typical sequences from field tapes to SEG-Y (31 and 20 steps) and what each step comes to here: in the flow, in a simpler form, done before loading, or not in PetriSeis yet. Field-tape reading happens before loading, and marine data starts from navigation-merged SEG-Y at step 4. Designature, migration and SRME are simpler than a contractor's, and each line says how: migration is post-stack, and SRME runs on one gather under Demultiple QC, not over a dataset. On land, statics, surface-consistent amplitude and ground-roll removal are one-gather tools under Stage QC, and first-break picking isn't built. Resampling, tidal statics, receiver motion correction, trace decimation, regularization, footprint attenuation, residual moveout, post-migration Radon and the shallow-water methods aren't built either.

Export SEG-Y writes a survey's volume to a file: from a finished run on the Run tab, the download icon in the survey list, or Seismic volume under Export in the data dialog. The server writes it, it stays there until you export that volume again, and the dialog shows it when you come back. A survey with variants exports one at a time, such as near, mid or far, or an AVO attribute. The file is SEG-Y rev 1 in big-endian IEEE float, with inline at byte 189, crossline at 193, CDP X and Y at 181 and 185 and their scalar at 71, and its text header says so. Every bin of the grid gets a trace, and empty ones are dead traces of zeros, so the file is the same rectangle as the survey. Volumes are stored as 16-bit floats, so amplitudes keep about three significant digits; on Kerry 3D the difference from the loaded file was 0.02% of the RMS. A survey loaded from SEG-Y still has that original file. X and Y come from the survey's fitted grid, not each trace's original header: on Kerry 3D they stayed within 1.8 m of the headers. A run's result takes them from the survey it was run from. Exporting needs Owner or Editor rights.

The flow is kept per dataset in this browser. The editor flags settings that can't work (band-pass corners out of order or above Nyquist, Radon without NMO, a decon gap longer than its operator) and Run waits until they are fixed.

Methods and limits

What the server does exactly, and what it doesn't.

  • Migration is post-stack time migration of the stacked volume with one velocity function, v(t): the mean of the picked functions (or the automatic one) scaled by the migration velocity percentage. It handles dips and diffractions well where velocity varies mainly with time; strong lateral velocity changes need pre-stack depth migration, which is not done here.
  • Two-pass 3D migration (inlines, then crosslines) is exact for a constant velocity and accurate for v(t) at moderate dips. Bin spacing comes from the bin-centre coordinates recorded when the gathers were loaded; set it in the Migration step when those coordinates are missing or wrong (25 × 25 m is assumed otherwise, and the run says so).
  • Deconvolution assumes a minimum-phase wavelet, as dynamite and air-gun sources are close to; a zero-phase (already processed) wavelet comes out with its peak shifted.
  • Stacking velocities: the run uses the picked functions when you choose them (each needs two or more picks), interpolated between locations by inverse distance; otherwise the automatic function from loading. Gathers whose NMO was already applied in the file are stacked as they are.
  • Amplitudes are stored at a scale chosen from the processed data, so they compare within the result, not with the raw file.
  • Every result records its flow, the velocities used, the bin size, notes (traces killed, assumptions) and the time each stage took; the Run & results list shows them.

Advanced: registering pre-stack data the older way

Uploads with a byte map, remote URLs and demo data (Advanced tools → Register pre-stack data).

Most data should be imported as a survey (step 1 above), which the server sorts into gathers by itself. The older registration remains for files that need a hand-set byte map, data that stays in a remote object store, and the demo. A pre-stack dataset always attaches to a parent (post-stack) survey, so select that survey first; registration fails without it.

  • Upload — pick a .sgy/.segy shot or CDP gather file. The browser scans trace headers locally first (no full parse), then the file is uploaded through a signed URL straight to project storage, bypassing any app-server size limit.
  • Remote URL — point at a file that already lives in an HTTP object store. Nothing is copied; the server reads it with byte-range requests. This is the path for terabyte-scale volumes on B2/S3.
  • Demo — registers a small synthetic gather set so you can exercise the workflow without data.

The local scan reads the binary header and a sample of trace headers only. It reports sample count, sample interval, format code, estimated trace count, average fold and offset range so you can confirm the byte map before committing.

Trace header byte map

Telling PetriSeis where geometry lives in your headers.

Defaults follow SEG-Y Rev 1. Vendor and contractor files often relocate geometry words, so every field is editable before scanning and is stored with the dataset for re-indexing.

FieldDefault byteUsed for
Inline189Gather location / map position
Crossline193Gather location / map position
CDP21Primary gather key
FFID9Shot record identity
Shot point17Shot numbering / QC
Source X / Y73 / 77Source geometry
Group X / Y81 / 85Receiver geometry
Offset37Source–receiver distance, NMO
Coord scalar71Scaling applied to all coordinates

If fold looks like 1 or offsets are all zero after indexing, the byte map is wrong — fix it and re-index rather than re-uploading.

Indexing — how the module picks the file up

The step that turns a raw file into randomly addressable gathers.

Press Index on the registered dataset. A server function streams the file in 4 MB ranged reads and parses only the first 240 bytes of each trace, so the sample data is never transferred.

  • Traces are aggregated per CDP into a gather index: fold, offset min/max, mean azimuth, CDP X/Y and the byte offset of the gather's first trace.
  • Status moves registered → indexing → indexed. Errors are written back to the dataset row with the failing message.
  • A stride option samples every Nth trace for very large volumes — faster indexing at coarser fold statistics.
  • Re-indexing clears the previous gather index, so it is safe to re-run after changing the byte map.

Only after status reaches 'indexed' do the downstream processing panels see the dataset. Random gather access afterwards is one ranged read per gather — no re-scan of the volume.

Using gathers downstream

Geometry QC, velocity picking and stacking.

  • Geometry QC — fold maps, offset and azimuth distributions and CDP coverage, all read from the gather index rather than the file.
  • Velocities — picked on real semblance in step 3 (see above); picks are stored per inline / crossline location and used by the run.
  • Stacking, migration and the rest of the flow — run on the server from step 4; the result is its own post-stack survey for attributes and interpretation.

Deleting a pre-stack dataset removes its gather index and, for uploaded files, the stored SEG-Y. Remote-URL datasets only lose their index; the source file is untouched.