Skip to main content

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)

Table of built distributions (wheels) for pyseg2 1.4.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.4.7 This release

1 release file

1.4.6

1 release file

1.4.5

1 release file

1.4.4

1 release file

1.4.3

1 release file

1.4.2

1 release file

1.4.1

1 release file

1.4

1 release file

1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page