Hi,
The problem is most probably coming from the fact you don't have RR
results for the NE12-NE48 pair. This is a bug, and I still need to check
if it is properly corrected in the next release.
In the meantime, you could simple disable "RR" in the config and so the
stack would work.
Best regards,
Thomas
Le 10/04/2017 à 10:27, ?I? a écrit :
Hi Thomas
I am C.J Liao, and i'm installing the Msnoise 1.4 version in Ubuntu
system with Quick, i have a question when i run 'msnoise stack -r -m ' I
'config' the stack_method=pws ,pws power=2 ,
pws_timegate=10.0,autocorr=N,RR=Y,ZZ=Y....,
There is following error when I 'stack'. How can i solve this problem? many
thanks!
$ msnoise stack -r -m
rusult in
Lets STACK !
2017-04-10 16:16:00 [DEBUG] Starting the ref stack
[]
2017-04-10 16:16:00 [DEBUG] Processing YP_NE12:YP_NE48-ZZ-1
2017-04-10 16:16:00 [DEBUG] Found 295 updated days
2017-04-10 16:16:00 [DEBUG] New Data for YP_NE12:YP_NE48-ZZ-1
/home/l/anaconda2/lib/python2.7/site-packages/obspy/io/sac/util.py:370: UserWarning: Old
header has invalid reftime.
warnings.warn(msg)
2017-04-10 16:16:04 [DEBUG] Processing YP_NE12:YP_NE48-RR-1
2017-04-10 16:16:04 [DEBUG] Found 295 updated days
2017-04-10 16:16:04 [DEBUG] New Data for YP_NE12:YP_NE48-RR-1
Traceback (most recent call last):
File "/home/l/anaconda2/bin/msnoise", line 11, in <module>
sys.exit(run())
File
"/home/l/anaconda2/lib/python2.7/site-packages/msnoise/scripts/msnoise.py", line
614, in run
cli(obj={})
File "/home/l/.local/lib/python2.7/site-packages/click/core.py", line 722,
in __call__
return self.main(*args, **kwargs)
File "/home/l/.local/lib/python2.7/site-packages/click/core.py", line 697,
in main
rv = self.invoke(ctx)
File "/home/l/.local/lib/python2.7/site-packages/click/core.py", line 1066,
in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/l/.local/lib/python2.7/site-packages/click/core.py", line 895,
in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/l/.local/lib/python2.7/site-packages/click/core.py", line 535,
in invoke
return callback(*args, **kwargs)
File
"/home/l/anaconda2/lib/python2.7/site-packages/msnoise/scripts/msnoise.py", line
301, in stack
main('ref', interval)
File "/home/l/anaconda2/lib/python2.7/site-packages/msnoise/s04stack.py",
line 209, in main
db, sta1, sta2, filterid, components, datelist, format=format)
File "/home/l/anaconda2/lib/python2.7/site-packages/msnoise/api.py", line
1020, in get_results
corr = stack(session, stack_data)
File "/home/l/anaconda2/lib/python2.7/site-packages/msnoise/api.py", line
978, in stack
coh = 1. / data.shape[0] * np.abs(phasestack)
ZeroDivisionError: float division by zero
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise