Hi,
Having looked at the MWCS.py program I have encountered a section which has
not been explained in the paper titled "MSNoise, a Python Package for
Monitoring Seismic Velocity Changes Using Ambient Seismic Noise" and I
could not find any justification why this has been done.
Within the program, before calculating the cross-spectrum between the
current and reference CCFs, the minimum values of each window is subtracted
and the result is divided by the maximum value. What is the reason for
doing this? In the paper it is just mentioned that the windows are
mean-adjusted and tapered.
I understand the reason behind detrending, mean adjustment, and the
tapering, but not the above-mentioned part of the code.
Thank you for your help,
Regards,
Yoones
______________________________
Dear MSNoise enthusiast,
I am currently processing data of Merapi volcano from 7 stations during
January 2013 - October 2015. When I type:
> msnoise compute_cc
I get:
2015-11-20 11:08:14 [INFO] *** Starting: Compute CC ***
> 2015-11-20 11:08:14 [INFO] Will compute ZZ
> 2015-11-20 11:08:14 [INFO] New CC Job: 2013-11-16 (1 pairs with 2 stations)
> Traceback (most recent call last):
> File "C:\Users\Dell\Anaconda\Scripts\msnoise-script.py", line 9, in
> <module>
> load_entry_point('msnoise==1.3.1', 'console_scripts', 'msnoise')()
> File
> "C:\Users\Dell\Anaconda\lib\site-packages\msnoise\scripts\msnoise.py", line
> 393, in run
> cli(obj={})
> File
> "C:\Users\Dell\Anaconda\lib\site-packages\click-4.0-py2.7.egg\click\core.py",
> line 664, in __call__
> return self.main(*args, **kwargs)
> File
> "C:\Users\Dell\Anaconda\lib\site-packages\click-4.0-py2.7.egg\click\core.py",
> line 644, in main
> rv = self.invoke(ctx)
> File
> "C:\Users\Dell\Anaconda\lib\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
> "C:\Users\Dell\Anaconda\lib\site-packages\click-4.0-py2.7.egg\click\core.py",
> line 837, in invoke
> return ctx.invoke(self.callback, **ctx.params)
> File
> "C:\Users\Dell\Anaconda\lib\site-packages\click-4.0-py2.7.egg\click\core.py",
> line 464, in invoke
> return callback(*args, **kwargs)
> File
> "C:\Users\Dell\Anaconda\lib\site-packages\msnoise\scripts\msnoise.py", line
> 174, in compute_cc
> main()
> File
> "C:\Users\Dell\Anaconda\lib\site-packages\msnoise\s03compute_cc.py", line
> 271, in main
> basetime, tramef_Z = preprocess(db, stations, comps, goal_day, params,
> tramef_Z)
> File
> "C:\Users\Dell\Anaconda\lib\site-packages\msnoise\s03compute_cc.py", line
> 148, in preprocess
> stream.merge(method=0, fill_value=0.0)
> File
> "C:\Users\Dell\Anaconda\lib\site-packages\obspy-0.10.2-py2.7-win-amd64.egg\obspy\core\stream.py",
> line 1823, in merge
> interpolation_samples=interpolation_samples)
> File
> "C:\Users\Dell\Anaconda\lib\site-packages\obspy-0.10.2-py2.7-win-amd64.egg\obspy\core\trace.py",
> line 786, in __add__
> data = np.concatenate(data)
> MemoryError
Is this because the size of data is too large (~120 GB)?
Please help. Thank you.
Warm regards,
Mochammad Husni Rizal
B.Sc. (Geophysics) - Universitas Gadjah Mada
Phone : +62-857-151-22090
Dear msnoise community,
I have installed MSNoise and are really looking forward to use it. I
followed the documentation which is very helpful :). Unfortunately I
have a problem with scanning the archive. When I use
$ msnoise populate
I get:
>> Populating the Station table
Adding: ES BUENA
Adding: ES NATPA
That is correct. But the next step is then:
$ msnoise scan_archive
2015-11-17 18:09:51 [INFO] *** Starting: Scan Archive ***
2015-11-17 18:09:51 [INFO] Will work on 1 threads
2015-11-17 18:09:51 [INFO] Started:
/data/meivol/14-TEIDE/MINISEED/2014/ES/BUENA/HHZ.D
[INFO/Process-1] child process calling self.run()
[INFO/Process-1] process shutting down
[DEBUG/Process-1] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-1] running the remaining "atexit" finalizers
[INFO/Process-1] process exiting with exitcode 0
2015-11-17 18:09:52 [INFO] Started:
/data/meivol/14-TEIDE/MINISEED/2014/ES/NATPA/HHZ.D
[INFO/Process-2] child process calling self.run()
[INFO/Process-2] process shutting down
[DEBUG/Process-2] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-2] running the remaining "atexit" finalizers
[INFO/Process-2] process exiting with exitcode 0
2015-11-17 18:09:52 [INFO] *** Finished: Scan Archive ***
2015-11-17 18:09:52 [INFO] It took 1.00 seconds
[INFO/MainProcess] process shutting down
[DEBUG/MainProcess] running all "atexit" finalizers with priority >= 0
[DEBUG/MainProcess] running the remaining "atexit" finalizers
I attached the data_availability plot which shows that the data is
there... Is it maybe that I use the wrong data structure? I choose SDS
because my data looks like that:
/data/meivol/14-TEIDE/MINISEED/2014/ES/NATPA/HHZ.D/ES.NATPA..HHZ.D.2014.096
Thanks in advance,
Meike
--
Meike Volk
PhD student
School of Earth Sciences
University College Dublin
Hello Dylan,
Indeed, this looks like an incompatibility of types passed to resample
... You could maybre try to re-build the scikits-samplerate package
(uninstall and reinstall), that *could* work. Otherwise, either
downgrade numpy, or if you don't actually need the resampling (because
e.g. all your data is 100 Hz and you want to decimate to 20 Hz), you can
ignore it and use Decimate instead.
Could you open an issue on github for this ?
Thanks
Thomas
Le 13/11/2015 21:45, Dylan Mikesell a écrit :
> Hi MSNoise folks,
>
> I have a question about numpy. I installed cartopy today and during
> the install conda updated a bunch of other libraries, one of which was
> numpy. I had numpy 1.9.2 and updated to 1.10.0. Now when running
> 'compute_cc' I get the following error. I am not completely sure, but
> I believe it's related to samplerate and the input numpy data type.
> Has anyone ran into this error?
>
> Any thoughts on how to figure it out? I reinstalled scikits.samplrate,
> but that hasn't fixed the problem. And interestingly, the 'bugreport'
> says that samplerate is not found so perhaps this is the problem. But
> I haven't been able to figure it out yet and this error leads me to
> believe it's a problem with the numpy type.
> Thanks,
>
> Dylan
>
>
> [dmikesell@sonic deconData]$ msnoise compute_cc
>
> Traceback (most recent call last):
> File "/usr/local/anaconda/bin/msnoise", line 11, in <module>
> sys.exit(run())
> File
> "/usr/local/anaconda/lib/python2.7/site-packages/msnoise/scripts/msnoise.py",
> line 393, in run
> cli(obj={})
> File
> "/usr/local/anaconda/lib/python2.7/site-packages/click/core.py", line
> 700, in __call__
> return self.main(*args, **kwargs)
> File
> "/usr/local/anaconda/lib/python2.7/site-packages/click/core.py", line
> 680, in main
> rv = self.invoke(ctx)
> File
> "/usr/local/anaconda/lib/python2.7/site-packages/click/core.py", line
> 1027, in invoke
> return _process_result(sub_ctx.command.invoke(sub_ctx))
> File
> "/usr/local/anaconda/lib/python2.7/site-packages/click/core.py", line
> 873, in invoke
> return ctx.invoke(self.callback, **ctx.params)
> File
> "/usr/local/anaconda/lib/python2.7/site-packages/click/core.py", line
> 508, in invoke
> return callback(*args, **kwargs)
> File
> "/usr/local/anaconda/lib/python2.7/site-packages/msnoise/scripts/msnoise.py",
> line 173, in compute_cc
> from ..s03compute_cc import main
> File
> "/usr/local/anaconda/lib/python2.7/site-packages/msnoise/s03compute_cc.py",
> line 71, in <module>
> from scikits.samplerate import resample
> File
> "/usr/local/anaconda/lib/python2.7/site-packages/scikits.samplerate-0.3.3-py2.7-linux-x86_64.egg/scikits/samplerate/__init__.py",
> line 6, in <module>
> from _samplerate import resample, available_convertors,
> src_version_str, \
> File "numpy.pxd", line 43, in scikits.samplerate._samplerate
> (scikits/samplerate/_samplerate.c:3807)
> ValueError: numpy.dtype does not appear to be the correct type object
>
>
Dear Mr,
My name is Kike, currently I work in Chilean Volcano Observatory.
I am working with MSNoise 1.3.1 under Ubuntu 14.04.
After several steps:
Workflow
Installer
Configurator
Populate Station Table
Scan Archive
New Jobs
Compute Cross-Correlations -done and fine-
Stack (-r) -done-
Compute MWCS -done and fine-
Compute dt/t -done and fine-
...when I intended to plot, several graph have problems, especifically mwcs (wrong), distance(only color lines) and dvv (empty) : I attached the bug in file text and images.
Would I a help to you ?
I did the inscription yesterday and the processes was wrong.
Thanks so much for your orientation, KIKE
--
LUIS ENRIQUE FRANCO
Grupo de sismologia
Observatorio Volcanologico
Servicio de Geologia y Mineria
Temuco - Chile
Hi Angel,
Try to update traits and traitsui :
pip install traitsui==4.5.0
Thomas
Le 07/11/2015 23:12, msnoise-owner(a)mailman-as.oma.be a écrit :
> Dear msnoise community:
>
> I am installing msnoise in a 32-bits Ubuntu-Linux system without
> apparent errors.
>
> I have already created the database running the script msnoise
> install. But when I run the configurator script
>
> $ msnoise config
>
> I have an error like this:
>
> ImportError:
> /home/angel/anaconda/lib/python2.7/site-packages/traits/ctraits.so:
> undefined symbol: _PyTrash_thread_destroy_chain
>
> Can you help me with your experience?
>
> Thank you in advance
>
>
> Angel Figueroa-Soto
> Instituto de Investigaciones en Ciencias de la Tierra, UMSNH
> Research Institute for Earth Sciences, UMSNH
> Edif. "U" Ciudad Universitaria CP 58060
> Morelia, Michoacan. Mexico
> https://sites.google.com/site/angfsoto/
Hi,
I've installed MSNoise 1.3.1 on a Ubuntu 32bit computer, but when I try to compute the cross- correlation functions it does it well for the first 3 years of data (from 1 January 2011 to 31 December 2013), but after that it reports this error:
2015-11-02 18:45:57 [INFO] *** Starting: Compute CC ***
/home/juan/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py:1032: UserWarning: /home/juan/.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-11-02 18:45:58 [INFO] Will compute ZZ ZT
2015-11-02 18:45:58 [INFO] New CC Job: 2014-01-15 (6 pairs with 4 stations)
Traceback (most recent call last):
File "/home/juan/anaconda/bin/msnoise", line 9, in <module>
load_entry_point('msnoise==1.3.1', 'console_scripts', 'msnoise')()
File "/home/juan/anaconda/lib/python2.7/site-packages/msnoise-1.3.1-py2.7.egg/msnoise/scripts/msnoise.py", line 393, in run
cli(obj={})
File "/home/juan/anaconda/lib/python2.7/site-packages/click/core.py", line 700, in __call__
return self.main(*args, **kwargs)
File "/home/juan/anaconda/lib/python2.7/site-packages/click/core.py", line 680, in main
rv = self.invoke(ctx)
File "/home/juan/anaconda/lib/python2.7/site-packages/click/core.py", line 1027, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/juan/anaconda/lib/python2.7/site-packages/click/core.py", line 873, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/juan/anaconda/lib/python2.7/site-packages/click/core.py", line 508, in invoke
return callback(*args, **kwargs)
File "/home/juan/anaconda/lib/python2.7/site-packages/msnoise-1.3.1-py2.7.egg/msnoise/scripts/msnoise.py", line 174, in compute_cc
main()
File "/home/juan/anaconda/lib/python2.7/site-packages/msnoise-1.3.1-py2.7.egg/msnoise/s03compute_cc.py", line 266, in main
basetime, tramef_Z, tramef_E, tramef_N = preprocess(db, stations, comps, goal_day, params, tramef_Z, tramef_E, tramef_N)
File "/home/juan/anaconda/lib/python2.7/site-packages/msnoise-1.3.1-py2.7.egg/msnoise/s03compute_cc.py", line 144, in preprocess
trace.detrend(type="linear")
File "/home/juan/anaconda/lib/python2.7/site-packages/obspy-0.9.2-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 249, in new_func
return func(*args, **kwargs)
File "/home/juan/anaconda/lib/python2.7/site-packages/obspy-0.9.2-py2.7-linux-i686.egg/obspy/core/util/decorator.py", line 232, in new_func
return func(*args, **kwargs)
File "/home/juan/anaconda/lib/python2.7/site-packages/obspy-0.9.2-py2.7-linux-i686.egg/obspy/core/trace.py", line 1732, in detrend
self.data = func(self.data, **options)
File "/home/juan/anaconda/lib/python2.7/site-packages/scipy/signal/signaltools.py", line 1560, in detrend
coef, resids, rank, s = linalg.lstsq(A, newdata[sl])
File "/home/juan/anaconda/lib/python2.7/site-packages/scipy/linalg/basic.py", line 550, in lstsq
resids = np.sum(np.abs(x[n:])**2, axis=0)
MemoryError
I've made more attempts but now it takes 4000 seconds per day and sometimes it is interrupted by reporting the same error above.
Some of the parameters used are: cc_sampling_rate: 20 Hz, ZZ correlation only, resampling method: resample, filter parameters (Low: 0.01, Mwcs low: 0.12, Mwcs high: 0.98, high: 1, Rms threshold: 0.0, Mwcs wlen:10 and Mwcs step: 5)
What can I do? Thank you very much in advance.
Laura.
Dear msnoise community:
I am installing msnoise in a 32-bits Ubuntu-Linux system without
apparent errors.
I have already created the database running the script msnoise install.
But when I run the configurator script
$ msnoise config
I have an error like this:
ImportError:
/home/angel/anaconda/lib/python2.7/site-packages/traits/ctraits.so:
undefined symbol: _PyTrash_thread_destroy_chain
Can you help me with your experience?
Thank you in advance
Angel Figueroa-Soto
Instituto de Investigaciones en Ciencias de la Tierra, UMSNH
Research Institute for Earth Sciences, UMSNH
Edif. "U" Ciudad Universitaria CP 58060
Morelia, Michoacan. Mexico
https://sites.google.com/site/angfsoto/
Hi All;
After upgrading my obspy, I am having problems with the Cross-correlation process:
msnoise compute_cc
/Users/ech/github/obspy/obspy/__init__.py:150: ObsPyDeprecationWarning: Module 'obspy.sac' is deprecated and will stop working with the next ObsPy version. Please import module 'obspy.io.sac' instead.
ObsPyDeprecationWarning)
/Users/ech/github/obspy/obspy/core/util/deprecation_helpers.py:55: ObsPyDeprecationWarning: Function 'obspy.core.util.gps2DistAzimuth' is deprecated and will stop working with the next ObsPy version. Please use 'obspy.geodetics.gps2dist_azimuth' instead.
ObsPyDeprecationWarning)
2015-10-13 19:48:12 [INFO] *** Starting: Compute CC ***
2015-10-13 19:48:12 [INFO] Will compute ZZ
2015-10-13 19:48:12 [INFO] New CC Job: 2012-01-01 (1 pairs with 2 stations)
2015-10-13 19:48:16 [INFO] Pre-Whitening Traces
2015-10-13 19:48:16 [INFO] Processing CC
Traceback (most recent call last):
File "/Users/ech/anaconda/bin/msnoise", line 9, in <module>
load_entry_point('msnoise==1.3', 'console_scripts', 'msnoise')()
File "/Users/ech/anaconda/lib/python2.7/site-packages/msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py", line 392, in run
cli(obj={})
File "/Users/ech/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 "/Users/ech/anaconda/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 590, in main
rv = self.invoke(ctx)
File "/Users/ech/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 "/Users/ech/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 "/Users/ech/anaconda/lib/python2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/Users/ech/anaconda/lib/python2.7/site-packages/msnoise-1.3-py2.7.egg/msnoise/scripts/msnoise.py", line 173, in compute_cc
main()
File "/Users/ech/anaconda/lib/python2.7/site-packages/msnoise-1.3-py2.7.egg/msnoise/s03compute_cc.py", line 363, in main
thisdate, thistime, params.min30 / params.goal_sampling_rate, 'ZZ', daycorr, params.goal_sampling_rate, day=True, ncorr=ndaycorr)
File "/Users/ech/anaconda/lib/python2.7/site-packages/msnoise-1.3-py2.7.egg/msnoise/api.py", line 851, in add_corr
ncorr)
File "/Users/ech/anaconda/lib/python2.7/site-packages/msnoise-1.3-py2.7.egg/msnoise/api.py", line 891, in export_sac
tr = SacIO(filename)
File "/Users/ech/github/obspy/obspy/io/sac/sacio.py", line 298, in __init__
self.read_sac_file(filen)
File "/Users/ech/github/obspy/obspy/io/sac/sacio.py", line 608, in read_sac_file
self.hf = from_buffer(fh.read(4 * 70), dtype=native_str('<f4'))
AttributeError: 'str' object has no attribute 'read'
Has anyone encountered this problem before?
Thanks in advance,
-Esteban
--
Graduate Student in Seismology
University of California Santa Cruz
Santa Cruz, California 95064
echavess(a)ucsc.edu / ec.sibaja(a)gmail.com
On August 24, 2015 at 4:59:40 AM, 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. Path problem on a windows system (Zhikun Liu)
2. Re: Path problem on a windows system (Thomas Lecocq)
3. Re: Path problem on a windows system (Zhikun Liu)
----------------------------------------------------------------------
Message: 1
Date: Mon, 24 Aug 2015 01:36:35 +0800 (GMT+08:00)
From: "Zhikun Liu" <zkliu(a)cugb.edu.cn>
To: msnoise(a)mailman-as.oma.be
Subject: [MSNoise] Path problem on a windows system
Message-ID: <950c1b5.f5e5.14f5ba21f72.Coremail.zkliu(a)cugb.edu.cn>
Content-Type: text/plain; charset=GBK
Dear Thomas and All,
I am a beginner of MSNoise and Python, but I am very interested in this powerful tool.
I installed msnoise on a windows system. When run "msnoise test", I got the following output.
Please note the line above star line. It seems that the path is wrong (a '\' is replaced by '/'
as in linux system). How to fix it? Many thanks.
.................................................................................
test_006_get_stations (msnoise.test.tests.MSNoiseTests) ... ok
test_007_update_stations (msnoise.test.tests.MSNoiseTests) ... ok
test_008_scan_archive (msnoise.test.tests.MSNoiseTests) ... 2015-08-24 00:16:02
[INFO] *** Starting: Scan Archive ***
2015-08-24 00:16:02 [INFO] Initializing (should be run only once)
2015-08-24 00:16:02 [INFO] Will work on 1 threads
2015-08-24 00:16:02 [INFO] Started: C:\Users\ZL\Anaconda\lib\site-packages\ms
noise\test\data\2010/UV05\HHZ.D
************************************
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 380, in ma
in
prepare(preparation_data)
File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 488, in pr
epare
assert main_name not in sys.modules, main_name
AssertionError: __main__
[INFO/Process-1] process shutting down
[DEBUG/Process-1] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-1] running the remaining "atexit" finalizers
2015-08-24 00:16:02 [INFO] Started: C:\Users\ZKLIU\Anaconda\lib\site-packages\ms
noise\test\data\2010/UV06\HHZ.D
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 380, in ma
in
prepare(preparation_data)
File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 488, in pr
epare
assert main_name not in sys.modules, main_name
AssertionError: __main__
[INFO/Process-2] process shutting down
.........................
Zhikun at CUGB
------------------------------
Message: 2
Date: Sun, 23 Aug 2015 20:50:29 +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] Path problem on a windows system
Message-ID:
<CA+U7X7vL_NUkLVRXrazXpN919ouQYfyKpe5zOSYtyATaCudaUQ(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Hi!
It looks like a python problem on your machine. Is your username not-utf8?
It looks like two process don't use the same folder naming. It's a known
problem with python 2 ... msnoise is not yet py 3 compatible. If that is
the case, look for py2/anaconda issues with chinese/other user names.
Cheers
Thomas
On 23 Aug 2015 19:19, "Zhikun Liu" <zkliu(a)cugb.edu.cn> wrote:
> Dear Thomas and All,
>
>
> I am a beginner of MSNoise and Python, but I am very interested in this
> powerful tool.
> I installed msnoise on a windows system. When run "msnoise test", I got
> the following output.
> Please note the line above star line. It seems that the path is wrong (a
> '\' is replaced by '/'
> as in linux system). How to fix it? Many thanks.
>
>
>
>
>
> .................................................................................
> test_006_get_stations (msnoise.test.tests.MSNoiseTests) ... ok
> test_007_update_stations (msnoise.test.tests.MSNoiseTests) ... ok
> test_008_scan_archive (msnoise.test.tests.MSNoiseTests) ... 2015-08-24
> 00:16:02
> [INFO] *** Starting: Scan Archive ***
> 2015-08-24 00:16:02 [INFO] Initializing (should be run only once)
> 2015-08-24 00:16:02 [INFO] Will work on 1 threads
> 2015-08-24 00:16:02 [INFO] Started:
> C:\Users\ZL\Anaconda\lib\site-packages\ms
> noise\test\data\2010/UV05\HHZ.D
> ************************************
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 380, in
> ma
> in
> prepare(preparation_data)
> File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 488, in
> pr
> epare
> assert main_name not in sys.modules, main_name
> AssertionError: __main__
> [INFO/Process-1] process shutting down
> [DEBUG/Process-1] running all "atexit" finalizers with priority >= 0
> [DEBUG/Process-1] running the remaining "atexit" finalizers
> 2015-08-24 00:16:02 [INFO] Started:
> C:\Users\ZKLIU\Anaconda\lib\site-packages\ms
> noise\test\data\2010/UV06\HHZ.D
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 380, in
> ma
> in
> prepare(preparation_data)
> File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 488, in
> pr
> epare
> assert main_name not in sys.modules, main_name
> AssertionError: __main__
> [INFO/Process-2] process shutting down
>
> .........................
>
>
>
>
>
>
> Zhikun at CUGB
> _______________________________________________
> MSNoise mailing list
> MSNoise(a)mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
>
------------------------------
Message: 3
Date: Mon, 24 Aug 2015 03:51:09 +0800 (GMT+08:00)
From: "Zhikun Liu" <zkliu(a)cugb.edu.cn>
To: "Python Package for Monitoring Seismic Velocity Changes using
Ambient Seismic Noise" <msnoise(a)mailman-as.oma.be>
Subject: Re: [MSNoise] Path problem on a windows system
Message-ID: <6bd89c2e.f61a.14f5c1d506f.Coremail.zkliu(a)cugb.edu.cn>
Content-Type: text/plain; charset=GBK
Dear Thomas,
Yes, i used the py3/anaconda, which may be the reason.
Now I move to work in the enviorment of linux using py2.
It works well. Thanks.
Zhikun
> -----????-----
> ???: "Thomas Lecocq" <thlecocq(a)gmail.com>
> ????: 2015?8?24? ???
> ???: "Python Package for Monitoring Seismic Velocity Changes using Ambient
> Seismic Noise" <msnoise(a)mailman-as.oma.be>
> ??:
> ??: Re: [MSNoise] Path problem on a windows system
>
> Hi!
>
> It looks like a python problem on your machine. Is your username not-utf8?
> It looks like two process don't use the same folder naming. It's a known
> problem with python 2 ... msnoise is not yet py 3 compatible. If that is
> the case, look for py2/anaconda issues with chinese/other user names.
>
> Cheers
>
> Thomas
> On 23 Aug 2015 19:19, "Zhikun Liu" <zkliu(a)cugb.edu.cn> wrote:
>
> > Dear Thomas and All,
> >
> >
> > I am a beginner of MSNoise and Python, but I am very interested in this
> > powerful tool.
> > I installed msnoise on a windows system. When run "msnoise test", I got
> > the following output.
> > Please note the line above star line. It seems that the path is wrong (a
> > '\' is replaced by '/'
> > as in linux system). How to fix it? Many thanks.
> >
> >
> >
> >
> >
> > .................................................................................
> > test_006_get_stations (msnoise.test.tests.MSNoiseTests) ... ok
> > test_007_update_stations (msnoise.test.tests.MSNoiseTests) ... ok
> > test_008_scan_archive (msnoise.test.tests.MSNoiseTests) ... 2015-08-24
> > 00:16:02
> > [INFO] *** Starting: Scan Archive ***
> > 2015-08-24 00:16:02 [INFO] Initializing (should be run only once)
> > 2015-08-24 00:16:02 [INFO] Will work on 1 threads
> > 2015-08-24 00:16:02 [INFO] Started:
> > C:\Users\ZL\Anaconda\lib\site-packages\ms
> > noise\test\data\2010/UV05\HHZ.D
> > ************************************
> > Traceback (most recent call last):
> > File "<string>", line 1, in <module>
> > File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 380, in
> > ma
> > in
> > prepare(preparation_data)
> > File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 488, in
> > pr
> > epare
> > assert main_name not in sys.modules, main_name
> > AssertionError: __main__
> > [INFO/Process-1] process shutting down
> > [DEBUG/Process-1] running all "atexit" finalizers with priority >= 0
> > [DEBUG/Process-1] running the remaining "atexit" finalizers
> > 2015-08-24 00:16:02 [INFO] Started:
> > C:\Users\ZKLIU\Anaconda\lib\site-packages\ms
> > noise\test\data\2010/UV06\HHZ.D
> > Traceback (most recent call last):
> > File "<string>", line 1, in <module>
> > File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 380, in
> > ma
> > in
> > prepare(preparation_data)
> > File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 488, in
> > pr
> > epare
> > assert main_name not in sys.modules, main_name
> > AssertionError: __main__
> > [INFO/Process-2] process shutting down
> >
> > .........................
> >
> >
> >
> >
> >
> >
> > Zhikun at CUGB
> > _______________________________________________
> > 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 20, Issue 4
**************************************
Dear Thomas,
Yes, i used the py3/anaconda, which may be the reason.
Now I move to work in the enviorment of linux using py2.
It works well. Thanks.
Zhikun
> -----原始邮件-----
> 发件人: "Thomas Lecocq" <thlecocq(a)gmail.com>
> 发送时间: 2015年8月24日 星期一
> 收件人: "Python Package for Monitoring Seismic Velocity Changes using Ambient
> Seismic Noise" <msnoise(a)mailman-as.oma.be>
> 抄送:
> 主题: Re: [MSNoise] Path problem on a windows system
>
> Hi!
>
> It looks like a python problem on your machine. Is your username not-utf8?
> It looks like two process don't use the same folder naming. It's a known
> problem with python 2 ... msnoise is not yet py 3 compatible. If that is
> the case, look for py2/anaconda issues with chinese/other user names.
>
> Cheers
>
> Thomas
> On 23 Aug 2015 19:19, "Zhikun Liu" <zkliu(a)cugb.edu.cn> wrote:
>
> > Dear Thomas and All,
> >
> >
> > I am a beginner of MSNoise and Python, but I am very interested in this
> > powerful tool.
> > I installed msnoise on a windows system. When run "msnoise test", I got
> > the following output.
> > Please note the line above star line. It seems that the path is wrong (a
> > '\' is replaced by '/'
> > as in linux system). How to fix it? Many thanks.
> >
> >
> >
> >
> >
> > .................................................................................
> > test_006_get_stations (msnoise.test.tests.MSNoiseTests) ... ok
> > test_007_update_stations (msnoise.test.tests.MSNoiseTests) ... ok
> > test_008_scan_archive (msnoise.test.tests.MSNoiseTests) ... 2015-08-24
> > 00:16:02
> > [INFO] *** Starting: Scan Archive ***
> > 2015-08-24 00:16:02 [INFO] Initializing (should be run only once)
> > 2015-08-24 00:16:02 [INFO] Will work on 1 threads
> > 2015-08-24 00:16:02 [INFO] Started:
> > C:\Users\ZL\Anaconda\lib\site-packages\ms
> > noise\test\data\2010/UV05\HHZ.D
> > ************************************
> > Traceback (most recent call last):
> > File "<string>", line 1, in <module>
> > File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 380, in
> > ma
> > in
> > prepare(preparation_data)
> > File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 488, in
> > pr
> > epare
> > assert main_name not in sys.modules, main_name
> > AssertionError: __main__
> > [INFO/Process-1] process shutting down
> > [DEBUG/Process-1] running all "atexit" finalizers with priority >= 0
> > [DEBUG/Process-1] running the remaining "atexit" finalizers
> > 2015-08-24 00:16:02 [INFO] Started:
> > C:\Users\ZKLIU\Anaconda\lib\site-packages\ms
> > noise\test\data\2010/UV06\HHZ.D
> > Traceback (most recent call last):
> > File "<string>", line 1, in <module>
> > File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 380, in
> > ma
> > in
> > prepare(preparation_data)
> > File "C:\Users\ZL\Anaconda\lib\multiprocessing\forking.py", line 488, in
> > pr
> > epare
> > assert main_name not in sys.modules, main_name
> > AssertionError: __main__
> > [INFO/Process-2] process shutting down
> >
> > .........................
> >
> >
> >
> >
> >
> >
> > Zhikun at CUGB
> > _______________________________________________
> > 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