https://github.com/amirmardan/segy_loader

A tool for loading segy file and create a seis file

https://github.com/amirmardan/segy_loader

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.0%) to scientific vocabulary

Keywords

segy segyio seismic seismic-data seismic-processing
Last synced: 6 months ago · JSON representation

Repository

A tool for loading segy file and create a seis file

Basic Info
  • Host: GitHub
  • Owner: AmirMardan
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 8.47 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
segy segyio seismic seismic-data seismic-processing
Created about 1 year ago · Last pushed 11 months ago
Metadata Files
Readme

readme.md

Segy Loader

This is a package that allows me to load segy files and select the appropriate bytes for acquisition parameters and convert the data to a h5 file. This h5 file has a seis extension which can be loaded using load_seis (check the examples) and be manipulated easily.

Load a segy file

```python from pathloader import datapath # noqa: F401 from segyloader import loadsegy

load_segy() ``` segy_loader

After saving as a seis file, it can be loaded using segy_loader.io.load_seis which returns a Seis object with multiple functionalities.

```Python from segyloader.io import loadseis path = osp.abspath(osp.join(osp.dirname(file), "../data/seis/42.seis"))

data = load_seis(path) `` This only load theseisfile, butdata` allows easy data manipulation and sorting.

seismic

Examples are available in the Example folder.

Installation

  1. Install Python 3.11.6 bash pyenv install 3.11.6 If you don't have pyenv installed, use bash curl https://pyenv.run | bash first.

Using pyrpoject.toml

  1. Install Poetry and add it to your system's path. bash curl -sSL https://install.python-poetry.org | python3 -
  2. Add it to your system's path bash echo 'export PATH="$HOME/Library/Application Support/pypoetry/venv/bin:$PATH"' >> ~/.zshrc You can check if it is installed using poetry --version
  3. Create a virtual environment bash poetry env use python3.11.6
  4. Activate the virtual environment bash source $(poetry env info --path)/bin/activate
  5. Install requirements bash poetry install
  6. Call load_segy() bash python -c "from segy_loader import load_segy;load_segy()"

Using setup.py

  1. Create a virtual environemnt bash pyenv virtualenv 3.11.6 0_segy_loader_venv You can check the environments using pyenv virtualenvs or pyenv versions
  2. Activate the virtual environment bash pyenv activate 0_segy_loader_venv
  3. Install requirements bash python -m pip install -r requirements.txt
  4. Install segy_loader bash python -m pip install -e . or bash python -m pip install git+https://github.com/AmirMardan/segy_loader.git
  5. Call load_segy() bash python -c "from segy_loader import load_segy;load_segy()"

Owner

  • Name: Amir Mardan
  • Login: AmirMardan
  • Kind: user
  • Location: Québec
  • Company: @geo-stack

Postdoctoral researcher, working on applications of AI for processing seismic data and imaging the subsurface mardan.amir.h@gmail.com

GitHub Events

Total
  • Delete event: 19
  • Push event: 72
  • Public event: 1
  • Create event: 22
Last Year
  • Delete event: 19
  • Push event: 72
  • Public event: 1
  • Create event: 22

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 52
  • Total Committers: 3
  • Avg Commits per committer: 17.333
  • Development Distribution Score (DDS): 0.212
Past Year
  • Commits: 52
  • Committers: 3
  • Avg Commits per committer: 17.333
  • Development Distribution Score (DDS): 0.212
Top Committers
Name Email Commits
seismic[bot] g****] 41
seismic[bot] s****c@g****a 6
Amir Mardan 4****n 5
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago


Dependencies

pyproject.toml pypi
  • PySide6 ^6.8.2.1
  • PySide6_Addons ^6.8.2.1
  • PySide6_Essentials ^6.8.2.1
  • contourpy ^1.3.1
  • cycler ^0.12.1
  • dotenv ^0.9.9
  • fonttools ^4.56.0
  • h5py ^3.13.0
  • kiwisolver ^1.4.8
  • matplotlib ^3.10.0
  • numpy ^2.2.3
  • packaging ^24.2
  • pandas ^2.2.3
  • pillow ^11.1.0
  • pyparsing ^3.2.1
  • python 3.11.6
  • python-dateutil ^2.9.0.post0
  • python-dotenv ^1.0.1
  • pytz ^2025.1
  • segyio ^1.9.13
  • shiboken6 ^6.8.2.1
  • six ^1.17.0
  • tzdata ^2025.1
requirements.txt pypi
  • PySide6 ==6.8.2.1
  • PySide6_Addons ==6.8.2.1
  • PySide6_Essentials ==6.8.2.1
  • contourpy ==1.3.1
  • cycler ==0.12.1
  • dotenv ==0.9.9
  • fonttools ==4.56.0
  • h5py ==3.13.0
  • kiwisolver ==1.4.8
  • matplotlib ==3.10.0
  • numpy ==2.2.3
  • packaging ==24.2
  • pandas ==2.2.3
  • pillow ==11.1.0
  • pyparsing ==3.2.1
  • python-dateutil ==2.9.0.post0
  • python-dotenv ==1.0.1
  • pytz ==2025.1
  • segyio ==1.9.13
  • shiboken6 ==6.8.2.1
  • six ==1.17.0
  • tzdata ==2025.1
setup.py pypi
  • matplotlib *
  • numpy *