[MSNoise] multiprocessing CC error

王力伟 wangliwei at cea-igp.ac.cn
Mon Jan 9 09:06:43 UTC 2017


Thomas and msnoise users,
       Have you ever across the multiprocessing CC error when you calculate the CC functions?  When I just use the ZZ components, Sometimes this error happen, Sometimes it's not.       I checked the SAC file and modified the Calibration factor to 1.0, but it's still happens, So it should not the problem of  the data and SAC header.      I appreciate in advance for any help.
ERROR MESSAGE:2016-12-21 15:36:22 [DEBUG] GD.DFH.Z Slicing Stream to 2014-01-15T00:00:00.000000Z:2014-01-15T23:59:59.990000Z2016-12-21 15:36:22 [DEBUG] GD.DFH.Z Highpass at 0.02 Hz2016-12-21 15:36:22 [DEBUG] GD.DFH.Z Lowpass at 8.00 Hz2016-12-21 15:36:22 [DEBUG] GD.DFH.Z Downsample to 20.0 Hz2016-12-21 15:36:24 [DEBUG] GD.DOY.Z Reading 2 Files2016-12-21 15:36:24 [DEBUG] Checking sample alignment2016-12-21 15:36:24 [DEBUG] Checking GapsProcess Process-1:Traceback (most recent call last):  File "/home/rex/anaconda2/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap    self.run()  File "/home/rex/anaconda2/lib/python2.7/multiprocessing/process.py", line 114, in run    self._target(*self._args, **self._kwargs)  File "/home/rex/anaconda2/lib/python2.7/site-packages/msnoise/s03compute_cc.py", line 430, in main    basetime, tramef_Z = preprocess(db, stations, comps, goal_day, params, tramef_Z)  File "/home/rex/anaconda2/lib/python2.7/site-packages/msnoise/s03compute_cc.py", line 224, in preprocess    stream[gap[0]] = stream[gap[0]].__add__(stream[gap[1]], method=0, fill_value="interpolate")  File "/home/rex/anaconda2/lib/python2.7/site-packages/obspy/core/trace.py", line 676, in __add__    raise TypeError("Calibration factor differs")TypeError: Calibration factor differsend of compute the cc!



More information about the MSNoise mailing list