Hello,
I’m trying to run through, one command at a time, the example dataset included with MSNoise but am getting stuck at the compute_cc command. When i run the command half of the jobs are labeled “in progress” but never actually complete and the other files are still listed as “to do”. No errors ever come up the command simply ends after “checking gaps”. The station table and data availability table both are successfully populated. The filters are also correctly defined. I am running this in Python 3.
The series of commands that I run are:
1) msnoise admin
2) open http://localhost:5000/admin/
3) msnoise populate
4) msnoise scan_archive
5) msnoise new_jobs
6) msnoise compute_cc
When i run the msnoise test command it works perfectly. I’ve tried to back out what I’m missing by looking at the steps in the tests.py but haven’t solved my issue yet. Any advice on what I’m missing/doing wrong is very appreciated.
Natalie
Dear Salim,
I don't know SS1 seismometers, can you tell us a little more about those
? Corner frequency? Instrument response?
About the filters, well, this is strongly dependent on the target of the
study, and of the number of station & their spacing...
Please provide lots of details, I'm sure people on this mailing list can
also help !
Cheers,
Thomas
On 31/10/2018 14:35, guettouche, salim wrote:
> Hi Mr Thomas,
>
> I'm newer in msnoise and i would to have an idea about finding best
> parameters in msnoise in short period seismometers ss1 especially
> filters en computing cc.
> ps excuse me for this rudimentary question
--
Dr. Thomas Lecocq
Geologist - Seismologist
Seismology - Gravimetry
Royal Observatory of Belgium
*
* * * * *
* * * *
---------
http://www.seismology.behttp://msnoise.orghttp://twitter.com/#!/Seismologie_behttps://www.facebook.com/seismologie.be
When trying to use the dev version on projects (using mysql) created under
msnoise 1.5, is there something I have to do to get it running? E.g. Ive
tested the dev install with a clean project, and it looks good, but it I
try and run it in a prior project directory it fails (Aborted!).
Not sure if there is a database upgrade.
thanks!
-a
--
Ashton F. Flinders, Ph.D
U.S. Geological Survey
345 Middlefield Road
Menlo Park, CA 94025
(650) 329-5050
I have a project, processed to completion, where I have calculated ZZ, RR,
and TT. I would like to now go back an do ZR, ZT, and RT.
I'm not sure about how to go about adding these new combos into the job
database (e.g. new_jobs doesnt work).
Do I have to recalculate all CC jobs (msnoise reset CC --all)?
thanks!
ashton
--
Ashton F. Flinders, Ph.D
U.S. Geological Survey
345 Middlefield Road
Menlo Park, CA 94025
(650) 329-5050
I get a strange crash part way through my MWCS step (see below), and
compute_MWCS is not finishing. E.g. I have 5 frequency bands, but for bands
2-4 only 1 of 10 station pair MWCS's get calculated, even though all the
data is there in the stacks. I have tried rerunning comute_mwcs by changing
the flag back to 'T' for the station pairs where mwcs did not get
calculated, but it still crashes. This crash is repeatable.
Any thoughts?
(p.s. I also initially tried remaking the stacks, but it crashed at the
same point. The data looks good in the stacks)
-ashton
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/home/ashton/.local/lib/python3.5/site-packages/sqlalchemy/engine/base.py",
line 1139, in _execute_context
context)
File
"/home/ashton/.local/lib/python3.5/site-packages/sqlalchemy/engine/default.py",
line 450, in do_execute
cursor.execute(statement, parameters)
File
"/home/ashton/anaconda3/envs/msnoise/lib/python3.5/site-packages/pymysql/cursors.py",
line 165, in execute
result = self._query(query)
File
"/home/ashton/anaconda3/envs/msnoise/lib/python3.5/site-packages/pymysql/cursors.py",
line 321, in _query
conn.query(q)
File
"/home/ashton/anaconda3/envs/msnoise/lib/python3.5/site-packages/pymysql/connections.py",
line 859, in query
self._execute_command(COMMAND.COM_QUERY, sql)
File
"/home/ashton/anaconda3/envs/msnoise/lib/python3.5/site-packages/pymysql/connections.py",
line 1096, in _execute_command
self._write_bytes(packet)
File
"/home/ashton/anaconda3/envs/msnoise/lib/python3.5/site-packages/pymysql/connections.py",
line 1048, in _write_bytes
"MySQL server has gone away (%r)" % (e,))
pymysql.err.OperationalError: (2006, "MySQL server has gone away
(BrokenPipeError(32, 'Broken pipe'))")
The above exception was the direct cause of the following exception:
--
Ashton F. Flinders, Ph.D
U.S. Geological Survey
345 Middlefield Road
Menlo Park, CA 94025
(650) 329-5050
Dear MSNoise users,
I'm trying to install the sara plugin on my computer but I'm
experiencing some problems (see attached).
Do you have any idea of what could be the problem?
Thanks in advance for your help,
Jos
Good morning
Can MSNoise produce dispersion curves? If yes where is the info or
tutorial. Page 90 of the MSNoise documentation shows group velocity
dispersion curves but does not show how they were obtained.Please help with
this one
Kind regards
Linda Akromah
Hi all,
We have an error with MSNOISE when we launch the compute_dtt command (please find a screen capture below)
We encoutered the same problem with python 2.7 and python 3.6 (msnoise version 1.5.1, anaconda under windows 10).
Could you help us in fixing this ?
Cheers
Julie & Benjamin
(base) C:\Users\jalbaric\MSNOISE_TEST>msnoise compute_dtt
2018-10-08 15:49:50 [INFO] *** Starting: Compute DT/T ***
2018-10-08 15:49:50 [DEBUG] Found 091 updated days
2018-10-08 15:49:50 [INFO] Loading mov=5 days for filter=01
2018-10-08 15:49:50 [DEBUG] Processing 2018-07-09 - 01 - 05 mov
Traceback (most recent call last):
File "c:\users\jalbaric\anaconda2\lib\runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\users\jalbaric\anaconda2\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Users\jalbaric\Anaconda2\Scripts\msnoise.exe\__main__.py", line 9, in <module>
File "c:\users\jalbaric\anaconda2\lib\site-packages\msnoise\scripts\msnoise.py", line 717, in run
cli(obj={})
File "c:\users\jalbaric\anaconda2\lib\site-packages\click\core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "c:\users\jalbaric\anaconda2\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "c:\users\jalbaric\anaconda2\lib\site-packages\click\core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\jalbaric\anaconda2\lib\site-packages\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\jalbaric\anaconda2\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "c:\users\jalbaric\anaconda2\lib\site-packages\msnoise\scripts\msnoise.py", line 414, in compute_dtt
main(interval)
File "c:\users\jalbaric\anaconda2\lib\site-packages\msnoise\s06compute_dtt.py", line 332, in main
dtArray = dtArray.reshape((1, dtArray.shape[0]))
File "c:\users\jalbaric\anaconda2\lib\site-packages\pandas\core\generic.py", line 4376, in __getattr__
return object.__getattribute__(self, name)
AttributeError: 'Series' object has no attribute 'reshape'
I have a few jobs (in the CC step) that keeps failing (say 2% of 100k
CC's). It's throwing the error;
Process Process-9:
Traceback (most recent call last):
File
"/home/ashton/anaconda3/envs/msnoise/lib/python3.5/multiprocessing/process.py",
line 252, in _bootstrap
self.run()
File
"/home/ashton/anaconda3/envs/msnoise/lib/python3.5/multiprocessing/process.py",
line 93, in run
self._target(*self._args, **self._kwargs)
File
"/home/ashton/anaconda3/envs/msnoise/lib/python3.5/site-packages/msnoise/s03compute_cc.py",
line 318, in main
t2_novert = make_same_length(t2_novert)
File
"/home/ashton/anaconda3/envs/msnoise/lib/python3.5/site-packages/msnoise/api.py",
line 1437, in make_same_length
tr.data.mask = mask
UnboundLocalError: local variable 'mask' referenced before assignment
before I go into debugging what is going on, is there a way I can just have
it skip this pair? Is there a flag I can set (e.g. a flag of "S" for skip
would be nice!)? What happens if I set the flag to "D" and its not done?
thanks!
ashton
--
Ashton F. Flinders, Ph.D
U.S. Geological Survey
345 Middlefield Road
Menlo Park, CA 94025
(650) 329-5050