Dear all,
happy to new year to everyone! I think I have a problem with my ObsPy installation, since one very basic operation from your online examples is not working.
I wanted to create a ground acceleration plot which didn’t work out so I tried to follow you online examples for instrument response simulation first. These lines are my input:
from obspy import read
from obspy.xseed import Parser
st = read("[http://examples.obspy.org/BW.BGLD..EH.D.2010.037](http://examples.obspy.org/BW.BGLD..EH.D.2010.037)")
parser = Parser("[http://examples.obspy.org/dataless.seed.BW_BGLD](http://examples.obspy.org/dataless.seed.BW_BGLD)")
st.simulate(seedresp={'filename': parser, 'units': "DIS"})
First of all I still need to add the ‚date‘ option, otherwise it will not run. After adding the ‚date‘ option for the simulate command I get the following error message:
In [53]: testdata = read(“http://examples.obspy.org/BW.BGLD…EH.D.2010.037”)
In [54]: testparser = Parser(“http://examples.obspy.org/dataless.seed.BW_BGLD”)
In [57]: testdate = testdata[0].stats.starttime
In [58]: testdata.simulate(seedresp={‘filename’: testparser, ‘date’: testdate, ‘units’: “DIS”})