[MSNoise] there is no directory REF when running s04stack.py

Thomas Lecocq thomas.lecocq at oma.be
Thu Oct 24 13:53:22 UTC 2013


Xiao,

Le 24/10/2013 15:51, Wang, Xiao a écrit :
> I add up -i 10 argument, the output is ok, but no REF folder.
>
> Previously I run s04stack.py -r -m of 1.2 version, new type "DTT" and new flag "T" have been created in table jobs. Do I need to remove these rows before I run s04stack_1.2.1.py -r -m -I 10 (1.2.1 version)?
No. Are there CC jobs in your database ? What is the period defined for 
you REF in the Configurator ? (it's lowercase "i")

Thomas

>
> Xiao
>
>
>
> -----Original Message-----
> From: msnoise-bounces at mailman-as.oma.be [mailto:msnoise-bounces at mailman-as.oma.be] On Behalf Of Thomas Lecocq
> Sent: 24 October 2013 14:44
> To: msnoise at mailman-as.oma.be
> Subject: Re: [MSNoise] there is no directory REF when running s04stack.py
>
> start the stack with a -i argument (check with -h for options): -i will allow to search "d"one jobs in the last "n" days : -10 takes last 10 days.
>
> Thomas
> Le 24/10/2013 15:42, Wang, Xiao a écrit :
>> I just copy s04stack.py and database_tools.py of 1.2.1 to the directory of 1.2. And Change name to s04stack_1.2.1.py.
>>
>> When I run s04stack_1.2.1.py, the output looks fine. But I still can not see REF folder.
>>
>>
>> msnoise at seisapp:~/MSNoise-Temp/MSNoise-1.2$ python s04stack_1.2.1.py
>> -r -m
>> 2013-10-24 14:35:21,111 [INFO] Starting this program with: ref=True,
>> mov=True, interval=1
>> 2013-10-24 14:35:21,125 [INFO] *** Starting: REF Stack ***
>> 2013-10-24 14:35:21,183 [DEBUG] Processing 3A_L002:3A_L003-ZZ-1
>> 2013-10-24 14:35:21,188 [DEBUG] Found 000 updated days
>> 2013-10-24 14:35:21,189 [DEBUG] Processing 3A_L002:3A_L004-ZZ-1
>> 2013-10-24 14:35:21,192 [DEBUG] Found 000 updated days
>> ................................................
>> 2013-10-24 14:35:34,968 [DEBUG] Processing 3A_L002:3A_L006-RR-1
>> 2013-10-24 14:35:34,972 [DEBUG] Found 011 updated days
>> 2013-10-24 14:35:34,972 [DEBUG] New Data for 3A_L002:3A_L006-RR-1
>> 2013-10-24 14:35:34,994 [DEBUG] 3A_L002_3A_L006 2010-04-20 [2010-04-20
>> - 2010-04-20] (5 day stack)
>> 2013-10-24 14:35:35,001 [DEBUG] 3A_L002_3A_L006 2010-04-21 [2010-04-20
>> - 2010-04-21] (5 day stack) ..............................................
>> 2013-10-24 14:36:19,646 [DEBUG] Processing 3A_U40B:3A_UO2B-ZT-1
>> 2013-10-24 14:36:19,650 [DEBUG] Found 000 updated days
>> 2013-10-24 14:36:19,651 [DEBUG] Processing 3A_U69B:3A_UO2B-ZT-1
>> 2013-10-24 14:36:19,654 [DEBUG] Found 000 updated days
>> 2013-10-24 14:36:19,655 [INFO] *** Finished: MOV Stack ***
>>
>>
>>
>> Xiao
>>
>>
>> ________________________________________
>> 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: 24 October 2013 14:27
>> To: msnoise at mailman-as.oma.be
>> Subject: Re: [MSNoise] there is no directory REF when running
>> s04stack.py
>>
>> You need the latest version of database_tools too !
>>
>> Thomas
>>
>> Le 24/10/2013 15:05, Wang, Xiao a écrit :
>>> Hi Thomas,
>>>
>>> I can see STACK/01/001_DAYS folder after running s03compute_cc.py.
>>>
>>> I download msnoise 1.2.1 and run s04stack.py, but I got error.
>>>
>>> here is the output:
>>>
>>> msnoise at seisapp:~/MSNoise-Temp/MSNoise-1.2$ python update_s04stack.py
>>> -r -m
>>>
>>> 2013-10-24 14:01:11,729 [INFO] Starting this program with: ref=True,
>>> mov=True, interval=1
>>> 2013-10-24 14:01:11,743 [INFO] *** Starting: REF Stack ***
>>> 2013-10-24 14:01:11,787 [DEBUG] Processing 3A_L002:3A_L003-ZZ-1
>>> 2013-10-24 14:01:11,791 [DEBUG] Processing 3A_L002:3A_L004-ZZ-1
>>> 2013-10-24 14:01:11,793 [DEBUG] Processing 3A_L002:3A_L005-ZZ-1
>>> ...............................
>>> ..............................
>>> 2013-10-24 14:01:18,145 [DEBUG] Processing 3A_U69B:3A_UO2B-ZT-1
>>> 2013-10-24 14:01:18,148 [INFO] *** Finished: REF Stack ***
>>> 2013-10-24 14:01:18,149 [INFO] *** Starting: MOV Stack ***
>>> 2013-10-24 14:01:18,192 [DEBUG] Processing 3A_L002:3A_L003-ZZ-1
>>> 2013-10-24 14:01:18,228 [DEBUG] New Data for 3A_L002:3A_L003-ZZ-1
>>> 2013-10-24 14:01:18,260 [DEBUG] 3A_L002_3A_L003 2010-04-20
>>> [2010-04-20 - 2010-04-20] (5 day stack) Traceback (most recent call last):
>>>      File "update_s04stack.py", line 241, in <module>
>>>        movstack(args.interval)
>>>      File "update_s04stack.py", line 213, in movstack
>>>        stack('mov', interval)
>>>      File "update_s04stack.py", line 177, in stack
>>>        db, filename, pair, components, filterid, corr, maxlag=maxlag,
>>> cc_sampling_rate=cc_sampling_rate)
>>> TypeError: export_mseed() got an unexpected keyword argument 'maxlag'
>>>
>>>
>>>
>>> Xiao
>>>
>>>
>>>
>>> ________________________________________
>>> 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: 24 October 2013 13:50
>>> To: msnoise at mailman-as.oma.be
>>> Subject: Re: [MSNoise] there is no directory REF when running
>>> s04stack.py
>>>
>>> Xiao,
>>>
>>> Did the CC jobs finish correctly ? Do you see a STACKS/01/001_DAYS folder ?
>>> Please paste the output of s04stack.py
>>>
>>> (Be sure to use the 1.2.1 latest version, I corrected a bug (slow
>>> down) in 1.2 - in Stack)
>>>
>>> Thomas
>>>
>>> Le 24/10/2013 14:32, Wang, Xiao a écrit :
>>>> Hello,
>>>>
>>>> When I run script "python s04stack.py -r -m", I suppose to see a new directory REF, but I cannot find it out.
>>>>
>>>> In database table jobs, I can see a new type "DTT" and new flag "T", but I cannot see any type "CCF".
>>>>
>>>> I set up value of mov_stack as 5.
>>>>
>>>> Thanks,
>>>>
>>>> Xiao
>>>> _______________________________________________
>>>> 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
>>> _______________________________________________
>>> MSNoise mailing list
>>> MSNoise at mailman-as.oma.be
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>> --
>> Dr. Thomas Lecocq
>> Geologist
>>
>> Seismology - Gravimetry
>> Royal Observatory of Belgium
>>
>>               *
>>           * * * * *
>>            * * * *
>>           ---------
>> http://www.seismology.be
>> http://twitter.com/#!/Seismologie_be
>>
>> _______________________________________________
>> 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
> --
> Dr. Thomas Lecocq
> Geologist
>
> Seismology - Gravimetry
> Royal Observatory of Belgium
>
>              *
>          * * * * *
>           * * * *
>          ---------
> http://www.seismology.be
> http://twitter.com/#!/Seismologie_be
>
> _______________________________________________
> 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



More information about the MSNoise mailing list