RepositoryPythonCACanada
agilescientific

agilescientific/seisplot

Plots seismic, sorta

112stars
43forks
25issues
1views

seisplot

A utility for plotting SEG-Y files <http://www.agilegeoscience.com/blog/2014/3/26/what-is-seg-y.html>_.

.. image:: https://img.shields.io/badge/status-beta-yellow.svg?style=flat-square :target: # :alt: Project status

.. image:: https://img.shields.io/badge/release-v0.4-green.svg?style=flat-square :target: # :alt: Release

.. image:: https://img.shields.io/badge/python-3.6%2B-blue.svg?style=flat-square :target: # :alt: Python version

.. image:: https://img.shields.io/badge/license-Apache_2.0-blue.svg?style=flat-square :target: http://www.apache.org/licenses/LICENSE-2.0 :alt: License

Installation

If you don't already have a reliable Python installation, and know how to wield it, I recommend downloading and installing Anaconda.

Get this repo with git or by downloading the ZIP file, and enter that directory.

Make and enter a virtual environment::

conda env create -n seisplot -f environment.yml
conda activate seisplot

If you prefer to use obspy instead of segyio for SEG-Y reading, you can then do::

conda install -c conda-forge obspy

Quick start

You can see what the thing does with::

./seisplot.py --demo

Running

Edit config.yml to meet your requirements.

Run the script from the command line, for example::

./seisplot.py </path/to/infile.sgy>

This will use the settings in config.yml to make a PNG file in the same location, and with the same basic filename.

The input filename can be any POSIX path specifier, so *.sgy will find all files with that extension. to recursively descend in to directories, use ** like so: data/**/*.sgy. To match multiple file extensions, try *.[s,S]*[g,G][y,Y] or {*.segy}{*.sgy} (exact results may depend on your platform).

To use a specific config file with another name or location add the --config option. To specify the output filetype — use PDF or SVG for fully scalable vector graphics instead of a raster — add the --out parameter::

./seisplot.py </path/to/infile.segy> --config myconfig.yml --out </path/to/result.pdf>

With --out you can specify an output file and seisplot will honour the filetype if the matplotlib backend you are using supports it. If you specify a directory, all the outout files will go there, using the SEG-Y file's name as the main part of the filename (for example, 31-08.sgy will give you 31-08.png in the output directory.

As in all things, stains are optional.

Example

.. image:: https://www.dropbox.com/s/7au3nlm7vrbwvf6/31_81_PR.jpg?raw=1

Recently added features

  • Uses segyio by default; obspy is still an option.
  • The ability to plot from 3D seismic, including a dual inline/crossline plot, and a timeslice.
  • An intersection line on dual inline/crossline displays for 3Ds.
  • You can specify min and max time for the plot(s).
  • Optional gridlines on the seismic plot.
  • A colourbar for variable density plots.
  • A highlight colour, applied to the histogram, spectrum, titles, and intersection lines.

Credits

Made with love and silliness by Evan and Matt at Agile <http://agilescientific.com>_

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
JintaoLee-Roger/cigvis

CIGVis is a tool for geophysical data visualization, which developed by Computational Interpretation Group (CIG)

151
Aug 13, 2026
RepositoryPython
yalaudah/facies_classification_benchmark

The repository includes PyTorch code, and the data, to reproduce the results for our paper titled "A Machine Learning Benchmark for Facies Classification" (published in the SEG Interpretation Journal, August 2019).

144
Nov 18, 2022
RepositoryPython
aradfarahani/awesome-geophysics

Awesome Geophysics is a community-curated resource offering essential tools, datasets, and educational materials for geophysical exploration. It’s designed to empower students, researchers, and professionals to analyze data, model Earth processes, and stay connected with the latest industry trends.

141
Nov 7, 2026
RepositoryPython
trhallam/segysak

SEGY Swiss Army Knife for Seismic Data

124
Aug 21, 2025
Repository
softwareunderground/awesome-open-geoscience

Curated from repositories that make our lives as geoscientists, hackers and data wranglers easier or just more awesome

1.9k
Nov 18, 2026
RepositoryJupyter Notebook
yohanesnuwara/GeoPySics

Python implementations in geophysical methods: seismic and gravity

105
Apr 22, 2026
RepositoryPython
matplotlib/matplotlib

matplotlib: plotting with Python

23.5k
Nov 27, 2026
RepositoryPython
rougier/scientific-visualization-book

An open access book on scientific visualization using python and matplotlib

11.7k
Jan 4, 2026
RepositoryPython
ranaroussi/quantstats

Portfolio analytics for quants, written in Python

7.9k
Nov 2, 2026