[MSNoise] Some little things and one question about data from more than one network.

Thomas Lecocq thomas.lecocq at oma.be
Fri Oct 3 07:27:18 UTC 2014


Dear Kasper,

Le 02/10/2014 23:38, Kasper van Wijk a écrit :
> Dear Tom et al.,
>
> I am working with a student to replicate the install of MSNOISE for the
> Auckland Volcanic Field. Below are a few things we have ran into:
>
> 1. http://msnoise.org/doc/workflow.html#module-MSNoise.s001configurator
> misses the explicit call to start the configurator:  python
> s001configurator.py
>
> (this is obvious to anyone who has used MSNOISE before, but stumped the
> aforementioned new student)
I've updated the documentation, thanks !
>
> 2. On CENTOS linux, I have an issue with sqlalchemy. The "fix" is as ugly
> as it is mysterious:
>
> http://stackoverflow.com/questions/14600530/cant-import-from-sqlalchemy-ext-declarative
Well, this looks strange indeed, but good to know, I'll make a new 
"Troobleshooting" section in the doc !
>
> 3. We have a font problem (which I don't know how to fix), but starting the
> configurator, we get the attached warning. Just a warning, though.
Never seen this before... probably somehow specific to paranoid-CentOS 
... :)
>
> 4. Is it correct that sqlite can only work on one thread?
>
> [devora at localhost MSNoise-master]$ python s01scan_archive.py --init -t 2
> 2014-08-22 10:14:13,724 [INFO] *** Starting: Scan Archive ***
> 2014-08-22 10:14:13,727 [INFO] Initializing (should be run only once)
> 2014-08-22 10:14:13,727 [INFO] You can not work on 2 threads because SQLite
> only supports 1 connection at a time
> 2014-08-22 10:14:13,727 [INFO] Will work on 1 threads

Well, in "theory", it could work on more than one thread, but there is a 
very big risk of problems, because SQLite can only accept one 
transaction at a time, so if two process try to insert, update (...) in 
the DB at the same time, you'll get a "Cannot insert, database locked" 
and the data will be lost...

>
> 5. And this is where are currently: we imported a station into our NZ
> network with a different network name. This resulted in errors when pairing
> the AK station with an NZ station. What should we do? After getting an
> error, we tried renaming the AK data to NZ to be consistent, but we are
> unable to cleanly perge the AK info in the database. Alternatively, can we
> set up two networks in the configurator?

Are you trying to run a second "project", independent of the AVF ? Or 
using a NZ station for the AVF monitoring ? I don't get this.

Renaming station files is usually not enough, if you don't rename 
metadata within the files + update the database... I'd say it's usually 
not worth the effort, MSNoise should be able to process data from 
different networks... What is the error you get ?

Best regards and thanks for using MSNoise :)

Tom
>
> Cheers,
> kasper
>
>
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise



More information about the MSNoise mailing list