[MSNoise] error using compute_dtt

2018-10-08 Thread julie . albaric
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 
 
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' 

___
MSNoise mailing list
MSNoise@mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise


Re: [MSNoise] Tutorial

2016-10-17 Thread Julie Albaric
Thanks for your answers !

Cheers,

Julie

> Le 13 oct. 2016 à 11:53, Aurélien Mordret <mord...@mit.edu> a écrit :
> 
> Hi There,
> 
> There is actually a test dataset in MSNoise. Just run 'msnoise test' in an
> empty folder.
> 
> But yes, Julie, You have to populate the database first, right after the
> 'msnoise install' run.
> 
> Cheers,
> 
> Aurelien
> 
> 
> Le jeu. 13 oct. 2016 à 05:43, VICIC BLAZ [PHD0900016] <
> blaz.vi...@phd.units.it <mailto:blaz.vi...@phd.units.it>> a écrit :
> 
>> A tut with small dataset would be useful indeed...Anyway, I think your
>> problem is, that you did not populate the station table.
>> 
>> 
>> http://msnoise.org/doc/workflow.html#module-msnoise.s002populate_station_table
>> 
>> 
>> afaik you will have to do it manualy, since there is a bug in 1.4 version
>> from the web interface.
>> 
>> 
>> blaz
>> 
>> 
>> From: msnoise-boun...@mailman-as.oma.be <msnoise-boun...@mailman-as.oma.be>
>> on behalf of Julie Albaric <julie.alba...@univ-fcomte.fr>
>> Sent: Thursday, October 13, 2016 10:49:28 AM
>> To: msnoise@mailman-as.oma.be
>> Subject: [MSNoise] Tutorial
>> 
>> Hi !
>> 
>> I would like to use MSNoise and was wondering if you had, in addition to
>> the documentation on your website, a tutorial with a small dataset.
>> Actually, I’ve installed MSNoise on my Mac with SQLite, see the web
>> interface but as soon as I try to create a station list I get an error
>> message :
>> builtins.TypeError
>> 
>> TypeError: __init__() missing 8 required positional arguments: 'net',
>> 'sta', 'X', 'Y', 'altitude', 'coordinates', 'instrument', and 'used'
>> 
>> 
>> I’m not very familiar with Python so I don’t know if it’s because I’ve
>> missed something in the way I use MSNoise (parameters to change/ files to
>> be present in the project folder…) or if it comes from the installation
>> itself.
>> 
>> Thanks,
>> 
>> Julie
>> 
>> --
>> Julie Albaric
>> UMR 6249 Chrono-environnement
>> Université de Franche-Comté
>> 16 route de Gray
>> 25030 Besançon, France
>> Tel. +33 3 81 66 63 69 <03%2081%2066%2063%2069>
>> 
>> ___
>> MSNoise mailing list
>> MSNoise@mailman-as.oma.be <mailto:MSNoise@mailman-as.oma.be>
>> http://mailman-as.oma.be/mailman/listinfo/msnoise 
>> <http://mailman-as.oma.be/mailman/listinfo/msnoise>
>> ___
>> MSNoise mailing list
>> MSNoise@mailman-as.oma.be <mailto:MSNoise@mailman-as.oma.be>
>> http://mailman-as.oma.be/mailman/listinfo/msnoise 
>> <http://mailman-as.oma.be/mailman/listinfo/msnoise>
>> 
> ___
> MSNoise mailing list
> MSNoise@mailman-as.oma.be <mailto:MSNoise@mailman-as.oma.be>
> http://mailman-as.oma.be/mailman/listinfo/msnoise 
> <http://mailman-as.oma.be/mailman/listinfo/msnoise>
--
Julie Albaric
UMR 6249 Chrono-environnement
Université de Franche-Comté
16 route de Gray
25030 Besançon, France
Tel. +33 3 81 66 63 69

___
MSNoise mailing list
MSNoise@mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise


[MSNoise] Tutorial

2016-10-13 Thread Julie Albaric
Hi !

I would like to use MSNoise and was wondering if you had, in addition to the 
documentation on your website, a tutorial with a small dataset.
Actually, I’ve installed MSNoise on my Mac with SQLite, see the web interface 
but as soon as I try to create a station list I get an error message : 
builtins.TypeError

TypeError: __init__() missing 8 required positional arguments: 'net', 'sta', 
'X', 'Y', 'altitude', 'coordinates', 'instrument', and 'used'


I’m not very familiar with Python so I don’t know if it’s because I’ve missed 
something in the way I use MSNoise (parameters to change/ files to be present 
in the project folder…) or if it comes from the installation itself.

Thanks,

Julie

--
Julie Albaric
UMR 6249 Chrono-environnement
Université de Franche-Comté
16 route de Gray
25030 Besançon, France
Tel. +33 3 81 66 63 69

___
MSNoise mailing list
MSNoise@mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise