[MSNoise] Stacking problem

洪瑞駿 supertyphoon100 at gmail.com
Tue Mar 31 07:19:22 UTC 2015


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
>


More information about the MSNoise mailing list