[MSNoise] MSNoise Digest, Vol 15, Issue 5

Thomas Lecocq thomas.lecocq at seismology.be
Tue Mar 31 15:57:18 UTC 2015


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 at mailman-as.oma.be wrote:
>>
>> Send MSNoise mailing list submissions to
>> 	msnoise at 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 at mailman-as.oma.be
>>
>> You can reach the person managing the list at
>> 	msnoise-owner at 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 at mit.edu>
>> To: Python Package for Monitoring Seismic Velocity Changes using
>> 	Ambient	Seismic Noise <msnoise at mailman-as.oma.be>
>> Subject: [MSNoise] Uncompatibility with CC saved as SAC files
>> Message-ID:
>> 	<CA+o6fp2ptOtgHvmKxrmDBsfMxPzPOiHd5-SvzABwzzz+q1svmQ at 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 at 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 at seismology.be>
>> To: msnoise at mailman-as.oma.be
>> Subject: Re: [MSNoise] Uncompatibility with CC saved as SAC files
>> Message-ID: <551AAC05.9020009 at 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#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'
>>>
>>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Tue, 31 Mar 2015 11:20:14 -0400
>> From: Aur?lien Mordret <mordret at mit.edu>
>> To: Python Package for Monitoring Seismic Velocity Changes using
>> 	Ambient	Seismic Noise <msnoise at mailman-as.oma.be>
>> Subject: Re: [MSNoise] Uncompatibility with CC saved as SAC files
>> Message-ID:
>> 	<CA+o6fp1y4TDNHdTGVmMUbtUd7cVm_OkbbOJJFZBzxGnFMfVBGA at 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 at 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 at 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 at mit.edu
>> web: http://web.mit.edu/mordret/www
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Tue, 31 Mar 2015 09:26:15 -0600
>> From: Esteban Chaves <echfisica at gmail.com>
>> To: msnoise at mailman-as.oma.be
>> Subject: Re: [MSNoise] MSNoise Digest, Vol 15, Issue 4
>> Message-ID: <290C0B70-76F9-40A8-8DCB-4FF6F307C522 at 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 at mailman-as.oma.be wrote:
>>>
>>> Send MSNoise mailing list submissions to
>>> 	msnoise at 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 at mailman-as.oma.be
>>>
>>> You can reach the person managing the list at
>>> 	msnoise-owner at 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 at gmail.com>
>>> To: Python Package for Monitoring Seismic Velocity Changes using
>>> 	Ambient	Seismic Noise <msnoise at mailman-as.oma.be>
>>> Subject: Re: [MSNoise] Stacking problem
>>> Message-ID:
>>> 	<CALV7=wCqpBJfk53sSNx-e8+uFjYVGwSOcpn-S3kS-Xi=jceYDQ at 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 at 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 at 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 at mailman-as.oma.be
>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>
>>>> _______________________________________________
>>>> MSNoise mailing list
>>>> MSNoise at mailman-as.oma.be
>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Mon, 30 Mar 2015 17:42:25 +0200
>>> From: Thomas Lecocq <thlecocq at gmail.com>
>>> To: Python Package for Monitoring Seismic Velocity Changes using
>>> 	Ambient	Seismic Noise <msnoise at mailman-as.oma.be>
>>> Subject: Re: [MSNoise] Stacking problem
>>> Message-ID:
>>> 	<CA+U7X7sctr3pCZis30PQTTZtyoWPGF+OOGeBF8m5urp0GJrWzg at 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 at 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 at 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 at 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 at mailman-as.oma.be
>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>>
>>>>> _______________________________________________
>>>>> MSNoise mailing list
>>>>> MSNoise at mailman-as.oma.be
>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>
>>>> _______________________________________________
>>>> MSNoise mailing list
>>>> MSNoise at mailman-as.oma.be
>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>
>>>>
>>>
>>> ------------------------------
>>>
>>> Message: 3
>>> Date: Tue, 31 Mar 2015 15:19:22 +0800
>>> From: ??? <supertyphoon100 at gmail.com>
>>> To: Python Package for Monitoring Seismic Velocity Changes using
>>> 	Ambient	Seismic Noise <msnoise at mailman-as.oma.be>
>>> Subject: Re: [MSNoise] Stacking problem
>>> Message-ID:
>>> 	<CALV7=wCR=qGCyYT8_0cW7oAJYcFRTzB=xKTRUwwjrSmiiuSCrQ at 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 at 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 at 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 at 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 at 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 at mailman-as.oma.be
>>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>>>
>>>>>> _______________________________________________
>>>>>> MSNoise mailing list
>>>>>> MSNoise at mailman-as.oma.be
>>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>>
>>>>> _______________________________________________
>>>>> MSNoise mailing list
>>>>> MSNoise at mailman-as.oma.be
>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>
>>>>>
>>>> _______________________________________________
>>>> MSNoise mailing list
>>>> MSNoise at mailman-as.oma.be
>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> MSNoise mailing list
>>> MSNoise at mailman-as.oma.be
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>
>>>
>>> End of MSNoise Digest, Vol 15, Issue 4
>>> **************************************
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> MSNoise mailing list
>> MSNoise at mailman-as.oma.be
>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>
>>
>> End of MSNoise Digest, Vol 15, Issue 5
>> **************************************
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise



More information about the MSNoise mailing list