Dimitris,
Add this line at the beginning of the file "database_tools.py"
from obspy.core.util import gps2DistAzimuth
Thanks for the bug report, the fix will be included in the next release.
Thomas
Le 16/05/2014 11:36, Dimitris Giannopoulos a écrit :
Dear mailing list,
I am facing a problem concerning the cc
computation step.
Specifically, I have an error message about the
coordinates of the stations.
I am processing the data of two stations. I
have already completed the previous steps without any problem.
The
following is the error that I have when I execute the "s03compute_cc.py"
script:
_________________________
Traceback (most recent call last):
File "s03compute_cc.py", line 335, in <module>
cplAz =
azimuth(coordinates, X0, Y0, X1, Y1)
File
"/localstorage/MSNoise/database_tools.py", line 470, in azimuth
dist,
azim, bazim = gps2DistAzimuth(y0, x0, y1, x1)
NameError: global name
'gps2DistAzimuth' is not
defined
_____________________________________________
I am going to
process R and T components, so the coordinates of the stations are
inputted in the station table as it is needed. I think that I did it
properly.
Did anybody face a similar problem?
I also attach a
screen-shot of the terminal in order to see when exactly the error
appears.
Thank you very much in advance.
Dimitris
Le corps de ce message sera téléchargé à votre demande.