[obspy-users] obspy segy
S.Bannister at gns.cri.nz
Thu Apr 14 20:55:35 CEST 2011
I am trying to read a segy file :
from obspy.core import read
filename = 'try1.segy'
tr = read(filename, format='SEGY')
but get the following
Traceback (most recent call last):
File "segy2sac.py", line 27, in <module>
tr = read(filename,format='SEGY')
line 214, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
line 272, in _read
raise TypeError(msg + ', '.join([_i.name for _i in ENTRY_POINTS]))
TypeError: Format is not supported. Supported Formats: MSEED, SAC, GSE2,
SACXY, SLIST, TSPAIR, SEGY, SU
Any suggestions ???? Thanks in advance;
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the obspy-users