Skip to content

Investigate use of seisio as alternative backend #142

@trhallam

Description

@trhallam

You could try to read the SEG-Y file using my seisio package, which gives complete control over the trace headers via a JSON configuration file, e.g., seisio.input(segy_file, thdef="my_trhead_def.json"). The only constraint is that the combination of byte locations and types in the definition of the trace header must be continuous (no gaps or overlaps allowed) and amount to 240 bytes in total (although the software would even allow you to read trace headers of other lengths, but this would violate the SEG-Y standard completely ;-)). Reading the data set from disk using "seisio" will give you a Numpy structured array, which you could easily turn into an Xarray for further processing with SEGY-SAK.

Originally posted by @ThomasHertweck in #139 (comment)

The seisio package has some useful features for dealing with irregular headers and may improve performance in reading segy. Additionally the segyio package is not being updated and maintained actively by Equinor. It may be worth investigating whether seisio can serve as a drop in replacement for segyio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions