[MSNoise] Uncompatibility with CC saved as SAC files

Aurélien Mordret mordret at mit.edu
Tue Mar 31 14:06:43 UTC 2015


Hi Thomas,


Great job for the 1.3.1 MSNoise version!

I have however encountered a problem when computing the MWCS: the function
only takes Miniseed files as input, which is no compatible with the fact
that you can save the CC as SAC files.


Here is the error below.

Cheers,

Aurelien



Traceback (most recent call last):
  File "/usr/local/bin/msnoise", line 9, in <module>
    load_entry_point('msnoise==1.3.1', 'console_scripts', 'msnoise')()
  File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/msnoise.py",
line 393, in run
    cli(obj={})
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in
__call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in
main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in
invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in
invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in
invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/msnoise.py",
line 199, in compute_mwcs
    main()
  File "/usr/local/lib/python2.7/dist-packages/msnoise/s05compute_mwcs.py",
line 110, in main
    ref = read(rf)[0].data
  File
"/usr/local/lib/python2.7/dist-packages/obspy/core/util/decorator.py", line
371, in new_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/obspy/core/stream.py", line
224, in read
    raise IOError(2, "No such file or directory", pathname)
IOError: [Errno 2] No such file or directory:
'STACKS/01/REF/ZZ/DK_ANGG_DK_ANGG.MSEED'


-- 
==========================

Postdoctoral fellow
Department of Earth, Atmospheric and Planetary Sciences
Massachusetts Institute of Technology
54-526
Cambridge, MA  02139-4307
e-mail: mordret at mit.edu
web: http://web.mit.edu/mordret/www


More information about the MSNoise mailing list