Skip to content

Aleks-Canstrat/seisplot

 
 

Repository files navigation

seisplot

A utility for plotting SEG-Y files.

Project status

Release

Python version

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 create -n seisplot --file package-list.txt
source activate seisplot

Install one more dependency:

conda install -c obspy obspy

Running

Edit config.yaml to meet your requirements.

Run the script from the command line, for example:

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

This will use config.yaml make a PNG file in the same location, and with the same basic filename. To use a specific config file with another name or location, and to specify the output filetype — use PDF or SVG for fully scalable vector graphics instead of a raster — add the --out part:

python seisplot.py </path/to/infile.segy> --config config.yaml --out /path/to/result.pdf

You can specify a directory and seisplot will find files like *.sgy, *.SGY, *.segy, and *.SEGY in that directory. If you add the recursive flag, -R to the command line, seisplot will descend into subdirectories looking for SEG-Y files.

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

Credits

Made with love and silliness by Evan and Matt at Agile

About

Plots seismic, sorta

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%