From bf8a85f1c5fa799b07cbd5d9987379b6cd37c8c8 Mon Sep 17 00:00:00 2001 From: Aaron Girard Date: Thu, 9 Jan 2025 16:11:10 -0700 Subject: [PATCH] added ability to read SEGY file version 0.0 --- dascore/io/segy/core.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dascore/io/segy/core.py b/dascore/io/segy/core.py index a44ceab8..8b34cae8 100644 --- a/dascore/io/segy/core.py +++ b/dascore/io/segy/core.py @@ -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."""