Skip to content

equinor/segyio-notebooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

segyio-notebooks

Interactive notebooks with examples and tutorials using the segyio library for reading, manipulating and writing SEG-Y files.

Index

Overview

In order to ensure that everyone can run the notebooks and produce the expected results, each notebook (or set of notebooks sharing a common Python environment) has to be placed in a subdirectory within the notebooks directory alongside with a requirements.txt and/or environment.yml file to be used to create the same virtualenv and/or condaenv used by the author of the notebook.

Tutorials

Tutorials are organized in subfolders of the notebooks directory as follows:

Basic

  • 01 - Basic tutorial - demonstrate how to read two F3 seismic volumes as NumPy arrays; manipulate the similarity to create a discontinuity/fault volume; create a fault mask and display a couple of amplitude time slices with superimposed faults; write the fault volume to SEG-Y file using re-using the headers from the input file.

  • 02 - Segy quicklook - demonstrate how to transfer binary and trace headers in pandas dataframes and visualize headers and data with matplotlib

  • 03 - Basic Segy editing - demonstrate how to perform manipulations of traces length, both resampling and cutting.

PyLops

Data

Data are organized in subfolders of the data directory. Subfolders should have the same name of the corresponding folders in the notebooks tree. Note that some files may exceed the size allowed by github. In that case it is required to provide a set of instructions in the notebook on how to download the file and it will be assumed that the file will be placed by the user in the correct subdirectory of data.

Basic

PyLops

The seismic cube used in this example is too big to be included in this repo. A set of commands to download the file and place it in the data directory is provided within the notebook.

Run the notebooks interactively in Binder

To open and run notebooks interactively in an executable environment, just click the button below.

Binder

About

Notebooks with examples and demos of segyio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •