[MSNoise] UnboundLocalError: local variable 'basetime' referenced before assignment
Thomas Lecocq
thomas.lecocq at oma.be
Tue Jan 17 13:33:53 UTC 2017
Hi Carmelo,
Which version are you using? 1.4.1, the latest release ?
This error might occur when you try to load E or N data and the files
are not present...
Thomas
Le 17/01/2017 à 14:13, Sammarco, Carmelo a écrit :
> 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.
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
More information about the MSNoise
mailing list