[MSNoise] MSNoise Digest, Vol 15, Issue 4

Thomas Lecocq thomas.lecocq at seismology.be
Tue Mar 31 16:09:09 UTC 2015


Charlie,

you have to define them by hand, or write a custom python code to insert 
the data in the database. I'm sorry, currently it is the only way.

Thomas

Le 31/03/2015 18:06, 洪瑞駿 a écrit :
> Dear Esteban,
> yes. several problems still exist and confused me. I can run the whole
> process by following the workfolw. But I wonder how can I insert the
> station parameters (i.e. X, Y, altitude ). Currently I revised the station
> parameters by hand.
> The attachment shows my defined config. & filter table.
> thanks in advance
>
> Charlie Hung
> Department of Earth Science, National Central University, R.O.C.
>
> 2015-03-31 23:26 GMT+08:00 Esteban Chaves <echfisica at gmail.com>:
>
>> 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
>>
>>
>>
>> _______________________________________________
>> MSNoise mailing list
>> MSNoise at mailman-as.oma.be
>> http://mailman-as.oma.be/mailman/listinfo/msnoise



More information about the MSNoise mailing list