Closed tclements closed 3 years ago
I agree that read_nodal needs a SEGY method, but the only viable solution is for both read_nodal and read_data to have SEGY support.
SEGY is very widespread, and most SEGY data is incompatible with the assumptions underlying nodal data. We are talking about a file format that literally dates back to punch cards. It was also PASSCAL's default for Reftek conversion until ~2010.
(My personal example here is that every data set from my graduate fieldwork was SEGY; so was every data set I worked with as a postdoc; so were all the other data files at U. Alberta and U. Calgary, more or less.)
...actually, looking at the output here, I have some questions about the .sgy test file that you're reading. Might need a separate Issue for that. Can you share the file with me?
Having both read_data
and read_nodal
works for me. The link for the file is here https://pando-rgw01.chpc.utah.edu/silixa_das_apr_28_2019/FORGE_78-32_iDASv3-P11_UTC190428135038.sgy
I can't tell if I need an issue here; the file doesn't read correctly, but I don't know if that's a SeisIO bug, or nonstandard SEG Y, or (as-yet unsupported) SEG Y rev 2.0. The trace headers claim to be SEG Y rev 1.0, which should be readable. Do you know the data source?
(edit) Issue found, see below
Ok, found the issue. I've turned that into a new GitHub issue, but I'm still working on adding SEG Y to read_nodal
. That should be ready on dev tonight.
At some point I'm going to merge this all into master, but I want to be certain it meets the needs of your group first.
Is it OK if I add this file to the SeisIO test data suite for read_nodal
? I think I have this ready, but need to test on at least Travis-CI. I'll encrypt it so that the file isn't available to the public.
Yes, feel free to add this is public data.
Fixed on master and in the new release. Will close this issue as soon as Julia Registrator merges my PR(s).
As of now, SeisIO reads SEGY files into
SeisData
. If the file format is non-standard,read_data
returns aSeisData
with a singleSeisChannel
with a gap between each channel.DAS datasets are regularly saved in SEGY format. For instance, here is some DAS data stored as SEGY from the FORGE experiment. Reading this with
SeisIO#dev
returns one channel with 1279 gaps.
I see two options here:
NodalData
when reading SEGY files withread_data
read_nodal
onlyI don't like Option 1 because then
read_data
has two possible outputs.Option 2 seems better going forward but is a breaking change.