[MSNoise] Error running 07.plot_dtt.py

Kasper van Wijk k.vanwijk at auckland.ac.nz
Fri Nov 1 18:31:56 UTC 2013


Xiao, the obspy.org site has a gallery, with snippets of code that should
get you up and running. Have fun!

Kasper
On 2/11/2013 5:03 AM, "Wang, Xiao" <Xiao.Wang at liverpool.ac.uk> wrote:

> Hi Thomas,
>
> Can you give me a hint how to ploy 1 pair's data for me to work out. I
> don't know python very much, sorry.
>
> Xiao
>
>
> -----Original Message-----
> From: msnoise-bounces at mailman-as.oma.be [mailto:
> msnoise-bounces at mailman-as.oma.be] On Behalf Of Thomas Lecocq
> Sent: 25 October 2013 10:17
> To: msnoise at mailman-as.oma.be
> Subject: Re: [MSNoise] Error running 07.plot_dtt.py
>
> Xiao,
>
> Le 24/10/2013 17:52, Wang, Xiao a écrit :
> > Hi Thomas,
> >
> > I pass s06compute_dtt.py and find folder MWCS/. But I got error when
> calling 07.plot_dtt.py.
> >
> > I check file length under MWCS folder, size of the files are 2. I am not
> sure if this is the problem to cause error of 07.plot_dtt.py?
> Yeah, there could be a problem because you have only 1 pair of stations /
> 1 day of data. I don't know if you know Python, but the code is quite
> simple to edit to only plot 1 pair's data. I'll try to add examples plot to
> the next release.
>
> Thomas
>
> >
> > Regards,
> >
> > Xiao
> >
> >
> >
> > msnoise at seisapp:~/MSNoise-Temp/MSNoise-1.2$ python s06compute_dtt.py
> > 2013-10-24 16:40:49,106 [INFO] *** Starting: Compute DT/T ***
> > 2013-10-24 16:40:49,157 [DEBUG] Found 000 updated days
> > 2013-10-24 16:40:49,161 [INFO] Loading mov=5 days for filter=01
> > 2013-10-24 16:40:49,161 [INFO] Loading mov=5 days for filter=01
> > 2013-10-24 16:40:49,162 [INFO] Loading mov=5 days for filter=01
> > 2013-10-24 16:40:49,162 [INFO] Loading mov=5 days for filter=01
> > 2013-10-24 16:40:49,162 [INFO] Loading mov=5 days for filter=01
> > 2013-10-24 16:40:49,162 [INFO] Loading mov=5 days for filter=01
> > 2013-10-24 16:40:49,162 [INFO] Loading mov=5 days for filter=01
> > 2013-10-24 16:40:49,162 [INFO] Loading mov=5 days for filter=01
> > 2013-10-24 16:40:49,162 [INFO] Loading mov=5 days for filter=01
> > 2013-10-24 16:40:49,163 [INFO] *** Finished: Compute DT/T ***
> >
> > msnoise at seisapp:~/MSNoise-Temp/MSNoise-1.2$ python 07.plot_dtt.py
> > Traceback (most recent call last):
> >    File "07.plot_dtt.py", line 13, in <module>
> >      import matplotlib.pyplot as plt
> >    File
> "/home/msnoise/anaconda/lib/python2.7/site-packages/matplotlib/pyplot.py",
> line 97, in <module>
> >      _backend_mod, new_figure_manager, draw_if_interactive, _show =
> pylab_setup()
> >    File
> "/home/msnoise/anaconda/lib/python2.7/site-packages/matplotlib/backends/__init__.py",
> line 25, in pylab_setup
> >      globals(),locals(),[backend_name])
> >    File
> "/home/msnoise/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_wxagg.py",
> line 23, in <module>
> >      import backend_wx    # already uses wxversion.ensureMinimal('2.8')
> >    File
> "/home/msnoise/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_wx.py",
> line 53, in <module>
> >      raise ImportError(missingwxversion)
> > ImportError: Matplotlib backend_wx and backend_wxagg require wxversion,
> which was not found.
> > _______________________________________________
> > MSNoise mailing list
> > MSNoise at mailman-as.oma.be
> > http://mailman-as.oma.be/mailman/listinfo/msnoise
>
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
>


More information about the MSNoise mailing list