Hello,

I have following compute_cc errors (using sac)

yawar@yawar-Vostro-5470:~/anaconda3/bin$ msnoise compute_cc
2018-04-10 14:47:38 [INFO] *** Starting: Compute CC ***
2018-04-10 14:47:38 [INFO] Will compute ZZ
2018-04-10 14:47:38 [INFO] New CC Job: 2016-09-26 (3 pairs with 2 stations)
2018-04-10 14:47:38 [DEBUG] FDF.DF01.Z Reading 1 Files
2018-04-10 14:47:39 [DEBUG] Checking sample alignment
2018-04-10 14:47:39 [DEBUG] Checking Gaps
2018-04-10 14:47:39 [DEBUG] FDF.DF01.Z Slicing Stream to
2016-09-26T00:00:00.000000Z:2016-09-26T00:59:59.984000Z
2018-04-10 14:47:39 [DEBUG] FDF.DF01.Z Highpass at 1.00 Hz
2018-04-10 14:47:39 [DEBUG] FDF.DF01.Z Lowpass at 8.00 Hz
2018-04-10 14:47:39 [DEBUG] FDF.DF01.Z Downsample to 20.0 Hz
Process Process-1:
Traceback (most recent call last):
  File "/home/yawar/anaconda3/lib/python3.5/multiprocessing/process.py",
line 249, in _bootstrap
    self.run()
  File "/home/yawar/anaconda3/lib/python3.5/multiprocessing/process.py",
line 93, in run
    self._target(*self._args, **self._kwargs)
  File
"/home/yawar/anaconda3/lib/python3.5/site-packages/msnoise/s03compute_cc.py",
line 430, in main
    basetime, tramef_Z = preprocess(db, stations, comps, goal_day, params,
tramef_Z)
  File
"/home/yawar/anaconda3/lib/python3.5/site-packages/msnoise/s03compute_cc.py",
line 322, in preprocess
    trace.data = resample(
NameError: name 'resample' is not defined


Then I converted data to *mseed*

~/anaconda3/bin$ msnoise compute_cc
2018-04-10 15:19:32 [INFO] *** Starting: Compute CC ***
2018-04-10 15:19:32 [INFO] Will compute ZZ
2018-04-10 15:19:32 [INFO] New CC Job: 2016-09-27 (3 pairs with 2 stations)
Process Process-1:
Traceback (most recent call last):
  File "/home/yawar/anaconda3/lib/python3.5/multiprocessing/process.py",
line 249, in _bootstrap
    self.run()
  File "/home/yawar/anaconda3/lib/python3.5/multiprocessing/process.py",
line 93, in run
    self._target(*self._args, **self._kwargs)
  File
"/home/yawar/anaconda3/lib/python3.5/site-packages/msnoise/s03compute_cc.py",
line 430, in main
    basetime, tramef_Z = preprocess(db, stations, comps, goal_day, params,
tramef_Z)
  File
"/home/yawar/anaconda3/lib/python3.5/site-packages/msnoise/s03compute_cc.py",
line 355, in preprocess
    return basetime, tramef_Z
UnboundLocalError: local variable 'basetime' referenced before assignment


Regards,
Yawar Hussain
Ph.D. Student, Geotechnical Engineering
University of Brasilia, Brazil.
_______________________________________________
MSNoise mailing list
MSNoise@mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise

Reply via email to