Skip to content

Commit

Permalink
added ability to read SEGY file version 0.0 (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjgirard authored Jan 10, 2025
1 parent bc1a02f commit f359c8c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dascore/io/segy/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ def write(self, spool: dc.Patch | dc.BaseSpool, resource, **kwargs):
_write_segy(spool, resource, self.version, segyio)


class SegyV0_0(SegyV1_0): # noqa
"""
An IO class supporting version 0.0 of the SEGY format.
Or if the version is not set.
"""

version = "0.0"


class SegyV2_0(SegyV1_0): # noqa
"""An IO class supporting version 2.0 of the SEGY format."""

Expand Down

0 comments on commit f359c8c

Please sign in to comment.