jpjones76 / SeisIO.jl

Julia language support for geophysical time series data
http://seisio.readthedocs.org
Other
47 stars 21 forks source link

Workaround needed for ambiguous SEG Y channel identification #57

Closed jpjones76 closed 3 years ago

jpjones76 commented 3 years ago

SEG Y has six quantities that can identify a unique channel. Most don't translate cleanly to any subfield of a SEED-type ID (e.g., NN.SSSSS.LL.CCC, which SeisIO uses). Data in https://github.com/jpjones76/SeisIO.jl/issues/55#issuecomment-673574991 use SEG Y channel number to identify new channels.

Original file posted by @tclements in https://github.com/jpjones76/SeisIO.jl/issues/55#issuecomment-673574991

jpjones76 commented 3 years ago

Planned workaround: new keyword in read_data that sets the location field of :id (boldface in NN.SSSSS.LL.CCC), using channel number from SEG Y trace header (Int32 starting 12 bytes from trace begin). To the best of my knowledge this will only work for SEG Y records with n <= 1296 channel numbers; as I recall, the only allowed location codes are "00" through "ZZ".