Skip to content

Commit

Permalink
added ability to read SEGY file version 0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjgirard committed Jan 9, 2025
1 parent bc1a02f commit bf8a85f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dascore/io/segy/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ 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 bf8a85f

Please sign in to comment.