https://github.com/amirmardan/segy_loader
A tool for loading segy file and create a seis file
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
Repository
A tool for loading segy file and create a seis file
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
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()
```

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.

Examples are available in the Example folder.
Installation
- Install Python 3.11.6
bash pyenv install 3.11.6If you don't havepyenvinstalled, usebash curl https://pyenv.run | bashfirst.
Using pyrpoject.toml
- Install
Poetryand add it to your system's path.bash curl -sSL https://install.python-poetry.org | python3 - - Add it to your system's path
bash echo 'export PATH="$HOME/Library/Application Support/pypoetry/venv/bin:$PATH"' >> ~/.zshrcYou can check if it is installed usingpoetry --version - Create a virtual environment
bash poetry env use python3.11.6 - Activate the virtual environment
bash source $(poetry env info --path)/bin/activate - Install requirements
bash poetry install - Call
load_segy()bash python -c "from segy_loader import load_segy;load_segy()"
Using setup.py
- Create a virtual environemnt
bash pyenv virtualenv 3.11.6 0_segy_loader_venvYou can check the environments usingpyenv virtualenvsorpyenv versions - Activate the virtual environment
bash pyenv activate 0_segy_loader_venv - Install requirements
bash python -m pip install -r requirements.txt - Install
segy_loaderbash python -m pip install -e .orbash python -m pip install git+https://github.com/AmirMardan/segy_loader.git - 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
- Website: amirmardan.github.io
- Repositories: 8
- Profile: https://github.com/AmirMardan
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
Top Committers
| Name | 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
- 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
- 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
- matplotlib *
- numpy *