Skip to main content

No project description provided

Project description

PYSEGD3

Standalone package to read/write segd rev3 files in python

Install

From Pypi

pip install pysegd3

Form Github (sources)

git clone https://github.com/mlehujeur/pysegd3.git
python -m pip install -e pysegd3 

Usages

Load a segd rev 3 file

from pysegd3.readsegd3 import read_segd_rev3

for (trace_header, trace_data) in read_segd_rev3(segdfilename):
    print(trace_header)  # a python dictionnary built like obspy trace stats header
    print(trace_data)  # a numpy array

Load as an obspy stream

Obspy is not included in this package

pip install obspy
from pysegd3.readsegd3_as_obspy import read_segd_rev3_as_obspy

stream = read_segd_rev3_as_obspy(segdfilename)
print(stream)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysegd3-1.1.0-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file pysegd3-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pysegd3-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pysegd3-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 975f0913b9d9427cec005704ff31ab30fbb0c36ae39597f7a227fcfbc7b37dae
MD5 b370d79d9ba8ba2372523cba50da1a7d
BLAKE2b-256 7e67816f1fdc731c20aeb5610cc1296b195062418990aa08bc4e111b981c33fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page