[MSNoise] UnboundLocalError: local variable 'basetime' referenced before assignment

Sammarco, Carmelo carmelosammarco at abdn.ac.uk
Tue Jan 17 13:13:10 UTC 2017


Dear users,


long time from my last mail..


I have this small issue ( I hope) when I run the CCs:


2017-01-17 13:04:50 [INFO] *** Starting: Compute CC ***
2017-01-17 13:04:50 [INFO] Will compute ZZ
2017-01-17 13:04:51 [INFO] New CC Job: 2010-01-02 (1 pairs with 2 stations)
Process Process-1:
Traceback (most recent call last):
  File "/home/carmelo/anaconda/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/home/carmelo/anaconda/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/home/carmelo/anaconda/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/carmelo/anaconda/lib/python2.7/site-packages/msnoise/s03compute_cc.py", line 355, in preprocess
    return basetime, tramef_Z
UnboundLocalError: local variable 'basetime' referenced before assignment



Before modify the code  to find a solution by myself I would like know if someone already had the same issue and if yes what can be the easy solution.



cheers and thanks,


-----------
Mr Carmelo Sammarco MSc  BSc  FGS
PhD Student in Geology and Petroleum Geology


The University of Aberdeen is a charity registered in Scotland, No SC013683.
Tha Oilthigh Obar Dheathain na charthannas clàraichte ann an Alba, Àir. SC013683.


More information about the MSNoise mailing list