Hi Thomas,
I didn't send this to the entire mail list because they are comments on the
master (not release) of msnoise. Thanks for all the work you have been
doing on msnoise!
In api.py, module check_and_phase_shift:
Any modifications to trace result in trace.data containing floats. If
trace.data originally contained ints this presents an issue if there was
"No Offset" because ints can't later be merged with floats. My quick
workaround was:
Dear MSnoisers:
In step s07, I have a problem with the resampling in pandas. The result is
that I lose the errorbars on my dv/v's.
py1_wmean, py1_wstd = get_wavgwstd(allbut)
py1_wmean = py1_wmean.resample('D', how='mean')
py1_wstd = py1_wstd.resample('D', how='mean').fillna(0.0)
data = detrend(py1_wmean)
print 'data= ', data
[kasper@localhost MSNoise-master]$ python s07plot_dtt.py
data= [ nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
nan nan nan nan]
If I don't resample, life is good:
py1_wmean, py1_wstd = get_wavgwstd(allbut)
#py1_wmean = py1_wmean.resample('D', how='mean')
#py1_wstd = py1_wstd.resample('D', how='mean').fillna(0.0)
data = detrend(py1_wmean)
print 'data= ', data
[kasper@localhost MSNoise-master]$ python s07plot_dtt.py
data= [ 1.05332051e-02 1.24279614e-02 -4.84688864e-01 1.11580621e-02
8.28039210e-03 1.04757327e-02 1.07993328e-02 -5.96110125e-04
7.23556870e-03 9.96330072e-03 9.54712307e-03 1.10273139e-02
1.06786539e-02 1.11155446e-02 9.51223128e-03 1.05238797e-02
1.00996973e-02 9.37587307e-03 7.18620810e-03 8.97052425e-03
9.08720458e-03 5.78305838e-03 8.33841882e-03 9.67250220e-03
8.61533043e-03 9.87386678e-03 8.22291954e-03 1.00831938e-02
9.36887461e-03 6.17043697e-03 8.22567034e-03 8.65890679e-03
8.22813898e-03 7.76614092e-03 7.84201987e-03 6.62494706e-03
8.02592632e-03 7.57269605e-03 8.68610949e-03 8.13714761e-03
7.87601472e-03 7.59459241e-03 7.61133449e-03 7.23192283e-03
Cheers,
kasper
Hi Thomas
Thank you very much! :)
MSNoise is really an excellent work!
If the package supports SAC format input, It would be more convenient to use it. I strongly suggest.
Sincerely
Xiaohan Chen
At 2014-12-02 16:36:29, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
>Hello,
>
>
>Le 02/12/2014 03:24, cxh757 a écrit :
>> Hi
>>
>>
>> Now I am trying to follow the workflow to run the test example ( download from github https://github.com/ROBelgium/MSNoise/tree/master/tests/data/2010 ), but I have two questions:
>>
>>
>> (1) What is the format of the input data? It seems that the input data format is NOT SAC format, but I did not find any information about data format in the online documentation.
>This is MiniSEED
>>
>>
>> (2) There is a PAZ parameter in the configuration GUI, the description is "Correct instrumental responce from paz [Y]/N".
>> If I choose Y, does it works? If it works, what should the file name of the paz file be and what's the format of the paz file?
>This option has no effect, I had implemented the PAZ correction (partly
>submitted by Z. Spica at the time), but this has disappeared from the
>current version. It will be re-implemented sooner or later (but
>carefully, as this may induce filtering problems (pre_filt etc)).
>
>cheers,
>
>thomas
>> _______________________________________________
>> 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
Hi
Now I am trying to follow the workflow to run the test example ( download from github https://github.com/ROBelgium/MSNoise/tree/master/tests/data/2010 ), but I have two questions:
(1) What is the format of the input data? It seems that the input data format is NOT SAC format, but I did not find any information about data format in the online documentation.
(2) There is a PAZ parameter in the configuration GUI, the description is "Correct instrumental responce from paz [Y]/N".
If I choose Y, does it works? If it works, what should the file name of the paz file be and what's the format of the paz file?
Hi Thomas
Thanks for your reply.
My OS is CentOS 6.5 final.
1) I use the 1.2.5 version, from https://github.com/ROBelgium/MSNoise/releases/tag/1.2.5
2) It seems that I have installed the sphinx package:
[cxh@core MSNoise-1.2.5]$ python bugreport.py -m
************* Computer Report *************
----------------+PYTHON+-------------------
Python: 2.7.8 |Anaconda 2.1.0 (64-bit)| (default, Aug 21 2014, 18:22:21)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]
---------------+MODULES+-------------------
Required:
[X] numpy: 1.9.0
[X] scipy: 0.14.0
[X] pandas: 0.14.1
[X] matplotlib: 1.4.0
[X] statsmodels: 0.5.0
[X] sqlalchemy: 0.9.7
[X] traitsui: 4.4.0
[X] traits: 4.4.0
[X] enable: 4.3.0
[X] scikits.samplerate: present (no version)
[X] obspy: 0.9.2
[X] sphinx: 1.2.3
[X] jinja2: 2.7.3
[X] flask: 0.10.1
[X] flask.ext.admin: 0.10.1
[X] wtforms: 2.0.1
[X] json: 2.0.9
[X] psutil: 2.1.1
Backends: (at least one is required)
[ ] wx: not found
[X] PyQt4: present (no version)
[ ] PySide: not found
Not required, just checking:
[X] setuptools: 5.8
[ ] reportlab: not found
[X] configobj: 5.0.6
[X] pkg_resources: present (no version)
[ ] paramiko: not found
[X] ctypes: 1.1.0
[X] pyparsing: 2.0.1
[X] distutils: 2.7.8
[X] IPython: 2.2.0
[ ] vtk: not found
Thanks.
At 2014-12-01 16:31:59, "Thomas Lecocq" <thomas.lecocq(a)oma.be> wrote:
>Hi,
>
>Can you tell me if :
>
>[_] you use the 1.2.5 version (not master)
>[_] you have all dependencies installed (use bugreport.py -m to check)
>
>it looks like the sphinx package is not properly installed !
>
>Thomas
>
>Le 01/12/2014 08:35, cxh757 a écrit :
>> I follow http://msnoise.org/doc/installation.html#building-this-documentation to try to build the documentation.
>>
>>
>> but when I run "make html", it returns :
>>
>>
>> [cxh@core doc]$ make html
>> sphinx-build -b html -d .build/doctrees . .build/html
>> Traceback (most recent call last):
>> File "/home/cxh/anaconda/bin/sphinx-build", line 9, in <module>
>> load_entry_point('Sphinx==1.2.3', 'console_scripts', 'sphinx-build')()
>> File "/home/cxh/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py", line 339, in load_entry_point
>> File "/home/cxh/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py", line 2456, in load_entry_point
>> ImportError: Entry point ('console_scripts', 'sphinx-build') not found
>> make: *** [html] error 1
>>
>>
>> How can I solve this problem?
>> Thanks
>> _______________________________________________
>> 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
I follow http://msnoise.org/doc/installation.html#building-this-documentation to try to build the documentation.
but when I run "make html", it returns :
[cxh@core doc]$ make html
sphinx-build -b html -d .build/doctrees . .build/html
Traceback (most recent call last):
File "/home/cxh/anaconda/bin/sphinx-build", line 9, in <module>
load_entry_point('Sphinx==1.2.3', 'console_scripts', 'sphinx-build')()
File "/home/cxh/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py", line 339, in load_entry_point
File "/home/cxh/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py", line 2456, in load_entry_point
ImportError: Entry point ('console_scripts', 'sphinx-build') not found
make: *** [html] error 1
How can I solve this problem?
Thanks�&�&j�^r�*�f�x�'
�5����]�ׄ^���=�a�&j�^r�*�f�ys���jT���Ǧj)fjv��f�x7����y����Ǧj)fjv��f�y�z+�u��ɭ�j&i����v�f�{_w��6�M�o)��Y���(���>�-~,p��DH�ω�Ӟ�Ӡ�~��z"�隊Y���(���2��
�6�^4�}���4�E �z+�u��]��Mm��(r�\�f�{_vׯ5�^5o+&�������^7��x���HB��t���D�L���|V�5�^��W�k'�+�����ڲ��m�(�P�sm5�O7מ�13�Ơx��㰶�u�m7Ӛ&i��j�}5
�6�^4�}y��5�Ak�d�f�-�(r�a�f���(r�&i�����6���ѣ&�9�������|��+�Rǫ���3�YZ���wh��S�U�[�+�}t�$����M5�T�w^���w���C0E^�Ȩ�]�k'�+�����ڲ��m�^}�ޝǬ��i��}׆��Κk�����j)\���]�r�����$���i��}׆��Κk�����j)\���]�r���{^����^��镨�r���