[MSNoise] Error to run compute_cc

Thomas Lecocq thomas.lecocq at oma.be
Tue Oct 7 14:50:21 UTC 2014


yeah, the __version__ tag is not correct.

to be sure, overwrite the python files with those 
https://github.com/ROBelgium/MSNoise/archive/1.2.5.zip and test.

then if the error persists:

add at line 309 
(https://github.com/ROBelgium/MSNoise/blob/1.2.5/s03compute_cc.py#L309)

    print pair

and check that the stations do exist in the database?

Thomas

Le 07/10/2014 16:47, Sammarco, Carmelo a écrit :
> Dear Thomas,
>
> I am running the 1.0.1.  It is so an old version... I see this info on the init file(2013 version). I try also to print s1 and s2 in the script before the line where there is the error (line 313) and as you told like result I have 'none'. So in this case what do you suggest to me? Could be a bug of an old version? thank you very much for your time and support.
>
> cheers,
>
> Carmelo
> ________________________________________
> From: msnoise-bounces at mailman-as.oma.be <msnoise-bounces at mailman-as.oma.be> on behalf of Thomas Lecocq <thomas.lecocq at oma.be>
> Sent: 07 October 2014 14:57
> To: msnoise at mailman-as.oma.be
> Subject: Re: [MSNoise] Error to run compute_cc
>
> Carmelo,
>
> Looking at it in more details, the error you face is because "s1 is
> None", which should NEVER happen. Could you tell me which version you
> are using ? is it the latest tagged version ? (1.2.5) ?
>
> Thomas
>
> Le 06/10/2014 16:13, Sammarco, Carmelo a écrit :
>> Dear Thomas,
>>
>> Now i am going to correct Lat and Long.. but the components are as you told me.. the only 'Y' is in ZZ.
>> The coordinates are in degree..so there is'DEG' and no 'UTM' in the field 'coordinates' where all the stations are. Thank you very much for your help and sorry if i maybe ask too much.. but i am in the beginning..
>>
>> cheers,
>>
>> Carmelo
>> ________________________________________
>> From: msnoise-bounces at mailman-as.oma.be <msnoise-bounces at mailman-as.oma.be> on behalf of Thomas Lecocq <thomas.lecocq at oma.be>
>> Sent: 06 October 2014 14:56
>> To: Python Package for Monitoring Seismic Velocity Changes using Ambient Seismic Noise
>> Subject: Re: [MSNoise] Error to run compute_cc
>>
>> Carmelo,
>>
>> first= X=Lon and Y=Lat, usually.. but that's not your problem. I suspect
>> the components to be checked (="Y") in the configurator, while only "ZZ"
>> should be set equal to "Y", the other 8 (ZR,RT,...) set to "N" !
>>
>> Thomas
>>
>> Le 06.10.2014 15:28, Sammarco, Carmelo a écrit :
>>> Dear Thomas,
>>>
>>> As you told me I check all the parameters in the configurator. The X
>>> and Y are well populated(X=LAT / Y=LONG), I have only the ZZ job to do
>>> and I check it on the Configurator options. The error still happens. I
>>> don't know what could be.. very strange.
>>>
>>> cheers,
>>>
>>> Carmelo
>>> ________________________________________
>>> From: msnoise-bounces at mailman-as.oma.be
>>> <msnoise-bounces at mailman-as.oma.be> on behalf of Thomas Lecocq
>>> <thomas.lecocq at oma.be>
>>> Sent: 06 October 2014 12:26
>>> To: msnoise at mailman-as.oma.be
>>> Subject: Re: [MSNoise] Error to run compute_cc
>>>
>>> Carmelo,
>>>
>>> it looks like:
>>> * You are computing something else than ZZ (other components of the
>>> tensor, requiring horizontal components)
>>> * You have at least one station with no station coordinates defined in
>>> the database
>>>
>>> Check the configurator to edit the stations and ensure they have X,Y
>>> coordinates properly entered.
>>>
>>> If this is your case, are you sure you do have horizontal components
>>> for
>>> all your stations ? do files exist ?
>>>
>>> Cheers
>>>
>>> Thomas
>>>
>>> Le 06/10/2014 13:10, Sammarco, Carmelo a écrit :
>>>> Dear all,
>>>>
>>>>
>>>> When I run Compute_cc  the terminal show this message:
>>>>
>>>>
>>>> File "s03compute_cc.py", line 313, in <module>
>>>>        X0 = s1.X
>>>> AttributeError: 'NoneType' object has no attribute 'X'
>>>>
>>>> ?In which way can I fix it?? The attribute X, Y and also Z exits  in
>>>> the table and I also populate it. So I don't understand this type of
>>>> error. thank you very much. I hope to receive some answer..
>>>>
>>>> cheers,
>>>>
>>>> Carmelo
>>>>
>>>>
>>>>
>>>> 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
>>> _______________________________________________
>>> MSNoise mailing list
>>> MSNoise at mailman-as.oma.be
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>
>>>
>>> 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
>> _______________________________________________
>> MSNoise mailing list
>> MSNoise at mailman-as.oma.be
>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>
>>
>> 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
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
> 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