Yes thanks, months should increase from 01-12. Below I added another,
actual data structure created by default by obspyDMT.
The populate command works if I adapt the data structure as in the "TOM" example
YEAR/NET/STA/CHAN/YEAR.DAY
but would be nice if I can figure how to adapt custom.py and not the
data structures. Any suggestions appreciated!
(Sorry if I'm missing something, I'm starting with msnoise)
dmt-tour-data/2011-03-10_2011-03-12/20110311_1/BH/dis.TA.109C..BHZ
dmt-tour-data/2011-03-10_2011-03-12/20110311_1/BH/dis.TA.121A..BHZ
dmt-tour-data/2011-03-10_2011-03-12/20110311_1/BH/dis.TA.133A..BHZ
dmt-tour-data/2011-03-10_2011-03-12/20110311_1/BH/dis.TA.134A..BHZ
dmt-tour-data/2011-03-10_2011-03-12/20110311_1/BH/dis.TA.135A..BHZ
On 4/24/15, msnoise-request(a)mailman-as.oma.be
<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. data structure & station table (RJ)
> 2. Re: data structure & station table (Thomas Lecocq)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 23 Apr 2015 19:10:20 -0800
> From: RJ <rndj11(a)gmail.com>
> To: msnoise(a)mailman-as.oma.be
> Subject: [MSNoise] data structure & station table
> Message-ID:
> <CAMifym=W=PFCTdoPZbKcz+7ACDXOFqg_TeYsehxvJ893vjOCrQ(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Dear list users,
>
> The manual says to edit custom.py for data not in formats SDS/BUD/IDDS/PDF
> http://msnoise.org/doc/workflow.html
> specifically the line
> data_structure['TOM'] = "YEAR/NET/STA/CHAN/YEAR.DAY"
>
> My code is
> data_structure['TOM'] = "topdir/month01/dir01"
>
> but there is an error message
> (...)
> ValueError: too many values to unpack
>
> Can someone suggest a structure for the data format below?
>
> /topdir/month01/dir01/sta1.LHZ
> /topdir/month01/dir01/sta2.LHZ
> /topdir/month01/dir01/staN.LHZ
>
> thanks!
> rodrigo
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 24 Apr 2015 08:48:33 +0200
> From: Thomas Lecocq <thomas.lecocq(a)oma.be>
> To: msnoise(a)mailman-as.oma.be
> Subject: Re: [MSNoise] data structure & station table
> Message-ID: <5539E741.8000707(a)oma.be>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> Hi!
>
>
> Le 24/04/2015 05:10, RJ a ?crit :
>> Dear list users,
>>
>> The manual says to edit custom.py for data not in formats
>> SDS/BUD/IDDS/PDF
>> http://msnoise.org/doc/workflow.html
>> specifically the line
>> data_structure['TOM'] = "YEAR/NET/STA/CHAN/YEAR.DAY"
>>
>> My code is
>> data_structure['TOM'] = "topdir/month01/dir01"
>>
>> but there is an error message
>> (...)
>> ValueError: too many values to unpack
>>
>> Can someone suggest a structure for the data format below?
>>
>> /topdir/month01/dir01/sta1.LHZ
>> /topdir/month01/dir01/sta2.LHZ
>> /topdir/month01/dir01/staN.LHZ
>
> can you give examples of the real folder structure ? I suppose "month"
> gets replaced ?
>
> Cheers
>
> Thomas
>
>> thanks!
>> rodrigo
>> _______________________________________________
>> 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 16, Issue 5
> **************************************
>
Dear list users,
The manual says to edit custom.py for data not in formats SDS/BUD/IDDS/PDF
http://msnoise.org/doc/workflow.html
specifically the line
data_structure['TOM'] = "YEAR/NET/STA/CHAN/YEAR.DAY"
My code is
data_structure['TOM'] = "topdir/month01/dir01"
but there is an error message
(...)
ValueError: too many values to unpack
Can someone suggest a structure for the data format below?
/topdir/month01/dir01/sta1.LHZ
/topdir/month01/dir01/sta2.LHZ
/topdir/month01/dir01/staN.LHZ
thanks!
rodrigo
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.
-------- Message transféré --------
Sujet : ValueError: could not broadcast input array from shape ....
Date : Thu, 9 Apr 2015 15:16:32 +0000
De : De Angelis, Silvio <S.De-Angelis(a)liverpool.ac.uk>
Pour : msnoise(a)mailman-as.oma.be <msnoise(a)mailman-as.oma.be>
Hello everyone,
I have what seems to be a data resampling/reshaping related issue. Maybe
this problem had already been raised before. Apologies if I missed
previous posts.
Attached a screenshot of the error message from my Ubuntu 12.04 64bit
Msnoise 1.3.1 install.
I haven’t looked at the actual code yet as I was hoping that somebody
had already encountered and solved this issue.
I should add that I can (successfully :-( ) reproduce the error on two
other installations of Msnoise in Windows and MacOSX (Yosemite).
Thank you.
Ciao,
Silvio
Hi everyone,
I am testing release 1.3.1 on Ubuntu 64bit (12.04). Things went pretty smooth for a first attempt with some CCF being calculated. Except every now and again the msnoise compute_cc stops working delivering the error message below, apparently linked to sampling rate issues?
Here’s a link to a SDS data structure with data (two stations/two days) that generated the error:
https://copy.com/blzIarTs4QrAllNr
I have kept most options in the config default, just for testing purposes, except start and end date to match my data. I also added a filter in the config window (0.1 (low)- 0.3 (mwcs low)- 0.9 (mwcs high) -1.1 (high) Hz, 100 (RMS threshold), 1 (window), 0.5 (step)).
msnoise compute_cc did not work unless a filter was defined in the configuration. I had 27 days worth of CCF's computed that I could plot, thus, I suppose the general config was ok? The computed CCF’s were what i expected (matched another workflow I use for ambient noise).
Any hints? The data files look ok as far as I can tell but there may be something I am missing?
I am now testing with a different dataset to see whether problems are with data files.
Thank you.
Ciao,
Silvio
Silvio De Angelis
Lecturer in Geophysics
University of Liverpool
Jane Herdman Building
4 Brownlow Street,
Liverpool, Merseyside, L69 3GP
United Kingdom
email: silvioda(a)liverpool.ac.uk<mailto:silvioda@liverpool.ac.uk>
2015-04-02 15:22:48 [INFO] *** Starting: Compute CC ***
2015-04-02 15:22:48 [INFO] Will compute ZZ
2015-04-02 15:22:48 [INFO] New CC Job: 2006-01-25 (1 pairs with 2 stations)
2015-04-02 15:22:55 [INFO] Pre-Whitening Traces
2015-04-02 15:22:56 [INFO] Processing CC
2015-04-02 15:22:56 [INFO] Job Finished. It took 7.45 seconds
2015-04-02 15:22:56 [INFO] New CC Job: 2006-01-26 (1 pairs with 2 stations)
2015-04-02 15:23:03 [INFO] Pre-Whitening Traces
2015-04-02 15:23:03 [INFO] Processing CC
2015-04-02 15:23:03 [INFO] Job Finished. It took 7.37 seconds
2015-04-02 15:23:03 [INFO] New CC Job: 2006-01-27 (1 pairs with 2 stations)
2015-04-02 15:23:10 [INFO] Pre-Whitening Traces
2015-04-02 15:23:11 [INFO] Processing CC
2015-04-02 15:23:11 [INFO] Job Finished. It took 7.30 seconds
2015-04-02 15:23:11 [INFO] New CC Job: 2006-01-28 (1 pairs with 2 stations)
Traceback (most recent call last):
File "/home/silvio/anaconda/bin/msnoise", line 9, in <module>
load_entry_point('msnoise==1.3.1', 'console_scripts', 'msnoise')()
File "/home/silvio/anaconda/lib/python2.7/site-packages/msnoise/scripts/msnoise.py", line 393, in run
cli(obj={})
File "/home/silvio/anaconda/lib/python2.7/site-packages/click-4.0-py2.7.egg/click/core.py", line 664, in __call__
return self.main(*args, **kwargs)
File "/home/silvio/anaconda/lib/python2.7/site-packages/click-4.0-py2.7.egg/click/core.py", line 644, in main
rv = self.invoke(ctx)
File "/home/silvio/anaconda/lib/python2.7/site-packages/click-4.0-py2.7.egg/click/core.py", line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/silvio/anaconda/lib/python2.7/site-packages/click-4.0-py2.7.egg/click/core.py", line 837, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/silvio/anaconda/lib/python2.7/site-packages/click-4.0-py2.7.egg/click/core.py", line 464, in invoke
return callback(*args, **kwargs)
File "/home/silvio/anaconda/lib/python2.7/site-packages/msnoise/scripts/msnoise.py", line 174, in compute_cc
main()
File "/home/silvio/anaconda/lib/python2.7/site-packages/msnoise/s03compute_cc.py", line 271, in main
basetime, tramef_Z = preprocess(db, stations, comps, goal_day, params, tramef_Z)
File "/home/silvio/anaconda/lib/python2.7/site-packages/msnoise/s03compute_cc.py", line 130, in preprocess
stream[gap[0]] = stream[gap[0]].__add__(stream[gap[1]], method=0, fill_value="interpolate")
File "/home/silvio/anaconda/lib/python2.7/site-packages/obspy-0.10.1-py2.7-linux-x86_64.egg/obspy/core/trace.py", line 681, in __add__
raise TypeError("Sampling rate differs")
TypeError: Sampling rate differs
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
> **************************************