Hello Users,
I have a question regarding reading in a Seisan waveform file into obspy. Here’s the following code:
from obspy import read
st = read(“C:\Users\Edge 14 User\Desktop\2013-06-23-0000-00S.YZ____003”, “SEISAN”)
Traceback (most recent call last):
File “<pyshell#2>”, line 1, in
st = read(“C:\Users\Edge 14 User\Desktop\2013-06-23-0000-00S.YZ____003”, “SEISAN”)
File “C:\Python27\lib\site-packages\obspy\core\stream.py”, line 247, in read
st.extend(_read(file, format, headonly, **kwargs).traces)
File “C:\Python27\lib\site-packages\obspy\core\util\decorator.py”, line 151, in wrapped_func
result = func(filename, *args, **kwargs)
File “C:\Python27\lib\site-packages\obspy\core\stream.py”, line 288, in _read
headonly=headonly, **kwargs)
File “C:\Python27\lib\site-packages\obspy\core\util\base.py”, line 400, in _readFromPlugin
format_ep = EPS[format]
KeyError: ‘SEISAN’
I was wondering what the issue may be? I am struggling with just reading a seismogram from my own files, but I can read in the example files just fine.
Any thoughts?
Greg