PYSEG2
Read/Write seg2 files in python This program is stand alone but it can export obspy streams in seg2 files.
Usage :
from pyseg2 import Seg2file
seg2 = Seg2File()
with open('./input_file.seg2', 'rb') as fid:
seg2.load(fid)
seg2.seg2traces = seg2.seg2traces[:2]
with open('output_file.seg2', 'wb') as fil:
fil.write(seg2.pack())
seg2re = Seg2File()
with open('output_file.seg2', 'rb') as fid:
seg2re.load(fid)
Metadata
Release files for pyseg2 1.4.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyseg2-1.4.7-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pyseg2-1.4.7-py3-none-any.whl
| Download URL | pyseg2-1.4.7-py3-none-any.whl |
|---|---|
| Size | 25.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
470de9651d0c166f40a5fa2169b5b1b02eeaa7aa5e35987dc9dc39e073f587ee
|
|
BLAKE2b-256 checksum How to use checksums |
063141c2397c38e6a0f9098787b3bbe854b6565c9f788c46d3992bd00aa42d33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|