Dear Thomas,
I run msnoise under my Ubuntu-12.04 and l think it's a user- friendly tool.
I just start to learn this but there's a problem arises while doing the
stacking process.
I noticed that you provide data in the folder "tests" as the example, so I
start my practice here.and the data length is only one day.(could it be the
problem?)
Everything was fine until stacking.
I type the comment: msnoise stack -r -m -i 10, and the terminal shows these:
2015-03-28 16:35:16 [DEBUG] Processing 2010_UV05:2010_UV06-ZZ-1
Traceback (most recent call last):
File "/home/hung/anaconda/bin/msnoise", line 9, in <module>
load_entry_point('msnoise==1.3', 'console_scripts', 'msnoise')()
File
"/home/hung/anaconda/lib/python2.7/site-packages/msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
line 306, in run
cli(obj={})
File
"/home/hung/anaconda/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py",
line 610, in __call__
return self.main(*args, **kwargs)
File
"/home/hung/anaconda/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py",
line 590, in main
rv = self.invoke(ctx)
File
"/home/hung/anaconda/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py",
line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File
"/home/hung/anaconda/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py",
line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File
"/home/hung/anaconda/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py",
line 416, in invoke
return callback(*args, **kwargs)
File
"/home/hung/anaconda/lib/python2.7/site-packages/msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
line 139, in stack
main('ref', interval)
File
"/home/hung/anaconda/lib/python2.7/site-packages/msnoise-1.3-py2.7.egg/msnoise/s04stack.py",
line 148, in main
updated_days = updated_days_for_dates(db, start, end, pair.replace('_',
'.'), type='CC', interval=datetime.timedelta(days=interval),returndays=True)
*TypeError: updated_days_for_dates() got an unexpected keyword argument
'type'*
I underline the error line, and I have no idea about that.
I've been seeking solutions but got less information. Would you please tell
me what's wrong with that?
I'm appreciated for your help
Charlie Hung
undergraduate student
Department of Earth Science, National Central University, R.O.C.
Charlie;
Are you having problems with the cross-correlation process?
Did you check the directory ~/STACKS/01/001_DAYS/*?
You must have some results for each station pair.
Anyhow, could we see your config and filters table?
- Esteban
PhD Student in Seismology
UC Santa Cruz
> On Mar 31, 2015, at 6:00 AM, msnoise-request(a)mailman-as.oma.be wrote:
>
> Send MSNoise mailing list submissions to
> msnoise(a)mailman-as.oma.be
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman-as.oma.be/mailman/listinfo/msnoise
> or, via email, send a message with subject or body 'help' to
> msnoise-request(a)mailman-as.oma.be
>
> You can reach the person managing the list at
> msnoise-owner(a)mailman-as.oma.be
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MSNoise digest..."
>
>
> Today's Topics:
>
> 1. Re: Stacking problem (???)
> 2. Re: Stacking problem (Thomas Lecocq)
> 3. Re: Stacking problem (???)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 30 Mar 2015 23:10:08 +0800
> From: ??? <supertyphoon100(a)gmail.com>
> To: Python Package for Monitoring Seismic Velocity Changes using
> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
> Subject: Re: [MSNoise] Stacking problem
> Message-ID:
> <CALV7=wCqpBJfk53sSNx-e8+uFjYVGwSOcpn-S3kS-Xi=jceYDQ(a)mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Dear Thomas,
> Thank you for replying promptly !
> I followed your suggestion and updated the new version. I restarted the
> whole process.But this time, at stacking process,again, shows something
> wrong. (I take the test data you provided as the example,and the data
> structure follows the " PDF" type, right? sorry I have less concepts about
> that... )
> Here the terminal printed:
>
> hung@hung-All-Series:~/msnoise/MSNoise-master/msnoise$ msnoise stack -r -m
> -i 10
> Lets STACK !
> 2015-03-30 21:48:12 [DEBUG] Starting the ref stack
> /home/hung/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py:1032:
> UserWarning: /home/hung/.python-eggs is writable by group/others and
> vulnerable to attack when used with get_resource_filename. Consider a more
> secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE
> environment variable).
> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
> 2015-03-30 21:48:12 [DEBUG] Starting the mov stack
> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>
> the CC job has marked 'Done'.
> By the way, there are 2 strange points confused me while running msnoise
> and I want to tell you,
>
> 1. The CCF data is in the folder "STACK" which is not the name I defined in
> the configuration (I used default name "CROSS_CORRELATIONS" as the output )
> .
> 2. I found out that I couldn't define a new jobs by using " msnoise
> new_jobs" commend, it worked until I tried "python s02new_jobs.py"
>
> Would you please tell me what may cause these problems? I show you the my
> configuration table in the attachment, so it might help you point out what
> is wrong.
>
> sorry I got so many problems, but I really like msnoise. It's very
> convenience.
> And please give me some suggestion to fix the errors.
> Thank you in advance.
>
> Charlie Hung
> undergraduate student
> Department of Earth Science, National Central University, R.O.C.
>
>
> 2015-03-29 0:27 GMT+08:00 Thomas Lecocq <thomas.lecocq(a)seismology.be>:
>
>> Hi,
>>
>> can you update to 1.3.1 and test again ? I can't reproduce the bug (line
>> 148 looks OK in github)
>>
>> Thomas
>>
>> ps: update = pip uninstall msnoise + pip install msnoise
>>
>>
>> Le 28/03/2015 13:21, ??? a ?crit :
>>
>>> Dear Thomas,
>>> I run msnoise under my Ubuntu-12.04 and l think it's a user- friendly
>>> tool.
>>> I just start to learn this but there's a problem arises while doing the
>>> stacking process.
>>> I noticed that you provide data in the folder "tests" as the example, so I
>>> start my practice here.and the data length is only one day.(could it be
>>> the
>>> problem?)
>>> Everything was fine until stacking.
>>> I type the comment: msnoise stack -r -m -i 10, and the terminal shows
>>> these:
>>>
>>> 2015-03-28 16:35:16 [DEBUG] Processing 2010_UV05:2010_UV06-ZZ-1
>>> Traceback (most recent call last):
>>> File "/home/hung/anaconda/bin/msnoise", line 9, in <module>
>>> load_entry_point('msnoise==1.3', 'console_scripts', 'msnoise')()
>>> File
>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>> line 306, in run
>>> cli(obj={})
>>> File
>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>> 3.3-py2.7.egg/click/core.py",
>>> line 610, in __call__
>>> return self.main(*args, **kwargs)
>>> File
>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>> 3.3-py2.7.egg/click/core.py",
>>> line 590, in main
>>> rv = self.invoke(ctx)
>>> File
>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>> 3.3-py2.7.egg/click/core.py",
>>> line 936, in invoke
>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>> File
>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>> 3.3-py2.7.egg/click/core.py",
>>> line 782, in invoke
>>> return ctx.invoke(self.callback, **ctx.params)
>>> File
>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>> 3.3-py2.7.egg/click/core.py",
>>> line 416, in invoke
>>> return callback(*args, **kwargs)
>>> File
>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>> line 139, in stack
>>> main('ref', interval)
>>> File
>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>> msnoise-1.3-py2.7.egg/msnoise/s04stack.py",
>>> line 148, in main
>>> updated_days = updated_days_for_dates(db, start, end,
>>> pair.replace('_',
>>> '.'), type='CC', interval=datetime.timedelta(days=interval),returndays=
>>> True)
>>>
>>> *TypeError: updated_days_for_dates() got an unexpected keyword argument
>>> 'type'*
>>> I underline the error line, and I have no idea about that.
>>> I've been seeking solutions but got less information. Would you please
>>> tell
>>> me what's wrong with that?
>>> I'm appreciated for your help
>>>
>>> Charlie Hung
>>> undergraduate student
>>> Department of Earth Science, National Central University, R.O.C.
>>> _______________________________________________
>>> MSNoise mailing list
>>> MSNoise(a)mailman-as.oma.be
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>
>>
>> _______________________________________________
>> MSNoise mailing list
>> MSNoise(a)mailman-as.oma.be
>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 30 Mar 2015 17:42:25 +0200
> From: Thomas Lecocq <thlecocq(a)gmail.com>
> To: Python Package for Monitoring Seismic Velocity Changes using
> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
> Subject: Re: [MSNoise] Stacking problem
> Message-ID:
> <CA+U7X7sctr3pCZis30PQTTZtyoWPGF+OOGeBF8m5urp0GJrWzg(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> the test data provided is SDS.
>
> you have to remove all python source files from previous versions from your
> current directory. Do not run msnoise from the install folder, so:
>
> pip install msnoise
>
> cd /home/hung
> mkdir test
> cd test
> msnoise install
> msnoise config
> ...
>
> do not un MSNoise-Master, only use releases (just install using pip, it's
> easier & safer).
>
> Thomas
>
> 2015-03-30 17:10 GMT+02:00 ??? <supertyphoon100(a)gmail.com>:
>
>> Dear Thomas,
>> Thank you for replying promptly !
>> I followed your suggestion and updated the new version. I restarted the
>> whole process.But this time, at stacking process,again, shows something
>> wrong. (I take the test data you provided as the example,and the data
>> structure follows the " PDF" type, right? sorry I have less concepts about
>> that... )
>> Here the terminal printed:
>>
>> hung@hung-All-Series:~/msnoise/MSNoise-master/msnoise$ msnoise stack -r -m
>> -i 10
>> Lets STACK !
>> 2015-03-30 21:48:12 [DEBUG] Starting the ref stack
>>
>> /home/hung/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py:1032:
>> UserWarning: /home/hung/.python-eggs is writable by group/others and
>> vulnerable to attack when used with get_resource_filename. Consider a more
>> secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE
>> environment variable).
>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>> 2015-03-30 21:48:12 [DEBUG] Starting the mov stack
>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>
>> the CC job has marked 'Done'.
>> By the way, there are 2 strange points confused me while running msnoise
>> and I want to tell you,
>>
>> 1. The CCF data is in the folder "STACK" which is not the name I defined in
>> the configuration (I used default name "CROSS_CORRELATIONS" as the output )
>> .
>> 2. I found out that I couldn't define a new jobs by using " msnoise
>> new_jobs" commend, it worked until I tried "python s02new_jobs.py"
>>
>> Would you please tell me what may cause these problems? I show you the my
>> configuration table in the attachment, so it might help you point out what
>> is wrong.
>>
>> sorry I got so many problems, but I really like msnoise. It's very
>> convenience.
>> And please give me some suggestion to fix the errors.
>> Thank you in advance.
>>
>> Charlie Hung
>> undergraduate student
>> Department of Earth Science, National Central University, R.O.C.
>>
>>
>> 2015-03-29 0:27 GMT+08:00 Thomas Lecocq <thomas.lecocq(a)seismology.be>:
>>
>>> Hi,
>>>
>>> can you update to 1.3.1 and test again ? I can't reproduce the bug (line
>>> 148 looks OK in github)
>>>
>>> Thomas
>>>
>>> ps: update = pip uninstall msnoise + pip install msnoise
>>>
>>>
>>> Le 28/03/2015 13:21, ??? a ?crit :
>>>
>>>> Dear Thomas,
>>>> I run msnoise under my Ubuntu-12.04 and l think it's a user- friendly
>>>> tool.
>>>> I just start to learn this but there's a problem arises while doing the
>>>> stacking process.
>>>> I noticed that you provide data in the folder "tests" as the example,
>> so I
>>>> start my practice here.and the data length is only one day.(could it be
>>>> the
>>>> problem?)
>>>> Everything was fine until stacking.
>>>> I type the comment: msnoise stack -r -m -i 10, and the terminal shows
>>>> these:
>>>>
>>>> 2015-03-28 16:35:16 [DEBUG] Processing 2010_UV05:2010_UV06-ZZ-1
>>>> Traceback (most recent call last):
>>>> File "/home/hung/anaconda/bin/msnoise", line 9, in <module>
>>>> load_entry_point('msnoise==1.3', 'console_scripts', 'msnoise')()
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>> line 306, in run
>>>> cli(obj={})
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>> 3.3-py2.7.egg/click/core.py",
>>>> line 610, in __call__
>>>> return self.main(*args, **kwargs)
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>> 3.3-py2.7.egg/click/core.py",
>>>> line 590, in main
>>>> rv = self.invoke(ctx)
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>> 3.3-py2.7.egg/click/core.py",
>>>> line 936, in invoke
>>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>> 3.3-py2.7.egg/click/core.py",
>>>> line 782, in invoke
>>>> return ctx.invoke(self.callback, **ctx.params)
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>> 3.3-py2.7.egg/click/core.py",
>>>> line 416, in invoke
>>>> return callback(*args, **kwargs)
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>> line 139, in stack
>>>> main('ref', interval)
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>> msnoise-1.3-py2.7.egg/msnoise/s04stack.py",
>>>> line 148, in main
>>>> updated_days = updated_days_for_dates(db, start, end,
>>>> pair.replace('_',
>>>> '.'), type='CC', interval=datetime.timedelta(days=interval),returndays=
>>>> True)
>>>>
>>>> *TypeError: updated_days_for_dates() got an unexpected keyword argument
>>>> 'type'*
>>>> I underline the error line, and I have no idea about that.
>>>> I've been seeking solutions but got less information. Would you please
>>>> tell
>>>> me what's wrong with that?
>>>> I'm appreciated for your help
>>>>
>>>> Charlie Hung
>>>> undergraduate student
>>>> Department of Earth Science, National Central University, R.O.C.
>>>> _______________________________________________
>>>> MSNoise mailing list
>>>> MSNoise(a)mailman-as.oma.be
>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>
>>>
>>> _______________________________________________
>>> MSNoise mailing list
>>> MSNoise(a)mailman-as.oma.be
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>
>>
>> _______________________________________________
>> MSNoise mailing list
>> MSNoise(a)mailman-as.oma.be
>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>
>>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 31 Mar 2015 15:19:22 +0800
> From: ??? <supertyphoon100(a)gmail.com>
> To: Python Package for Monitoring Seismic Velocity Changes using
> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
> Subject: Re: [MSNoise] Stacking problem
> Message-ID:
> <CALV7=wCR=qGCyYT8_0cW7oAJYcFRTzB=xKTRUwwjrSmiiuSCrQ(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Dear Thomas,
> Thank you again, I did fix the problems after I follow your suggestions.
> But...sorry I want to check something more.This might be the final problems
> I have.
>
> 1. Dose msnoise accept SAC data format? what I will do is follow the data
> structure, right ?
> 2. How to define my own station parameters, i.e. decide the X, Y, Z data
> Would these station parameters be inserted by reading the data structure?
> or I have to do it by hand? or...??Well, I revised coordinates by hand on
> the station table...it's ok..??
> Sorry I have less sense about that... but I'm willing to keep learning?
>
> 3. I can run whole process on the workflow. but I can't call some plots
> (mwcs, dvv). i think it might be related to my wrong input of station
> parameter.
>
> I really thank you for teaching me so much, and since I a beginner, I will
> keep learning the concepts of msnoise.
>
>
> Charlie Hung
> undergraduate student
> Department of Earth Science, National Central University, R.O.C.
>
>
> 2015-03-30 23:42 GMT+08:00 Thomas Lecocq <thlecocq(a)gmail.com>:
>
>> Hi,
>>
>> the test data provided is SDS.
>>
>> you have to remove all python source files from previous versions from your
>> current directory. Do not run msnoise from the install folder, so:
>>
>> pip install msnoise
>>
>> cd /home/hung
>> mkdir test
>> cd test
>> msnoise install
>> msnoise config
>> ...
>>
>> do not un MSNoise-Master, only use releases (just install using pip, it's
>> easier & safer).
>>
>> Thomas
>>
>> 2015-03-30 17:10 GMT+02:00 ??? <supertyphoon100(a)gmail.com>:
>>
>>> Dear Thomas,
>>> Thank you for replying promptly !
>>> I followed your suggestion and updated the new version. I restarted the
>>> whole process.But this time, at stacking process,again, shows something
>>> wrong. (I take the test data you provided as the example,and the data
>>> structure follows the " PDF" type, right? sorry I have less concepts
>> about
>>> that... )
>>> Here the terminal printed:
>>>
>>> hung@hung-All-Series:~/msnoise/MSNoise-master/msnoise$ msnoise stack -r
>> -m
>>> -i 10
>>> Lets STACK !
>>> 2015-03-30 21:48:12 [DEBUG] Starting the ref stack
>>>
>>>
>> /home/hung/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py:1032:
>>> UserWarning: /home/hung/.python-eggs is writable by group/others and
>>> vulnerable to attack when used with get_resource_filename. Consider a
>> more
>>> secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE
>>> environment variable).
>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>> 2015-03-30 21:48:12 [DEBUG] Starting the mov stack
>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>
>>> the CC job has marked 'Done'.
>>> By the way, there are 2 strange points confused me while running msnoise
>>> and I want to tell you,
>>>
>>> 1. The CCF data is in the folder "STACK" which is not the name I defined
>> in
>>> the configuration (I used default name "CROSS_CORRELATIONS" as the
>> output )
>>> .
>>> 2. I found out that I couldn't define a new jobs by using " msnoise
>>> new_jobs" commend, it worked until I tried "python s02new_jobs.py"
>>>
>>> Would you please tell me what may cause these problems? I show you the my
>>> configuration table in the attachment, so it might help you point out
>> what
>>> is wrong.
>>>
>>> sorry I got so many problems, but I really like msnoise. It's very
>>> convenience.
>>> And please give me some suggestion to fix the errors.
>>> Thank you in advance.
>>>
>>> Charlie Hung
>>> undergraduate student
>>> Department of Earth Science, National Central University, R.O.C.
>>>
>>>
>>> 2015-03-29 0:27 GMT+08:00 Thomas Lecocq <thomas.lecocq(a)seismology.be>:
>>>
>>>> Hi,
>>>>
>>>> can you update to 1.3.1 and test again ? I can't reproduce the bug
>> (line
>>>> 148 looks OK in github)
>>>>
>>>> Thomas
>>>>
>>>> ps: update = pip uninstall msnoise + pip install msnoise
>>>>
>>>>
>>>> Le 28/03/2015 13:21, ??? a ?crit :
>>>>
>>>>> Dear Thomas,
>>>>> I run msnoise under my Ubuntu-12.04 and l think it's a user- friendly
>>>>> tool.
>>>>> I just start to learn this but there's a problem arises while doing
>> the
>>>>> stacking process.
>>>>> I noticed that you provide data in the folder "tests" as the example,
>>> so I
>>>>> start my practice here.and the data length is only one day.(could it
>> be
>>>>> the
>>>>> problem?)
>>>>> Everything was fine until stacking.
>>>>> I type the comment: msnoise stack -r -m -i 10, and the terminal shows
>>>>> these:
>>>>>
>>>>> 2015-03-28 16:35:16 [DEBUG] Processing 2010_UV05:2010_UV06-ZZ-1
>>>>> Traceback (most recent call last):
>>>>> File "/home/hung/anaconda/bin/msnoise", line 9, in <module>
>>>>> load_entry_point('msnoise==1.3', 'console_scripts', 'msnoise')()
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>>> line 306, in run
>>>>> cli(obj={})
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>> 3.3-py2.7.egg/click/core.py",
>>>>> line 610, in __call__
>>>>> return self.main(*args, **kwargs)
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>> 3.3-py2.7.egg/click/core.py",
>>>>> line 590, in main
>>>>> rv = self.invoke(ctx)
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>> 3.3-py2.7.egg/click/core.py",
>>>>> line 936, in invoke
>>>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>> 3.3-py2.7.egg/click/core.py",
>>>>> line 782, in invoke
>>>>> return ctx.invoke(self.callback, **ctx.params)
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>> 3.3-py2.7.egg/click/core.py",
>>>>> line 416, in invoke
>>>>> return callback(*args, **kwargs)
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>>> line 139, in stack
>>>>> main('ref', interval)
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>> msnoise-1.3-py2.7.egg/msnoise/s04stack.py",
>>>>> line 148, in main
>>>>> updated_days = updated_days_for_dates(db, start, end,
>>>>> pair.replace('_',
>>>>> '.'), type='CC',
>> interval=datetime.timedelta(days=interval),returndays=
>>>>> True)
>>>>>
>>>>> *TypeError: updated_days_for_dates() got an unexpected keyword
>> argument
>>>>> 'type'*
>>>>> I underline the error line, and I have no idea about that.
>>>>> I've been seeking solutions but got less information. Would you please
>>>>> tell
>>>>> me what's wrong with that?
>>>>> I'm appreciated for your help
>>>>>
>>>>> Charlie Hung
>>>>> undergraduate student
>>>>> Department of Earth Science, National Central University, R.O.C.
>>>>> _______________________________________________
>>>>> MSNoise mailing list
>>>>> MSNoise(a)mailman-as.oma.be
>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>
>>>>
>>>> _______________________________________________
>>>> MSNoise mailing list
>>>> MSNoise(a)mailman-as.oma.be
>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>
>>>
>>> _______________________________________________
>>> MSNoise mailing list
>>> MSNoise(a)mailman-as.oma.be
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>
>>>
>> _______________________________________________
>> MSNoise mailing list
>> MSNoise(a)mailman-as.oma.be
>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>
>
>
> ------------------------------
>
> _______________________________________________
> MSNoise mailing list
> MSNoise(a)mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
> End of MSNoise Digest, Vol 15, Issue 4
> **************************************
Thanks Thomas!
-Esteban
> On Mar 31, 2015, at 9:57 AM, msnoise-request(a)mailman-as.oma.be wrote:
>
> Send MSNoise mailing list submissions to
> msnoise(a)mailman-as.oma.be
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman-as.oma.be/mailman/listinfo/msnoise
> or, via email, send a message with subject or body 'help' to
> msnoise-request(a)mailman-as.oma.be
>
> You can reach the person managing the list at
> msnoise-owner(a)mailman-as.oma.be
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MSNoise digest..."
>
>
> Today's Topics:
>
> 1. Re: MSNoise Digest, Vol 15, Issue 5 (Thomas Lecocq)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 31 Mar 2015 17:57:18 +0200
> From: Thomas Lecocq <thomas.lecocq(a)seismology.be>
> To: msnoise(a)mailman-as.oma.be
> Subject: Re: [MSNoise] MSNoise Digest, Vol 15, Issue 5
> Message-ID: <551AC3DE.6060808(a)seismology.be>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
>
> Esteban,
>
> nope, it should come from the database, the "export_format" bit :-)
>
> @Aur?lien: yeahh, I know... you made a point :-)
>
> tom
>
> Le 31/03/2015 17:44, Esteban Chaves a ?crit :
>> Hi Aurelien;
>>
>> You can change that in the s05compute_mwcs.py (lines: 107 and 111) accordingly.
>> I had the same issue, but currently I?m using only SAC format. So I fixed it to SAC.
>>
>> Thomas, maybe could be useful to include a parameter in the command line with the format of the data that the
>> people want to work with for instance: -s (SAC) -m (MSEED)? I Just thought...
>>
>>> On Mar 31, 2015, at 9:26 AM, msnoise-request(a)mailman-as.oma.be wrote:
>>>
>>> Send MSNoise mailing list submissions to
>>> msnoise(a)mailman-as.oma.be
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>> or, via email, send a message with subject or body 'help' to
>>> msnoise-request(a)mailman-as.oma.be
>>>
>>> You can reach the person managing the list at
>>> msnoise-owner(a)mailman-as.oma.be
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of MSNoise digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>> 1. Uncompatibility with CC saved as SAC files (Aur?lien Mordret)
>>> 2. Re: Uncompatibility with CC saved as SAC files (Thomas Lecocq)
>>> 3. Re: Uncompatibility with CC saved as SAC files (Aur?lien Mordret)
>>> 4. Re: MSNoise Digest, Vol 15, Issue 4 (Esteban Chaves)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Tue, 31 Mar 2015 10:06:43 -0400
>>> From: Aur?lien Mordret <mordret(a)mit.edu>
>>> To: Python Package for Monitoring Seismic Velocity Changes using
>>> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
>>> Subject: [MSNoise] Uncompatibility with CC saved as SAC files
>>> Message-ID:
>>> <CA+o6fp2ptOtgHvmKxrmDBsfMxPzPOiHd5-SvzABwzzz+q1svmQ(a)mail.gmail.com>
>>> Content-Type: text/plain; charset=UTF-8
>>>
>>> Hi Thomas,
>>>
>>>
>>> Great job for the 1.3.1 MSNoise version!
>>>
>>> I have however encountered a problem when computing the MWCS: the function
>>> only takes Miniseed files as input, which is no compatible with the fact
>>> that you can save the CC as SAC files.
>>>
>>>
>>> Here is the error below.
>>>
>>> Cheers,
>>>
>>> Aurelien
>>>
>>>
>>>
>>> Traceback (most recent call last):
>>> File "/usr/local/bin/msnoise", line 9, in <module>
>>> load_entry_point('msnoise==1.3.1', 'console_scripts', 'msnoise')()
>>> File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/msnoise.py",
>>> line 393, in run
>>> cli(obj={})
>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in
>>> __call__
>>> return self.main(*args, **kwargs)
>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in
>>> main
>>> rv = self.invoke(ctx)
>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in
>>> invoke
>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in
>>> invoke
>>> return ctx.invoke(self.callback, **ctx.params)
>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in
>>> invoke
>>> return callback(*args, **kwargs)
>>> File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/msnoise.py",
>>> line 199, in compute_mwcs
>>> main()
>>> File "/usr/local/lib/python2.7/dist-packages/msnoise/s05compute_mwcs.py",
>>> line 110, in main
>>> ref = read(rf)[0].data
>>> File
>>> "/usr/local/lib/python2.7/dist-packages/obspy/core/util/decorator.py", line
>>> 371, in new_func
>>> return func(*args, **kwargs)
>>> File "/usr/local/lib/python2.7/dist-packages/obspy/core/stream.py", line
>>> 224, in read
>>> raise IOError(2, "No such file or directory", pathname)
>>> IOError: [Errno 2] No such file or directory:
>>> 'STACKS/01/REF/ZZ/DK_ANGG_DK_ANGG.MSEED'
>>>
>>>
>>> --
>>> ==========================
>>>
>>> Postdoctoral fellow
>>> Department of Earth, Atmospheric and Planetary Sciences
>>> Massachusetts Institute of Technology
>>> 54-526
>>> Cambridge, MA 02139-4307
>>> e-mail: mordret(a)mit.edu
>>> web: http://web.mit.edu/mordret/www
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Tue, 31 Mar 2015 16:15:33 +0200
>>> From: Thomas Lecocq <thomas.lecocq(a)seismology.be>
>>> To: msnoise(a)mailman-as.oma.be
>>> Subject: Re: [MSNoise] Uncompatibility with CC saved as SAC files
>>> Message-ID: <551AAC05.9020009(a)seismology.be>
>>> Content-Type: text/plain; charset=windows-1252; format=flowed
>>>
>>> Hi Aur?lien !
>>>
>>> Le 31/03/2015 16:06, Aur?lien Mordret a ?crit :
>>>> Hi Thomas,
>>>>
>>>>
>>>> Great job for the 1.3.1 MSNoise version!
>>> Thanks!
>>>> I have however encountered a problem when computing the MWCS: the function
>>>> only takes Miniseed files as input, which is no compatible with the fact
>>>> that you can save the CC as SAC files.
>>> Aha ! Indeed... Why would one still work with SAC anyway :-)
>>>
>>> Until I provide a bugfix, hack the code at two places:
>>> https://github.com/ROBelgium/MSNoise/blob/master/msnoise/s05compute_mwcs.py…
>>> and
>>> https://github.com/ROBelgium/MSNoise/blob/master/msnoise/s05compute_mwcs.py…
>>>
>>> Let me know,
>>>
>>> Tom
>>>
>>>>
>>>> Here is the error below.
>>>>
>>>> Cheers,
>>>>
>>>> Aurelien
>>>>
>>>>
>>>>
>>>> Traceback (most recent call last):
>>>> File "/usr/local/bin/msnoise", line 9, in <module>
>>>> load_entry_point('msnoise==1.3.1', 'console_scripts', 'msnoise')()
>>>> File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/msnoise.py",
>>>> line 393, in run
>>>> cli(obj={})
>>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in
>>>> __call__
>>>> return self.main(*args, **kwargs)
>>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in
>>>> main
>>>> rv = self.invoke(ctx)
>>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in
>>>> invoke
>>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in
>>>> invoke
>>>> return ctx.invoke(self.callback, **ctx.params)
>>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in
>>>> invoke
>>>> return callback(*args, **kwargs)
>>>> File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/msnoise.py",
>>>> line 199, in compute_mwcs
>>>> main()
>>>> File "/usr/local/lib/python2.7/dist-packages/msnoise/s05compute_mwcs.py",
>>>> line 110, in main
>>>> ref = read(rf)[0].data
>>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/obspy/core/util/decorator.py", line
>>>> 371, in new_func
>>>> return func(*args, **kwargs)
>>>> File "/usr/local/lib/python2.7/dist-packages/obspy/core/stream.py", line
>>>> 224, in read
>>>> raise IOError(2, "No such file or directory", pathname)
>>>> IOError: [Errno 2] No such file or directory:
>>>> 'STACKS/01/REF/ZZ/DK_ANGG_DK_ANGG.MSEED'
>>>>
>>>>
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 3
>>> Date: Tue, 31 Mar 2015 11:20:14 -0400
>>> From: Aur?lien Mordret <mordret(a)mit.edu>
>>> To: Python Package for Monitoring Seismic Velocity Changes using
>>> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
>>> Subject: Re: [MSNoise] Uncompatibility with CC saved as SAC files
>>> Message-ID:
>>> <CA+o6fp1y4TDNHdTGVmMUbtUd7cVm_OkbbOJJFZBzxGnFMfVBGA(a)mail.gmail.com>
>>> Content-Type: text/plain; charset=UTF-8
>>>
>>> Hi,
>>>
>>> Thanks,
>>>
>>> I fix it, it works.
>>>
>>> SAC is nice because of the metadata coming with the data. For a correlation
>>> file, the possibility to have the event coordinates as well as the station
>>> coordinates in the header is very convenient because you can fill the event
>>> coordinates with STA1 coordinates and station coordinates with STA2
>>> coordinates. So distance, azimuth and back-azimuth are easily (and
>>> automatically) computed.
>>>
>>> And I developed a code to automatically compute group velocity dispersion
>>> curves from CC, which reads the distance between the stations in the
>>> header, without the need of other metadata file. ;)
>>>
>>> Cheers,
>>>
>>> Aurelien
>>>
>>>
>>> 2015-03-31 10:15 GMT-04:00 Thomas Lecocq <thomas.lecocq(a)seismology.be>:
>>>
>>>> Hi Aur?lien !
>>>>
>>>> Le 31/03/2015 16:06, Aur?lien Mordret a ?crit :
>>>>
>>>>> Hi Thomas,
>>>>>
>>>>>
>>>>> Great job for the 1.3.1 MSNoise version!
>>>>>
>>>> Thanks!
>>>>
>>>>> I have however encountered a problem when computing the MWCS: the function
>>>>> only takes Miniseed files as input, which is no compatible with the fact
>>>>> that you can save the CC as SAC files.
>>>>>
>>>> Aha ! Indeed... Why would one still work with SAC anyway :-)
>>>>
>>>> Until I provide a bugfix, hack the code at two places:
>>>> https://github.com/ROBelgium/MSNoise/blob/master/msnoise/
>>>> s05compute_mwcs.py#L109
>>>> and
>>>> https://github.com/ROBelgium/MSNoise/blob/master/msnoise/
>>>> s05compute_mwcs.py#L115
>>>>
>>>> Let me know,
>>>>
>>>> Tom
>>>>
>>>>
>>>>
>>>>> Here is the error below.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Aurelien
>>>>>
>>>>>
>>>>>
>>>>> Traceback (most recent call last):
>>>>> File "/usr/local/bin/msnoise", line 9, in <module>
>>>>> load_entry_point('msnoise==1.3.1', 'console_scripts', 'msnoise')()
>>>>> File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/
>>>>> msnoise.py",
>>>>> line 393, in run
>>>>> cli(obj={})
>>>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line
>>>>> 610, in
>>>>> __call__
>>>>> return self.main(*args, **kwargs)
>>>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line
>>>>> 590, in
>>>>> main
>>>>> rv = self.invoke(ctx)
>>>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line
>>>>> 936, in
>>>>> invoke
>>>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line
>>>>> 782, in
>>>>> invoke
>>>>> return ctx.invoke(self.callback, **ctx.params)
>>>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line
>>>>> 416, in
>>>>> invoke
>>>>> return callback(*args, **kwargs)
>>>>> File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/
>>>>> msnoise.py",
>>>>> line 199, in compute_mwcs
>>>>> main()
>>>>> File "/usr/local/lib/python2.7/dist-packages/msnoise/
>>>>> s05compute_mwcs.py",
>>>>> line 110, in main
>>>>> ref = read(rf)[0].data
>>>>> File
>>>>> "/usr/local/lib/python2.7/dist-packages/obspy/core/util/decorator.py",
>>>>> line
>>>>> 371, in new_func
>>>>> return func(*args, **kwargs)
>>>>> File "/usr/local/lib/python2.7/dist-packages/obspy/core/stream.py",
>>>>> line
>>>>> 224, in read
>>>>> raise IOError(2, "No such file or directory", pathname)
>>>>> IOError: [Errno 2] No such file or directory:
>>>>> 'STACKS/01/REF/ZZ/DK_ANGG_DK_ANGG.MSEED'
>>>>>
>>>>>
>>>>>
>>>> _______________________________________________
>>>> MSNoise mailing list
>>>> MSNoise(a)mailman-as.oma.be
>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>
>>>
>>>
>>> --
>>> ==========================
>>>
>>> Postdoctoral fellow
>>> Department of Earth, Atmospheric and Planetary Sciences
>>> Massachusetts Institute of Technology
>>> 54-526
>>> Cambridge, MA 02139-4307
>>> e-mail: mordret(a)mit.edu
>>> web: http://web.mit.edu/mordret/www
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 4
>>> Date: Tue, 31 Mar 2015 09:26:15 -0600
>>> From: Esteban Chaves <echfisica(a)gmail.com>
>>> To: msnoise(a)mailman-as.oma.be
>>> Subject: Re: [MSNoise] MSNoise Digest, Vol 15, Issue 4
>>> Message-ID: <290C0B70-76F9-40A8-8DCB-4FF6F307C522(a)gmail.com>
>>> Content-Type: text/plain; charset=us-ascii
>>>
>>> Charlie;
>>>
>>> Are you having problems with the cross-correlation process?
>>> Did you check the directory ~/STACKS/01/001_DAYS/*?
>>> You must have some results for each station pair.
>>> Anyhow, could we see your config and filters table?
>>>
>>> - Esteban
>>> PhD Student in Seismology
>>> UC Santa Cruz
>>>
>>>> On Mar 31, 2015, at 6:00 AM, msnoise-request(a)mailman-as.oma.be wrote:
>>>>
>>>> Send MSNoise mailing list submissions to
>>>> msnoise(a)mailman-as.oma.be
>>>>
>>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>> or, via email, send a message with subject or body 'help' to
>>>> msnoise-request(a)mailman-as.oma.be
>>>>
>>>> You can reach the person managing the list at
>>>> msnoise-owner(a)mailman-as.oma.be
>>>>
>>>> When replying, please edit your Subject line so it is more specific
>>>> than "Re: Contents of MSNoise digest..."
>>>>
>>>>
>>>> Today's Topics:
>>>>
>>>> 1. Re: Stacking problem (???)
>>>> 2. Re: Stacking problem (Thomas Lecocq)
>>>> 3. Re: Stacking problem (???)
>>>>
>>>>
>>>> ----------------------------------------------------------------------
>>>>
>>>> Message: 1
>>>> Date: Mon, 30 Mar 2015 23:10:08 +0800
>>>> From: ??? <supertyphoon100(a)gmail.com>
>>>> To: Python Package for Monitoring Seismic Velocity Changes using
>>>> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
>>>> Subject: Re: [MSNoise] Stacking problem
>>>> Message-ID:
>>>> <CALV7=wCqpBJfk53sSNx-e8+uFjYVGwSOcpn-S3kS-Xi=jceYDQ(a)mail.gmail.com>
>>>> Content-Type: text/plain; charset="utf-8"
>>>>
>>>> Dear Thomas,
>>>> Thank you for replying promptly !
>>>> I followed your suggestion and updated the new version. I restarted the
>>>> whole process.But this time, at stacking process,again, shows something
>>>> wrong. (I take the test data you provided as the example,and the data
>>>> structure follows the " PDF" type, right? sorry I have less concepts about
>>>> that... )
>>>> Here the terminal printed:
>>>>
>>>> hung@hung-All-Series:~/msnoise/MSNoise-master/msnoise$ msnoise stack -r -m
>>>> -i 10
>>>> Lets STACK !
>>>> 2015-03-30 21:48:12 [DEBUG] Starting the ref stack
>>>> /home/hung/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py:1032:
>>>> UserWarning: /home/hung/.python-eggs is writable by group/others and
>>>> vulnerable to attack when used with get_resource_filename. Consider a more
>>>> secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE
>>>> environment variable).
>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>> 2015-03-30 21:48:12 [DEBUG] Starting the mov stack
>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>
>>>> the CC job has marked 'Done'.
>>>> By the way, there are 2 strange points confused me while running msnoise
>>>> and I want to tell you,
>>>>
>>>> 1. The CCF data is in the folder "STACK" which is not the name I defined in
>>>> the configuration (I used default name "CROSS_CORRELATIONS" as the output )
>>>> .
>>>> 2. I found out that I couldn't define a new jobs by using " msnoise
>>>> new_jobs" commend, it worked until I tried "python s02new_jobs.py"
>>>>
>>>> Would you please tell me what may cause these problems? I show you the my
>>>> configuration table in the attachment, so it might help you point out what
>>>> is wrong.
>>>>
>>>> sorry I got so many problems, but I really like msnoise. It's very
>>>> convenience.
>>>> And please give me some suggestion to fix the errors.
>>>> Thank you in advance.
>>>>
>>>> Charlie Hung
>>>> undergraduate student
>>>> Department of Earth Science, National Central University, R.O.C.
>>>>
>>>>
>>>> 2015-03-29 0:27 GMT+08:00 Thomas Lecocq <thomas.lecocq(a)seismology.be>:
>>>>
>>>>> Hi,
>>>>>
>>>>> can you update to 1.3.1 and test again ? I can't reproduce the bug (line
>>>>> 148 looks OK in github)
>>>>>
>>>>> Thomas
>>>>>
>>>>> ps: update = pip uninstall msnoise + pip install msnoise
>>>>>
>>>>>
>>>>> Le 28/03/2015 13:21, ??? a ?crit :
>>>>>
>>>>>> Dear Thomas,
>>>>>> I run msnoise under my Ubuntu-12.04 and l think it's a user- friendly
>>>>>> tool.
>>>>>> I just start to learn this but there's a problem arises while doing the
>>>>>> stacking process.
>>>>>> I noticed that you provide data in the folder "tests" as the example, so I
>>>>>> start my practice here.and the data length is only one day.(could it be
>>>>>> the
>>>>>> problem?)
>>>>>> Everything was fine until stacking.
>>>>>> I type the comment: msnoise stack -r -m -i 10, and the terminal shows
>>>>>> these:
>>>>>>
>>>>>> 2015-03-28 16:35:16 [DEBUG] Processing 2010_UV05:2010_UV06-ZZ-1
>>>>>> Traceback (most recent call last):
>>>>>> File "/home/hung/anaconda/bin/msnoise", line 9, in <module>
>>>>>> load_entry_point('msnoise==1.3', 'console_scripts', 'msnoise')()
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>>>> line 306, in run
>>>>>> cli(obj={})
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>> line 610, in __call__
>>>>>> return self.main(*args, **kwargs)
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>> line 590, in main
>>>>>> rv = self.invoke(ctx)
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>> line 936, in invoke
>>>>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>> line 782, in invoke
>>>>>> return ctx.invoke(self.callback, **ctx.params)
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>> line 416, in invoke
>>>>>> return callback(*args, **kwargs)
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>>>> line 139, in stack
>>>>>> main('ref', interval)
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>>> msnoise-1.3-py2.7.egg/msnoise/s04stack.py",
>>>>>> line 148, in main
>>>>>> updated_days = updated_days_for_dates(db, start, end,
>>>>>> pair.replace('_',
>>>>>> '.'), type='CC', interval=datetime.timedelta(days=interval),returndays=
>>>>>> True)
>>>>>>
>>>>>> *TypeError: updated_days_for_dates() got an unexpected keyword argument
>>>>>> 'type'*
>>>>>> I underline the error line, and I have no idea about that.
>>>>>> I've been seeking solutions but got less information. Would you please
>>>>>> tell
>>>>>> me what's wrong with that?
>>>>>> I'm appreciated for your help
>>>>>>
>>>>>> Charlie Hung
>>>>>> undergraduate student
>>>>>> Department of Earth Science, National Central University, R.O.C.
>>>>>> _______________________________________________
>>>>>> MSNoise mailing list
>>>>>> MSNoise(a)mailman-as.oma.be
>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>>
>>>>> _______________________________________________
>>>>> MSNoise mailing list
>>>>> MSNoise(a)mailman-as.oma.be
>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>
>>>> ------------------------------
>>>>
>>>> Message: 2
>>>> Date: Mon, 30 Mar 2015 17:42:25 +0200
>>>> From: Thomas Lecocq <thlecocq(a)gmail.com>
>>>> To: Python Package for Monitoring Seismic Velocity Changes using
>>>> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
>>>> Subject: Re: [MSNoise] Stacking problem
>>>> Message-ID:
>>>> <CA+U7X7sctr3pCZis30PQTTZtyoWPGF+OOGeBF8m5urp0GJrWzg(a)mail.gmail.com>
>>>> Content-Type: text/plain; charset=UTF-8
>>>>
>>>> Hi,
>>>>
>>>> the test data provided is SDS.
>>>>
>>>> you have to remove all python source files from previous versions from your
>>>> current directory. Do not run msnoise from the install folder, so:
>>>>
>>>> pip install msnoise
>>>>
>>>> cd /home/hung
>>>> mkdir test
>>>> cd test
>>>> msnoise install
>>>> msnoise config
>>>> ...
>>>>
>>>> do not un MSNoise-Master, only use releases (just install using pip, it's
>>>> easier & safer).
>>>>
>>>> Thomas
>>>>
>>>> 2015-03-30 17:10 GMT+02:00 ??? <supertyphoon100(a)gmail.com>:
>>>>
>>>>> Dear Thomas,
>>>>> Thank you for replying promptly !
>>>>> I followed your suggestion and updated the new version. I restarted the
>>>>> whole process.But this time, at stacking process,again, shows something
>>>>> wrong. (I take the test data you provided as the example,and the data
>>>>> structure follows the " PDF" type, right? sorry I have less concepts about
>>>>> that... )
>>>>> Here the terminal printed:
>>>>>
>>>>> hung@hung-All-Series:~/msnoise/MSNoise-master/msnoise$ msnoise stack -r -m
>>>>> -i 10
>>>>> Lets STACK !
>>>>> 2015-03-30 21:48:12 [DEBUG] Starting the ref stack
>>>>>
>>>>> /home/hung/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py:1032:
>>>>> UserWarning: /home/hung/.python-eggs is writable by group/others and
>>>>> vulnerable to attack when used with get_resource_filename. Consider a more
>>>>> secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE
>>>>> environment variable).
>>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>> 2015-03-30 21:48:12 [DEBUG] Starting the mov stack
>>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>>
>>>>> the CC job has marked 'Done'.
>>>>> By the way, there are 2 strange points confused me while running msnoise
>>>>> and I want to tell you,
>>>>>
>>>>> 1. The CCF data is in the folder "STACK" which is not the name I defined in
>>>>> the configuration (I used default name "CROSS_CORRELATIONS" as the output )
>>>>> .
>>>>> 2. I found out that I couldn't define a new jobs by using " msnoise
>>>>> new_jobs" commend, it worked until I tried "python s02new_jobs.py"
>>>>>
>>>>> Would you please tell me what may cause these problems? I show you the my
>>>>> configuration table in the attachment, so it might help you point out what
>>>>> is wrong.
>>>>>
>>>>> sorry I got so many problems, but I really like msnoise. It's very
>>>>> convenience.
>>>>> And please give me some suggestion to fix the errors.
>>>>> Thank you in advance.
>>>>>
>>>>> Charlie Hung
>>>>> undergraduate student
>>>>> Department of Earth Science, National Central University, R.O.C.
>>>>>
>>>>>
>>>>> 2015-03-29 0:27 GMT+08:00 Thomas Lecocq <thomas.lecocq(a)seismology.be>:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> can you update to 1.3.1 and test again ? I can't reproduce the bug (line
>>>>>> 148 looks OK in github)
>>>>>>
>>>>>> Thomas
>>>>>>
>>>>>> ps: update = pip uninstall msnoise + pip install msnoise
>>>>>>
>>>>>>
>>>>>> Le 28/03/2015 13:21, ??? a ?crit :
>>>>>>
>>>>>>> Dear Thomas,
>>>>>>> I run msnoise under my Ubuntu-12.04 and l think it's a user- friendly
>>>>>>> tool.
>>>>>>> I just start to learn this but there's a problem arises while doing the
>>>>>>> stacking process.
>>>>>>> I noticed that you provide data in the folder "tests" as the example,
>>>>> so I
>>>>>>> start my practice here.and the data length is only one day.(could it be
>>>>>>> the
>>>>>>> problem?)
>>>>>>> Everything was fine until stacking.
>>>>>>> I type the comment: msnoise stack -r -m -i 10, and the terminal shows
>>>>>>> these:
>>>>>>>
>>>>>>> 2015-03-28 16:35:16 [DEBUG] Processing 2010_UV05:2010_UV06-ZZ-1
>>>>>>> Traceback (most recent call last):
>>>>>>> File "/home/hung/anaconda/bin/msnoise", line 9, in <module>
>>>>>>> load_entry_point('msnoise==1.3', 'console_scripts', 'msnoise')()
>>>>>>> File
>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>>>>> line 306, in run
>>>>>>> cli(obj={})
>>>>>>> File
>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>>> line 610, in __call__
>>>>>>> return self.main(*args, **kwargs)
>>>>>>> File
>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>>> line 590, in main
>>>>>>> rv = self.invoke(ctx)
>>>>>>> File
>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>>> line 936, in invoke
>>>>>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>>>>>> File
>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>>> line 782, in invoke
>>>>>>> return ctx.invoke(self.callback, **ctx.params)
>>>>>>> File
>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>>> line 416, in invoke
>>>>>>> return callback(*args, **kwargs)
>>>>>>> File
>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>>>>> line 139, in stack
>>>>>>> main('ref', interval)
>>>>>>> File
>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>>>> msnoise-1.3-py2.7.egg/msnoise/s04stack.py",
>>>>>>> line 148, in main
>>>>>>> updated_days = updated_days_for_dates(db, start, end,
>>>>>>> pair.replace('_',
>>>>>>> '.'), type='CC', interval=datetime.timedelta(days=interval),returndays=
>>>>>>> True)
>>>>>>>
>>>>>>> *TypeError: updated_days_for_dates() got an unexpected keyword argument
>>>>>>> 'type'*
>>>>>>> I underline the error line, and I have no idea about that.
>>>>>>> I've been seeking solutions but got less information. Would you please
>>>>>>> tell
>>>>>>> me what's wrong with that?
>>>>>>> I'm appreciated for your help
>>>>>>>
>>>>>>> Charlie Hung
>>>>>>> undergraduate student
>>>>>>> Department of Earth Science, National Central University, R.O.C.
>>>>>>> _______________________________________________
>>>>>>> MSNoise mailing list
>>>>>>> MSNoise(a)mailman-as.oma.be
>>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>>>
>>>>>> _______________________________________________
>>>>>> MSNoise mailing list
>>>>>> MSNoise(a)mailman-as.oma.be
>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>>
>>>>> _______________________________________________
>>>>> MSNoise mailing list
>>>>> MSNoise(a)mailman-as.oma.be
>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>
>>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> Message: 3
>>>> Date: Tue, 31 Mar 2015 15:19:22 +0800
>>>> From: ??? <supertyphoon100(a)gmail.com>
>>>> To: Python Package for Monitoring Seismic Velocity Changes using
>>>> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
>>>> Subject: Re: [MSNoise] Stacking problem
>>>> Message-ID:
>>>> <CALV7=wCR=qGCyYT8_0cW7oAJYcFRTzB=xKTRUwwjrSmiiuSCrQ(a)mail.gmail.com>
>>>> Content-Type: text/plain; charset=UTF-8
>>>>
>>>> Dear Thomas,
>>>> Thank you again, I did fix the problems after I follow your suggestions.
>>>> But...sorry I want to check something more.This might be the final problems
>>>> I have.
>>>>
>>>> 1. Dose msnoise accept SAC data format? what I will do is follow the data
>>>> structure, right ?
>>>> 2. How to define my own station parameters, i.e. decide the X, Y, Z data
>>>> Would these station parameters be inserted by reading the data structure?
>>>> or I have to do it by hand? or...??Well, I revised coordinates by hand on
>>>> the station table...it's ok..??
>>>> Sorry I have less sense about that... but I'm willing to keep learning?
>>>>
>>>> 3. I can run whole process on the workflow. but I can't call some plots
>>>> (mwcs, dvv). i think it might be related to my wrong input of station
>>>> parameter.
>>>>
>>>> I really thank you for teaching me so much, and since I a beginner, I will
>>>> keep learning the concepts of msnoise.
>>>>
>>>>
>>>> Charlie Hung
>>>> undergraduate student
>>>> Department of Earth Science, National Central University, R.O.C.
>>>>
>>>>
>>>> 2015-03-30 23:42 GMT+08:00 Thomas Lecocq <thlecocq(a)gmail.com>:
>>>>
>>>>> Hi,
>>>>>
>>>>> the test data provided is SDS.
>>>>>
>>>>> you have to remove all python source files from previous versions from your
>>>>> current directory. Do not run msnoise from the install folder, so:
>>>>>
>>>>> pip install msnoise
>>>>>
>>>>> cd /home/hung
>>>>> mkdir test
>>>>> cd test
>>>>> msnoise install
>>>>> msnoise config
>>>>> ...
>>>>>
>>>>> do not un MSNoise-Master, only use releases (just install using pip, it's
>>>>> easier & safer).
>>>>>
>>>>> Thomas
>>>>>
>>>>> 2015-03-30 17:10 GMT+02:00 ??? <supertyphoon100(a)gmail.com>:
>>>>>
>>>>>> Dear Thomas,
>>>>>> Thank you for replying promptly !
>>>>>> I followed your suggestion and updated the new version. I restarted the
>>>>>> whole process.But this time, at stacking process,again, shows something
>>>>>> wrong. (I take the test data you provided as the example,and the data
>>>>>> structure follows the " PDF" type, right? sorry I have less concepts
>>>>> about
>>>>>> that... )
>>>>>> Here the terminal printed:
>>>>>>
>>>>>> hung@hung-All-Series:~/msnoise/MSNoise-master/msnoise$ msnoise stack -r
>>>>> -m
>>>>>> -i 10
>>>>>> Lets STACK !
>>>>>> 2015-03-30 21:48:12 [DEBUG] Starting the ref stack
>>>>>>
>>>>>>
>>>>> /home/hung/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py:1032:
>>>>>> UserWarning: /home/hung/.python-eggs is writable by group/others and
>>>>>> vulnerable to attack when used with get_resource_filename. Consider a
>>>>> more
>>>>>> secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE
>>>>>> environment variable).
>>>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>>>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>>>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>>>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>>> 2015-03-30 21:48:12 [DEBUG] Starting the mov stack
>>>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>>>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>>>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>>>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>>>
>>>>>> the CC job has marked 'Done'.
>>>>>> By the way, there are 2 strange points confused me while running msnoise
>>>>>> and I want to tell you,
>>>>>>
>>>>>> 1. The CCF data is in the folder "STACK" which is not the name I defined
>>>>> in
>>>>>> the configuration (I used default name "CROSS_CORRELATIONS" as the
>>>>> output )
>>>>>> .
>>>>>> 2. I found out that I couldn't define a new jobs by using " msnoise
>>>>>> new_jobs" commend, it worked until I tried "python s02new_jobs.py"
>>>>>>
>>>>>> Would you please tell me what may cause these problems? I show you the my
>>>>>> configuration table in the attachment, so it might help you point out
>>>>> what
>>>>>> is wrong.
>>>>>>
>>>>>> sorry I got so many problems, but I really like msnoise. It's very
>>>>>> convenience.
>>>>>> And please give me some suggestion to fix the errors.
>>>>>> Thank you in advance.
>>>>>>
>>>>>> Charlie Hung
>>>>>> undergraduate student
>>>>>> Department of Earth Science, National Central University, R.O.C.
>>>>>>
>>>>>>
>>>>>> 2015-03-29 0:27 GMT+08:00 Thomas Lecocq <thomas.lecocq(a)seismology.be>:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> can you update to 1.3.1 and test again ? I can't reproduce the bug
>>>>> (line
>>>>>>> 148 looks OK in github)
>>>>>>>
>>>>>>> Thomas
>>>>>>>
>>>>>>> ps: update = pip uninstall msnoise + pip install msnoise
>>>>>>>
>>>>>>>
>>>>>>> Le 28/03/2015 13:21, ??? a ?crit :
>>>>>>>
>>>>>>>> Dear Thomas,
>>>>>>>> I run msnoise under my Ubuntu-12.04 and l think it's a user- friendly
>>>>>>>> tool.
>>>>>>>> I just start to learn this but there's a problem arises while doing
>>>>> the
>>>>>>>> stacking process.
>>>>>>>> I noticed that you provide data in the folder "tests" as the example,
>>>>>> so I
>>>>>>>> start my practice here.and the data length is only one day.(could it
>>>>> be
>>>>>>>> the
>>>>>>>> problem?)
>>>>>>>> Everything was fine until stacking.
>>>>>>>> I type the comment: msnoise stack -r -m -i 10, and the terminal shows
>>>>>>>> these:
>>>>>>>>
>>>>>>>> 2015-03-28 16:35:16 [DEBUG] Processing 2010_UV05:2010_UV06-ZZ-1
>>>>>>>> Traceback (most recent call last):
>>>>>>>> File "/home/hung/anaconda/bin/msnoise", line 9, in <module>
>>>>>>>> load_entry_point('msnoise==1.3', 'console_scripts', 'msnoise')()
>>>>>>>> File
>>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>>>>>> line 306, in run
>>>>>>>> cli(obj={})
>>>>>>>> File
>>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>>>> line 610, in __call__
>>>>>>>> return self.main(*args, **kwargs)
>>>>>>>> File
>>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>>>> line 590, in main
>>>>>>>> rv = self.invoke(ctx)
>>>>>>>> File
>>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>>>> line 936, in invoke
>>>>>>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>>>>>>> File
>>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>>>> line 782, in invoke
>>>>>>>> return ctx.invoke(self.callback, **ctx.params)
>>>>>>>> File
>>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>>>> line 416, in invoke
>>>>>>>> return callback(*args, **kwargs)
>>>>>>>> File
>>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>>>>>> line 139, in stack
>>>>>>>> main('ref', interval)
>>>>>>>> File
>>>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>>>>> msnoise-1.3-py2.7.egg/msnoise/s04stack.py",
>>>>>>>> line 148, in main
>>>>>>>> updated_days = updated_days_for_dates(db, start, end,
>>>>>>>> pair.replace('_',
>>>>>>>> '.'), type='CC',
>>>>> interval=datetime.timedelta(days=interval),returndays=
>>>>>>>> True)
>>>>>>>>
>>>>>>>> *TypeError: updated_days_for_dates() got an unexpected keyword
>>>>> argument
>>>>>>>> 'type'*
>>>>>>>> I underline the error line, and I have no idea about that.
>>>>>>>> I've been seeking solutions but got less information. Would you please
>>>>>>>> tell
>>>>>>>> me what's wrong with that?
>>>>>>>> I'm appreciated for your help
>>>>>>>>
>>>>>>>> Charlie Hung
>>>>>>>> undergraduate student
>>>>>>>> Department of Earth Science, National Central University, R.O.C.
>>>>>>>> _______________________________________________
>>>>>>>> MSNoise mailing list
>>>>>>>> MSNoise(a)mailman-as.oma.be
>>>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> MSNoise mailing list
>>>>>>> MSNoise(a)mailman-as.oma.be
>>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>>>
>>>>>> _______________________________________________
>>>>>> MSNoise mailing list
>>>>>> MSNoise(a)mailman-as.oma.be
>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> MSNoise mailing list
>>>>> MSNoise(a)mailman-as.oma.be
>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> _______________________________________________
>>>> MSNoise mailing list
>>>> MSNoise(a)mailman-as.oma.be
>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>
>>>>
>>>> End of MSNoise Digest, Vol 15, Issue 4
>>>> **************************************
>>>
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> MSNoise mailing list
>>> MSNoise(a)mailman-as.oma.be
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>
>>>
>>> End of MSNoise Digest, Vol 15, Issue 5
>>> **************************************
>> _______________________________________________
>> MSNoise mailing list
>> MSNoise(a)mailman-as.oma.be
>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
>
> ------------------------------
>
> _______________________________________________
> MSNoise mailing list
> MSNoise(a)mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
> End of MSNoise Digest, Vol 15, Issue 7
> **************************************
Hi Aurelien;
You can change that in the s05compute_mwcs.py (lines: 107 and 111) accordingly.
I had the same issue, but currently I’m using only SAC format. So I fixed it to SAC.
Thomas, maybe could be useful to include a parameter in the command line with the format of the data that the
people want to work with for instance: -s (SAC) -m (MSEED)… I Just thought...
> On Mar 31, 2015, at 9:26 AM, msnoise-request(a)mailman-as.oma.be wrote:
>
> Send MSNoise mailing list submissions to
> msnoise(a)mailman-as.oma.be
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman-as.oma.be/mailman/listinfo/msnoise
> or, via email, send a message with subject or body 'help' to
> msnoise-request(a)mailman-as.oma.be
>
> You can reach the person managing the list at
> msnoise-owner(a)mailman-as.oma.be
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MSNoise digest..."
>
>
> Today's Topics:
>
> 1. Uncompatibility with CC saved as SAC files (Aur?lien Mordret)
> 2. Re: Uncompatibility with CC saved as SAC files (Thomas Lecocq)
> 3. Re: Uncompatibility with CC saved as SAC files (Aur?lien Mordret)
> 4. Re: MSNoise Digest, Vol 15, Issue 4 (Esteban Chaves)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 31 Mar 2015 10:06:43 -0400
> From: Aur?lien Mordret <mordret(a)mit.edu>
> To: Python Package for Monitoring Seismic Velocity Changes using
> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
> Subject: [MSNoise] Uncompatibility with CC saved as SAC files
> Message-ID:
> <CA+o6fp2ptOtgHvmKxrmDBsfMxPzPOiHd5-SvzABwzzz+q1svmQ(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi Thomas,
>
>
> Great job for the 1.3.1 MSNoise version!
>
> I have however encountered a problem when computing the MWCS: the function
> only takes Miniseed files as input, which is no compatible with the fact
> that you can save the CC as SAC files.
>
>
> Here is the error below.
>
> Cheers,
>
> Aurelien
>
>
>
> Traceback (most recent call last):
> File "/usr/local/bin/msnoise", line 9, in <module>
> load_entry_point('msnoise==1.3.1', 'console_scripts', 'msnoise')()
> File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/msnoise.py",
> line 393, in run
> cli(obj={})
> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in
> __call__
> return self.main(*args, **kwargs)
> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in
> main
> rv = self.invoke(ctx)
> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in
> invoke
> return _process_result(sub_ctx.command.invoke(sub_ctx))
> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in
> invoke
> return ctx.invoke(self.callback, **ctx.params)
> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in
> invoke
> return callback(*args, **kwargs)
> File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/msnoise.py",
> line 199, in compute_mwcs
> main()
> File "/usr/local/lib/python2.7/dist-packages/msnoise/s05compute_mwcs.py",
> line 110, in main
> ref = read(rf)[0].data
> File
> "/usr/local/lib/python2.7/dist-packages/obspy/core/util/decorator.py", line
> 371, in new_func
> return func(*args, **kwargs)
> File "/usr/local/lib/python2.7/dist-packages/obspy/core/stream.py", line
> 224, in read
> raise IOError(2, "No such file or directory", pathname)
> IOError: [Errno 2] No such file or directory:
> 'STACKS/01/REF/ZZ/DK_ANGG_DK_ANGG.MSEED'
>
>
> --
> ==========================
>
> Postdoctoral fellow
> Department of Earth, Atmospheric and Planetary Sciences
> Massachusetts Institute of Technology
> 54-526
> Cambridge, MA 02139-4307
> e-mail: mordret(a)mit.edu
> web: http://web.mit.edu/mordret/www
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 31 Mar 2015 16:15:33 +0200
> From: Thomas Lecocq <thomas.lecocq(a)seismology.be>
> To: msnoise(a)mailman-as.oma.be
> Subject: Re: [MSNoise] Uncompatibility with CC saved as SAC files
> Message-ID: <551AAC05.9020009(a)seismology.be>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> Hi Aur?lien !
>
> Le 31/03/2015 16:06, Aur?lien Mordret a ?crit :
>> Hi Thomas,
>>
>>
>> Great job for the 1.3.1 MSNoise version!
> Thanks!
>>
>> I have however encountered a problem when computing the MWCS: the function
>> only takes Miniseed files as input, which is no compatible with the fact
>> that you can save the CC as SAC files.
> Aha ! Indeed... Why would one still work with SAC anyway :-)
>
> Until I provide a bugfix, hack the code at two places:
> https://github.com/ROBelgium/MSNoise/blob/master/msnoise/s05compute_mwcs.py…
> and
> https://github.com/ROBelgium/MSNoise/blob/master/msnoise/s05compute_mwcs.py…
>
> Let me know,
>
> Tom
>
>>
>>
>> Here is the error below.
>>
>> Cheers,
>>
>> Aurelien
>>
>>
>>
>> Traceback (most recent call last):
>> File "/usr/local/bin/msnoise", line 9, in <module>
>> load_entry_point('msnoise==1.3.1', 'console_scripts', 'msnoise')()
>> File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/msnoise.py",
>> line 393, in run
>> cli(obj={})
>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in
>> __call__
>> return self.main(*args, **kwargs)
>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in
>> main
>> rv = self.invoke(ctx)
>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in
>> invoke
>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in
>> invoke
>> return ctx.invoke(self.callback, **ctx.params)
>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in
>> invoke
>> return callback(*args, **kwargs)
>> File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/msnoise.py",
>> line 199, in compute_mwcs
>> main()
>> File "/usr/local/lib/python2.7/dist-packages/msnoise/s05compute_mwcs.py",
>> line 110, in main
>> ref = read(rf)[0].data
>> File
>> "/usr/local/lib/python2.7/dist-packages/obspy/core/util/decorator.py", line
>> 371, in new_func
>> return func(*args, **kwargs)
>> File "/usr/local/lib/python2.7/dist-packages/obspy/core/stream.py", line
>> 224, in read
>> raise IOError(2, "No such file or directory", pathname)
>> IOError: [Errno 2] No such file or directory:
>> 'STACKS/01/REF/ZZ/DK_ANGG_DK_ANGG.MSEED'
>>
>>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 31 Mar 2015 11:20:14 -0400
> From: Aur?lien Mordret <mordret(a)mit.edu>
> To: Python Package for Monitoring Seismic Velocity Changes using
> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
> Subject: Re: [MSNoise] Uncompatibility with CC saved as SAC files
> Message-ID:
> <CA+o6fp1y4TDNHdTGVmMUbtUd7cVm_OkbbOJJFZBzxGnFMfVBGA(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> Thanks,
>
> I fix it, it works.
>
> SAC is nice because of the metadata coming with the data. For a correlation
> file, the possibility to have the event coordinates as well as the station
> coordinates in the header is very convenient because you can fill the event
> coordinates with STA1 coordinates and station coordinates with STA2
> coordinates. So distance, azimuth and back-azimuth are easily (and
> automatically) computed.
>
> And I developed a code to automatically compute group velocity dispersion
> curves from CC, which reads the distance between the stations in the
> header, without the need of other metadata file. ;)
>
> Cheers,
>
> Aurelien
>
>
> 2015-03-31 10:15 GMT-04:00 Thomas Lecocq <thomas.lecocq(a)seismology.be>:
>
>> Hi Aur?lien !
>>
>> Le 31/03/2015 16:06, Aur?lien Mordret a ?crit :
>>
>>> Hi Thomas,
>>>
>>>
>>> Great job for the 1.3.1 MSNoise version!
>>>
>> Thanks!
>>
>>>
>>> I have however encountered a problem when computing the MWCS: the function
>>> only takes Miniseed files as input, which is no compatible with the fact
>>> that you can save the CC as SAC files.
>>>
>> Aha ! Indeed... Why would one still work with SAC anyway :-)
>>
>> Until I provide a bugfix, hack the code at two places:
>> https://github.com/ROBelgium/MSNoise/blob/master/msnoise/
>> s05compute_mwcs.py#L109
>> and
>> https://github.com/ROBelgium/MSNoise/blob/master/msnoise/
>> s05compute_mwcs.py#L115
>>
>> Let me know,
>>
>> Tom
>>
>>
>>
>>>
>>> Here is the error below.
>>>
>>> Cheers,
>>>
>>> Aurelien
>>>
>>>
>>>
>>> Traceback (most recent call last):
>>> File "/usr/local/bin/msnoise", line 9, in <module>
>>> load_entry_point('msnoise==1.3.1', 'console_scripts', 'msnoise')()
>>> File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/
>>> msnoise.py",
>>> line 393, in run
>>> cli(obj={})
>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line
>>> 610, in
>>> __call__
>>> return self.main(*args, **kwargs)
>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line
>>> 590, in
>>> main
>>> rv = self.invoke(ctx)
>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line
>>> 936, in
>>> invoke
>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line
>>> 782, in
>>> invoke
>>> return ctx.invoke(self.callback, **ctx.params)
>>> File "/usr/local/lib/python2.7/dist-packages/click/core.py", line
>>> 416, in
>>> invoke
>>> return callback(*args, **kwargs)
>>> File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/
>>> msnoise.py",
>>> line 199, in compute_mwcs
>>> main()
>>> File "/usr/local/lib/python2.7/dist-packages/msnoise/
>>> s05compute_mwcs.py",
>>> line 110, in main
>>> ref = read(rf)[0].data
>>> File
>>> "/usr/local/lib/python2.7/dist-packages/obspy/core/util/decorator.py",
>>> line
>>> 371, in new_func
>>> return func(*args, **kwargs)
>>> File "/usr/local/lib/python2.7/dist-packages/obspy/core/stream.py",
>>> line
>>> 224, in read
>>> raise IOError(2, "No such file or directory", pathname)
>>> IOError: [Errno 2] No such file or directory:
>>> 'STACKS/01/REF/ZZ/DK_ANGG_DK_ANGG.MSEED'
>>>
>>>
>>>
>> _______________________________________________
>> MSNoise mailing list
>> MSNoise(a)mailman-as.oma.be
>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>
>
>
>
> --
> ==========================
>
> Postdoctoral fellow
> Department of Earth, Atmospheric and Planetary Sciences
> Massachusetts Institute of Technology
> 54-526
> Cambridge, MA 02139-4307
> e-mail: mordret(a)mit.edu
> web: http://web.mit.edu/mordret/www
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 31 Mar 2015 09:26:15 -0600
> From: Esteban Chaves <echfisica(a)gmail.com>
> To: msnoise(a)mailman-as.oma.be
> Subject: Re: [MSNoise] MSNoise Digest, Vol 15, Issue 4
> Message-ID: <290C0B70-76F9-40A8-8DCB-4FF6F307C522(a)gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Charlie;
>
> Are you having problems with the cross-correlation process?
> Did you check the directory ~/STACKS/01/001_DAYS/*?
> You must have some results for each station pair.
> Anyhow, could we see your config and filters table?
>
> - Esteban
> PhD Student in Seismology
> UC Santa Cruz
>
>> On Mar 31, 2015, at 6:00 AM, msnoise-request(a)mailman-as.oma.be wrote:
>>
>> Send MSNoise mailing list submissions to
>> msnoise(a)mailman-as.oma.be
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>> or, via email, send a message with subject or body 'help' to
>> msnoise-request(a)mailman-as.oma.be
>>
>> You can reach the person managing the list at
>> msnoise-owner(a)mailman-as.oma.be
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of MSNoise digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: Stacking problem (???)
>> 2. Re: Stacking problem (Thomas Lecocq)
>> 3. Re: Stacking problem (???)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Mon, 30 Mar 2015 23:10:08 +0800
>> From: ??? <supertyphoon100(a)gmail.com>
>> To: Python Package for Monitoring Seismic Velocity Changes using
>> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
>> Subject: Re: [MSNoise] Stacking problem
>> Message-ID:
>> <CALV7=wCqpBJfk53sSNx-e8+uFjYVGwSOcpn-S3kS-Xi=jceYDQ(a)mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Dear Thomas,
>> Thank you for replying promptly !
>> I followed your suggestion and updated the new version. I restarted the
>> whole process.But this time, at stacking process,again, shows something
>> wrong. (I take the test data you provided as the example,and the data
>> structure follows the " PDF" type, right? sorry I have less concepts about
>> that... )
>> Here the terminal printed:
>>
>> hung@hung-All-Series:~/msnoise/MSNoise-master/msnoise$ msnoise stack -r -m
>> -i 10
>> Lets STACK !
>> 2015-03-30 21:48:12 [DEBUG] Starting the ref stack
>> /home/hung/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py:1032:
>> UserWarning: /home/hung/.python-eggs is writable by group/others and
>> vulnerable to attack when used with get_resource_filename. Consider a more
>> secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE
>> environment variable).
>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>> 2015-03-30 21:48:12 [DEBUG] Starting the mov stack
>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>
>> the CC job has marked 'Done'.
>> By the way, there are 2 strange points confused me while running msnoise
>> and I want to tell you,
>>
>> 1. The CCF data is in the folder "STACK" which is not the name I defined in
>> the configuration (I used default name "CROSS_CORRELATIONS" as the output )
>> .
>> 2. I found out that I couldn't define a new jobs by using " msnoise
>> new_jobs" commend, it worked until I tried "python s02new_jobs.py"
>>
>> Would you please tell me what may cause these problems? I show you the my
>> configuration table in the attachment, so it might help you point out what
>> is wrong.
>>
>> sorry I got so many problems, but I really like msnoise. It's very
>> convenience.
>> And please give me some suggestion to fix the errors.
>> Thank you in advance.
>>
>> Charlie Hung
>> undergraduate student
>> Department of Earth Science, National Central University, R.O.C.
>>
>>
>> 2015-03-29 0:27 GMT+08:00 Thomas Lecocq <thomas.lecocq(a)seismology.be>:
>>
>>> Hi,
>>>
>>> can you update to 1.3.1 and test again ? I can't reproduce the bug (line
>>> 148 looks OK in github)
>>>
>>> Thomas
>>>
>>> ps: update = pip uninstall msnoise + pip install msnoise
>>>
>>>
>>> Le 28/03/2015 13:21, ??? a ?crit :
>>>
>>>> Dear Thomas,
>>>> I run msnoise under my Ubuntu-12.04 and l think it's a user- friendly
>>>> tool.
>>>> I just start to learn this but there's a problem arises while doing the
>>>> stacking process.
>>>> I noticed that you provide data in the folder "tests" as the example, so I
>>>> start my practice here.and the data length is only one day.(could it be
>>>> the
>>>> problem?)
>>>> Everything was fine until stacking.
>>>> I type the comment: msnoise stack -r -m -i 10, and the terminal shows
>>>> these:
>>>>
>>>> 2015-03-28 16:35:16 [DEBUG] Processing 2010_UV05:2010_UV06-ZZ-1
>>>> Traceback (most recent call last):
>>>> File "/home/hung/anaconda/bin/msnoise", line 9, in <module>
>>>> load_entry_point('msnoise==1.3', 'console_scripts', 'msnoise')()
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>> line 306, in run
>>>> cli(obj={})
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>> 3.3-py2.7.egg/click/core.py",
>>>> line 610, in __call__
>>>> return self.main(*args, **kwargs)
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>> 3.3-py2.7.egg/click/core.py",
>>>> line 590, in main
>>>> rv = self.invoke(ctx)
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>> 3.3-py2.7.egg/click/core.py",
>>>> line 936, in invoke
>>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>> 3.3-py2.7.egg/click/core.py",
>>>> line 782, in invoke
>>>> return ctx.invoke(self.callback, **ctx.params)
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>> 3.3-py2.7.egg/click/core.py",
>>>> line 416, in invoke
>>>> return callback(*args, **kwargs)
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>> line 139, in stack
>>>> main('ref', interval)
>>>> File
>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>> msnoise-1.3-py2.7.egg/msnoise/s04stack.py",
>>>> line 148, in main
>>>> updated_days = updated_days_for_dates(db, start, end,
>>>> pair.replace('_',
>>>> '.'), type='CC', interval=datetime.timedelta(days=interval),returndays=
>>>> True)
>>>>
>>>> *TypeError: updated_days_for_dates() got an unexpected keyword argument
>>>> 'type'*
>>>> I underline the error line, and I have no idea about that.
>>>> I've been seeking solutions but got less information. Would you please
>>>> tell
>>>> me what's wrong with that?
>>>> I'm appreciated for your help
>>>>
>>>> Charlie Hung
>>>> undergraduate student
>>>> Department of Earth Science, National Central University, R.O.C.
>>>> _______________________________________________
>>>> MSNoise mailing list
>>>> MSNoise(a)mailman-as.oma.be
>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>
>>>
>>> _______________________________________________
>>> MSNoise mailing list
>>> MSNoise(a)mailman-as.oma.be
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Mon, 30 Mar 2015 17:42:25 +0200
>> From: Thomas Lecocq <thlecocq(a)gmail.com>
>> To: Python Package for Monitoring Seismic Velocity Changes using
>> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
>> Subject: Re: [MSNoise] Stacking problem
>> Message-ID:
>> <CA+U7X7sctr3pCZis30PQTTZtyoWPGF+OOGeBF8m5urp0GJrWzg(a)mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Hi,
>>
>> the test data provided is SDS.
>>
>> you have to remove all python source files from previous versions from your
>> current directory. Do not run msnoise from the install folder, so:
>>
>> pip install msnoise
>>
>> cd /home/hung
>> mkdir test
>> cd test
>> msnoise install
>> msnoise config
>> ...
>>
>> do not un MSNoise-Master, only use releases (just install using pip, it's
>> easier & safer).
>>
>> Thomas
>>
>> 2015-03-30 17:10 GMT+02:00 ??? <supertyphoon100(a)gmail.com>:
>>
>>> Dear Thomas,
>>> Thank you for replying promptly !
>>> I followed your suggestion and updated the new version. I restarted the
>>> whole process.But this time, at stacking process,again, shows something
>>> wrong. (I take the test data you provided as the example,and the data
>>> structure follows the " PDF" type, right? sorry I have less concepts about
>>> that... )
>>> Here the terminal printed:
>>>
>>> hung@hung-All-Series:~/msnoise/MSNoise-master/msnoise$ msnoise stack -r -m
>>> -i 10
>>> Lets STACK !
>>> 2015-03-30 21:48:12 [DEBUG] Starting the ref stack
>>>
>>> /home/hung/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py:1032:
>>> UserWarning: /home/hung/.python-eggs is writable by group/others and
>>> vulnerable to attack when used with get_resource_filename. Consider a more
>>> secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE
>>> environment variable).
>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>> 2015-03-30 21:48:12 [DEBUG] Starting the mov stack
>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>
>>> the CC job has marked 'Done'.
>>> By the way, there are 2 strange points confused me while running msnoise
>>> and I want to tell you,
>>>
>>> 1. The CCF data is in the folder "STACK" which is not the name I defined in
>>> the configuration (I used default name "CROSS_CORRELATIONS" as the output )
>>> .
>>> 2. I found out that I couldn't define a new jobs by using " msnoise
>>> new_jobs" commend, it worked until I tried "python s02new_jobs.py"
>>>
>>> Would you please tell me what may cause these problems? I show you the my
>>> configuration table in the attachment, so it might help you point out what
>>> is wrong.
>>>
>>> sorry I got so many problems, but I really like msnoise. It's very
>>> convenience.
>>> And please give me some suggestion to fix the errors.
>>> Thank you in advance.
>>>
>>> Charlie Hung
>>> undergraduate student
>>> Department of Earth Science, National Central University, R.O.C.
>>>
>>>
>>> 2015-03-29 0:27 GMT+08:00 Thomas Lecocq <thomas.lecocq(a)seismology.be>:
>>>
>>>> Hi,
>>>>
>>>> can you update to 1.3.1 and test again ? I can't reproduce the bug (line
>>>> 148 looks OK in github)
>>>>
>>>> Thomas
>>>>
>>>> ps: update = pip uninstall msnoise + pip install msnoise
>>>>
>>>>
>>>> Le 28/03/2015 13:21, ??? a ?crit :
>>>>
>>>>> Dear Thomas,
>>>>> I run msnoise under my Ubuntu-12.04 and l think it's a user- friendly
>>>>> tool.
>>>>> I just start to learn this but there's a problem arises while doing the
>>>>> stacking process.
>>>>> I noticed that you provide data in the folder "tests" as the example,
>>> so I
>>>>> start my practice here.and the data length is only one day.(could it be
>>>>> the
>>>>> problem?)
>>>>> Everything was fine until stacking.
>>>>> I type the comment: msnoise stack -r -m -i 10, and the terminal shows
>>>>> these:
>>>>>
>>>>> 2015-03-28 16:35:16 [DEBUG] Processing 2010_UV05:2010_UV06-ZZ-1
>>>>> Traceback (most recent call last):
>>>>> File "/home/hung/anaconda/bin/msnoise", line 9, in <module>
>>>>> load_entry_point('msnoise==1.3', 'console_scripts', 'msnoise')()
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>>> line 306, in run
>>>>> cli(obj={})
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>> 3.3-py2.7.egg/click/core.py",
>>>>> line 610, in __call__
>>>>> return self.main(*args, **kwargs)
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>> 3.3-py2.7.egg/click/core.py",
>>>>> line 590, in main
>>>>> rv = self.invoke(ctx)
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>> 3.3-py2.7.egg/click/core.py",
>>>>> line 936, in invoke
>>>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>> 3.3-py2.7.egg/click/core.py",
>>>>> line 782, in invoke
>>>>> return ctx.invoke(self.callback, **ctx.params)
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>> 3.3-py2.7.egg/click/core.py",
>>>>> line 416, in invoke
>>>>> return callback(*args, **kwargs)
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>>> line 139, in stack
>>>>> main('ref', interval)
>>>>> File
>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>> msnoise-1.3-py2.7.egg/msnoise/s04stack.py",
>>>>> line 148, in main
>>>>> updated_days = updated_days_for_dates(db, start, end,
>>>>> pair.replace('_',
>>>>> '.'), type='CC', interval=datetime.timedelta(days=interval),returndays=
>>>>> True)
>>>>>
>>>>> *TypeError: updated_days_for_dates() got an unexpected keyword argument
>>>>> 'type'*
>>>>> I underline the error line, and I have no idea about that.
>>>>> I've been seeking solutions but got less information. Would you please
>>>>> tell
>>>>> me what's wrong with that?
>>>>> I'm appreciated for your help
>>>>>
>>>>> Charlie Hung
>>>>> undergraduate student
>>>>> Department of Earth Science, National Central University, R.O.C.
>>>>> _______________________________________________
>>>>> MSNoise mailing list
>>>>> MSNoise(a)mailman-as.oma.be
>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>
>>>>
>>>> _______________________________________________
>>>> MSNoise mailing list
>>>> MSNoise(a)mailman-as.oma.be
>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>
>>>
>>> _______________________________________________
>>> MSNoise mailing list
>>> MSNoise(a)mailman-as.oma.be
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>
>>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Tue, 31 Mar 2015 15:19:22 +0800
>> From: ??? <supertyphoon100(a)gmail.com>
>> To: Python Package for Monitoring Seismic Velocity Changes using
>> Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
>> Subject: Re: [MSNoise] Stacking problem
>> Message-ID:
>> <CALV7=wCR=qGCyYT8_0cW7oAJYcFRTzB=xKTRUwwjrSmiiuSCrQ(a)mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Dear Thomas,
>> Thank you again, I did fix the problems after I follow your suggestions.
>> But...sorry I want to check something more.This might be the final problems
>> I have.
>>
>> 1. Dose msnoise accept SAC data format? what I will do is follow the data
>> structure, right ?
>> 2. How to define my own station parameters, i.e. decide the X, Y, Z data
>> Would these station parameters be inserted by reading the data structure?
>> or I have to do it by hand? or...??Well, I revised coordinates by hand on
>> the station table...it's ok..??
>> Sorry I have less sense about that... but I'm willing to keep learning?
>>
>> 3. I can run whole process on the workflow. but I can't call some plots
>> (mwcs, dvv). i think it might be related to my wrong input of station
>> parameter.
>>
>> I really thank you for teaching me so much, and since I a beginner, I will
>> keep learning the concepts of msnoise.
>>
>>
>> Charlie Hung
>> undergraduate student
>> Department of Earth Science, National Central University, R.O.C.
>>
>>
>> 2015-03-30 23:42 GMT+08:00 Thomas Lecocq <thlecocq(a)gmail.com>:
>>
>>> Hi,
>>>
>>> the test data provided is SDS.
>>>
>>> you have to remove all python source files from previous versions from your
>>> current directory. Do not run msnoise from the install folder, so:
>>>
>>> pip install msnoise
>>>
>>> cd /home/hung
>>> mkdir test
>>> cd test
>>> msnoise install
>>> msnoise config
>>> ...
>>>
>>> do not un MSNoise-Master, only use releases (just install using pip, it's
>>> easier & safer).
>>>
>>> Thomas
>>>
>>> 2015-03-30 17:10 GMT+02:00 ??? <supertyphoon100(a)gmail.com>:
>>>
>>>> Dear Thomas,
>>>> Thank you for replying promptly !
>>>> I followed your suggestion and updated the new version. I restarted the
>>>> whole process.But this time, at stacking process,again, shows something
>>>> wrong. (I take the test data you provided as the example,and the data
>>>> structure follows the " PDF" type, right? sorry I have less concepts
>>> about
>>>> that... )
>>>> Here the terminal printed:
>>>>
>>>> hung@hung-All-Series:~/msnoise/MSNoise-master/msnoise$ msnoise stack -r
>>> -m
>>>> -i 10
>>>> Lets STACK !
>>>> 2015-03-30 21:48:12 [DEBUG] Starting the ref stack
>>>>
>>>>
>>> /home/hung/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py:1032:
>>>> UserWarning: /home/hung/.python-eggs is writable by group/others and
>>>> vulnerable to attack when used with get_resource_filename. Consider a
>>> more
>>>> secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE
>>>> environment variable).
>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>> 2015-03-30 21:48:12 [DEBUG] Starting the mov stack
>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV06-ZZ-1
>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV05:*_UV10-ZZ-1
>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>> 2015-03-30 21:48:12 [DEBUG] Processing *_UV06:*_UV10-ZZ-1
>>>> 2015-03-30 21:48:12 [DEBUG] Found 000 updated days
>>>>
>>>> the CC job has marked 'Done'.
>>>> By the way, there are 2 strange points confused me while running msnoise
>>>> and I want to tell you,
>>>>
>>>> 1. The CCF data is in the folder "STACK" which is not the name I defined
>>> in
>>>> the configuration (I used default name "CROSS_CORRELATIONS" as the
>>> output )
>>>> .
>>>> 2. I found out that I couldn't define a new jobs by using " msnoise
>>>> new_jobs" commend, it worked until I tried "python s02new_jobs.py"
>>>>
>>>> Would you please tell me what may cause these problems? I show you the my
>>>> configuration table in the attachment, so it might help you point out
>>> what
>>>> is wrong.
>>>>
>>>> sorry I got so many problems, but I really like msnoise. It's very
>>>> convenience.
>>>> And please give me some suggestion to fix the errors.
>>>> Thank you in advance.
>>>>
>>>> Charlie Hung
>>>> undergraduate student
>>>> Department of Earth Science, National Central University, R.O.C.
>>>>
>>>>
>>>> 2015-03-29 0:27 GMT+08:00 Thomas Lecocq <thomas.lecocq(a)seismology.be>:
>>>>
>>>>> Hi,
>>>>>
>>>>> can you update to 1.3.1 and test again ? I can't reproduce the bug
>>> (line
>>>>> 148 looks OK in github)
>>>>>
>>>>> Thomas
>>>>>
>>>>> ps: update = pip uninstall msnoise + pip install msnoise
>>>>>
>>>>>
>>>>> Le 28/03/2015 13:21, ??? a ?crit :
>>>>>
>>>>>> Dear Thomas,
>>>>>> I run msnoise under my Ubuntu-12.04 and l think it's a user- friendly
>>>>>> tool.
>>>>>> I just start to learn this but there's a problem arises while doing
>>> the
>>>>>> stacking process.
>>>>>> I noticed that you provide data in the folder "tests" as the example,
>>>> so I
>>>>>> start my practice here.and the data length is only one day.(could it
>>> be
>>>>>> the
>>>>>> problem?)
>>>>>> Everything was fine until stacking.
>>>>>> I type the comment: msnoise stack -r -m -i 10, and the terminal shows
>>>>>> these:
>>>>>>
>>>>>> 2015-03-28 16:35:16 [DEBUG] Processing 2010_UV05:2010_UV06-ZZ-1
>>>>>> Traceback (most recent call last):
>>>>>> File "/home/hung/anaconda/bin/msnoise", line 9, in <module>
>>>>>> load_entry_point('msnoise==1.3', 'console_scripts', 'msnoise')()
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>>>> line 306, in run
>>>>>> cli(obj={})
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>> line 610, in __call__
>>>>>> return self.main(*args, **kwargs)
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>> line 590, in main
>>>>>> rv = self.invoke(ctx)
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>> line 936, in invoke
>>>>>> return _process_result(sub_ctx.command.invoke(sub_ctx))
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>> line 782, in invoke
>>>>>> return ctx.invoke(self.callback, **ctx.params)
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/click-
>>>>>> 3.3-py2.7.egg/click/core.py",
>>>>>> line 416, in invoke
>>>>>> return callback(*args, **kwargs)
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>>> msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py",
>>>>>> line 139, in stack
>>>>>> main('ref', interval)
>>>>>> File
>>>>>> "/home/hung/anaconda/lib/python2.7/site-packages/
>>>>>> msnoise-1.3-py2.7.egg/msnoise/s04stack.py",
>>>>>> line 148, in main
>>>>>> updated_days = updated_days_for_dates(db, start, end,
>>>>>> pair.replace('_',
>>>>>> '.'), type='CC',
>>> interval=datetime.timedelta(days=interval),returndays=
>>>>>> True)
>>>>>>
>>>>>> *TypeError: updated_days_for_dates() got an unexpected keyword
>>> argument
>>>>>> 'type'*
>>>>>> I underline the error line, and I have no idea about that.
>>>>>> I've been seeking solutions but got less information. Would you please
>>>>>> tell
>>>>>> me what's wrong with that?
>>>>>> I'm appreciated for your help
>>>>>>
>>>>>> Charlie Hung
>>>>>> undergraduate student
>>>>>> Department of Earth Science, National Central University, R.O.C.
>>>>>> _______________________________________________
>>>>>> MSNoise mailing list
>>>>>> MSNoise(a)mailman-as.oma.be
>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> MSNoise mailing list
>>>>> MSNoise(a)mailman-as.oma.be
>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>
>>>>
>>>> _______________________________________________
>>>> MSNoise mailing list
>>>> MSNoise(a)mailman-as.oma.be
>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>
>>>>
>>> _______________________________________________
>>> MSNoise mailing list
>>> MSNoise(a)mailman-as.oma.be
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> MSNoise mailing list
>> MSNoise(a)mailman-as.oma.be
>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>
>>
>> End of MSNoise Digest, Vol 15, Issue 4
>> **************************************
>
>
>
> ------------------------------
>
> _______________________________________________
> MSNoise mailing list
> MSNoise(a)mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
>
>
> End of MSNoise Digest, Vol 15, Issue 5
> **************************************
Hi Thomas,
Great job for the 1.3.1 MSNoise version!
I have however encountered a problem when computing the MWCS: the function
only takes Miniseed files as input, which is no compatible with the fact
that you can save the CC as SAC files.
Here is the error below.
Cheers,
Aurelien
Traceback (most recent call last):
File "/usr/local/bin/msnoise", line 9, in <module>
load_entry_point('msnoise==1.3.1', 'console_scripts', 'msnoise')()
File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/msnoise.py",
line 393, in run
cli(obj={})
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in
__call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in
main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in
invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in
invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in
invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/msnoise/scripts/msnoise.py",
line 199, in compute_mwcs
main()
File "/usr/local/lib/python2.7/dist-packages/msnoise/s05compute_mwcs.py",
line 110, in main
ref = read(rf)[0].data
File
"/usr/local/lib/python2.7/dist-packages/obspy/core/util/decorator.py", line
371, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/obspy/core/stream.py", line
224, in read
raise IOError(2, "No such file or directory", pathname)
IOError: [Errno 2] No such file or directory:
'STACKS/01/REF/ZZ/DK_ANGG_DK_ANGG.MSEED'
--
==========================
Postdoctoral fellow
Department of Earth, Atmospheric and Planetary Sciences
Massachusetts Institute of Technology
54-526
Cambridge, MA 02139-4307
e-mail: mordret(a)mit.edu
web: http://web.mit.edu/mordret/www
Hi all,
I've identified a small bug in the new_jobs command. It's now corrected
and the 1.3.1 version is updated at pypi, so simply "pip uninstall
msnoise" and "pip install msnoise" to get the latest version.
See the release notes below,
Cheers,
Thomas
----
This is a bugfix release.
When running the new_jobs procedure, the jobs are "inserted" in the
database, even if they already existed (they should be "updated"). This
is because of the complete rewrite of the code to optimize the operation.
As this optimization is mostly useful upon first run, I've added a
parameter |--init| to the command. If provided, the "massive insert"
procedure is used, if not, then the classic "insert or update if
existing" is used.
So, upon first run : |msnoise new_jobs --init|
And afterwards (in cron, e.g.): `|msnoise new_jobs|
Users who have already run MSNoise 1.3 on their archive need to clean
the jobs table in the database. The buggy jobs are those "CC" jobs which
are still marked "I"n progress after the compute_cc procedure, and with
a "lastmod" = "NULL". They can be easily identified and removed.
a classic SQL command would be:
|DELETE from jobs WHERE lastmod is NULL;
|
|
|
--
Dr. Thomas Lecocq
Geologist
Seismology - Gravimetry
Royal Observatory of Belgium
*
* * * * *
* * * *
---------
http://www.seismology.behttp://twitter.com/#!/Seismologie_be
Hi all,
8 months after the last bugfix release (/MSNoise 1.2.5/
<http://www.msnoise.org/doc/releasenotes/msnoise-1.2.5.html>), and 17
months after the last major release (/MSNoise 1.2/
<http://www.msnoise.org/doc/releasenotes/msnoise-1.2.html>) we are proud
to announce the new /MSNoise 1.3/
<http://www.msnoise.org/doc/releasenotes/msnoise-1.3.html>. It is a
*major* release, with a massive amount of work since the last release:
in GitHub numbers
<https://github.com/ROBelgium/MSNoise/graphs/contributors?from=2014-06-28&to…>
, it’s over 100 commits and about 3500 new lines of code and
documentation added ! MSNoise 1.3 introduces a *brand new* way of
executing the workflow. The workflow in itself doesn’t change, so
experienced users as well as new users reading the SRL publication will
find their way easily!
*MSNoise is now a Python Package*, allowing a single (and easy) install
for all your projects and/or all users using |pip install msnoise|. The
new top-level |msnoise| command contains all the steps of the workflow,
plus new additions, as the very useful |reset| command to easily mark
all jobs “T”odo. The |msnoise plot| command group which includes seven
plots, all directly callable from the command line, without needing to
hack/edit the source codes. About hacking: MSNoise has now a proper
documented API which allows pythonistas to write their own plots,
computation steps, ..., while interacting with the database and the data
archive! The “dynamic time lag” allows to use parts of the coda that is
dependent from the interstation distance (provided station coordinates
are defined). Finally, MSNoise is now /tested/ and automatically checked
by Travis-CI!
This version has benefited from outputs/ideas/pull requests/questions
from several users:
* Rebecca Kramer
* Carmelo Sammarco
* Oscar Alberto Castro Artola
* Kasper van Wijk
* Kohtaro R. Araragi
* Esteban Chaves
* Adrian Shelley
* Weston Thelen
* Robert Abbott
* Jean Battaglia
* Sébastien Carniato
* Xiao Wang
* Lion Krisher
* Tobias Megies
* all participants to the 2014 Pre-AGU MSNoise workshop
* all others (don’t be mad :-) )
Thanks to all for using MSNoise, and please, let us know why/how you use
it (and please cite it!)!
Thomas
--
Dr. Thomas Lecocq
Geologist
Seismology - Gravimetry
Royal Observatory of Belgium
*
* * * * *
* * * *
---------
http://www.seismology.behttp://twitter.com/#!/Seismologie_be