I'm trying to use obspy on Ubuntu 12.04, but have been unable to read in any data. I have tried installing in different ways and have had different errors. Currently I have installed using easy_install and get this:
I assume the following test report http://tests.obspy.org/?id=1513
belongs to you. Therefore only the modules obspy.core and obspy.segy
seem to be installed.
I created these files from rt130 output using IRIS Passcal's ref2segy program. I probably don't want extended textual headers! I can't find any option in ref2segy to make "normal" headers...
I guess this should state "Extended textual headers are NOT supported yet" ;/
Yea definitly.
I'll have a look at the file after the game tonight. If it really has extended textual headers, which would be really nice because I have not yet seen a file with those, I'll implement them. The fact that the endianness detection fails might hint a deeper rooted problem, though.
Today I was informed that the IRIS SEGY header format is nothing but 400 bytes, and has no textual component at all. I haven't had a chance to verify if that's how my files are, but I expect it is. I've converted all of my data to miniseed and obspy is working great for me now. Thanks!
I did some checks and you are right. The PASSCAL programs all write a heavily modified version of SEG Y. obspy.segy was actually initially intended to be able to handle these modified versions but it was never needed so far and thus it does not work right now…
I'll get to it but it does require some significant changes to obspy.segy so it will take a while.
In hopes to clarify; PASSCAL SEGY-Y is a way to use the SEG-Y format for long (passive data like), individual (non-gather) traces.
PASSCAL SEG-Y is SEG-Y with 1 trace per file; so the reel, binary, and textual headers aren't needed and dropped. 1 file = 1 trace header | 1 data trace
Since the SEGY has a max # samples of 32767 with 16bits, we use 32 bits at