I am trying to read a segy file :
from obspy.core import read
filename = ‘try1.segy’
tr = read(filename, format=‘SEGY’)
print(tr)
but get the following
Traceback (most recent call last):
File “segy2sac.py”, line 27, in
tr = read(filename,format=‘SEGY’)
File “/sp/prj/tvz95/mypython/lib/python2.6/site-packages/obspy.core-0.4.7-py2.6.egg/obspy/core/stream.py”, line 214, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File “/sp/prj/tvz95/mypython/lib/python2.6/site-packages/obspy.core-0.4.7-py2.6.egg/obspy/core/stream.py”, 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;
- Stephen
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.