[MSNoise] Installation Challenges

Thomas Lecocq thomas.lecocq at oma.be
Fri Feb 20 09:25:57 UTC 2015


Hi all,

just a side note:

samplerate module *can* be omitted if:

* either you don't need to decimate your data (already at 20 Hz and 
configure cc_sampling_rate to 20.0)
* or your data is all at the same sampling_rate, and you choose 
cc_sampling_rate to be obtainable by Decimation by an integer factor 
(100Hz data -> 20Hz CCF = factor 5, 100Hz data -> 25 Hz CCF = factor 4)

In the future, MSNoise will be able to automatically switch/compute the 
decimation factor, and if not integer, could use lower-resolution 
resampling method IF statsmodels is not available.

Cheers

Tom

Le 17/02/2015 22:56, Thelen, Weston a écrit :
> When I installed MSNoise on CentOS5, I had to install the libsamplerate
> code from source.  It did take some effort to get the make file to put the
> library in the correct spot, but once I got it, the scikits.samplerate
> installed smoothly.
>
> Wes
>
> On Tue, Feb 17, 2015 at 11:32 AM, Thomas Lecocq <thomas.lecocq at seismology.be
>> wrote:
>> Hi Glenn,
>>
>> Did you try downloading the sources, edit/create a site.cfg file and run
>> the python setup.py install ? It might work as-is ?
>>
>> Cheers
>>
>> tom
>>
>> Le 17/02/2015 20:40, Glenn Thompson a écrit :
>>
>>   I just tried installing the required packages on Red Hat Linux 6 too with
>>> the same results as Adebayo. I was able to install libsamplerate (not
>>> libsamplerate0):
>>>
>>> yum install libsamplerate
>>>
>>> But not libsamplerate-dev (or libsamplerate0-dev)
>>>
>>> And then the command:
>>>
>>> easy_install scikits.samplerate
>>>
>>> still failed with the same error as it did for Adebayo.
>>>
>>> error: SRC (http://www.mega-nerd.com/SRC/) library not found.
>>> Directories
>>> to search
>>>
>>> for the libraries can be specified in the site.cfg file, in section
>>>
>>> [samplerate].
>>>
>>> I have not been able to find out where on my system libsamplerate has
>>> installed, so nothing to put in site.cfg.
>>>
>>> Have any users got MSNoise to work on a Red Hat or CentOs system?
>>>
>>>
>>>
>>> ************************************************************
>>> ***********************************
>>>                                                     Glenn Thompson
>>> Research Assistant Professor                                      Email:
>>> thompsong at usf.edu
>>> Volcano-Seismology
>>>   Tel:
>>>       813-974-3702
>>> School of Geosciences, USF                                        Office:
>>> SCA 214
>>> 4202 E Fowler Ave., NES107                                       Lab: SCA
>>> 210
>>> Tampa, FL 33620
>>> ************************************************************
>>> ***********************************
>>>
>>> On Mon, Feb 9, 2015 at 11:15 AM, Thomas Lecocq <thomas.lecocq at oma.be>
>>> wrote:
>>>
>>>   Hi,
>>>> for the first part: you have to find the libsamplerate0 & -dev for your
>>>> machine, I can't help on that,
>>>>
>>>> then, It's on the documentation:
>>>>
>>>> http://msnoise.org/doc/installation.html#samplerate
>>>>
>>>> Best regards,
>>>>
>>>> Thomas
>>>>
>>>> Le 09/02/2015 17:12, Adebayo Ojo a écrit :
>>>>
>>>>> Dear All,
>>>>>
>>>>> After much attempt to install the MSnoise software on my Centos 7 Linux
>>>>> system, i feel i should ask for some guidance.
>>>>>
>>>>> [root at localhost ojo]# sudo yum install libsamplerate0
>>>>> libsamplerate0-dev
>>>>> Loaded plugins: fastestmirror, langpacks, priorities
>>>>> Loading mirror speeds from cached hostfile
>>>>>     * base: centos.ustc.edu.cn
>>>>>     * epel: mirrors.ustc.edu.cn
>>>>>     * extras: centos.ustc.edu.cn
>>>>>     * rpmforge: mirror-fpt-telecom.fpt.net
>>>>>     * updates: centos.ustc.edu.cn
>>>>> No package libsamplerate0 available.
>>>>> No package libsamplerate0-dev available.
>>>>>
>>>>>
>>>>> [root at localhost ojo]# easy_install scikits.samplerate
>>>>> Searching for scikits.samplerate
>>>>> Reading https://pypi.python.org/simple/scikits.samplerate/
>>>>> Best match: scikits.samplerate 0.3.3
>>>>> Downloading
>>>>>
>>>>>   https://pypi.python.org/packages/source/s/scikits.
>>>> samplerate/scikits.samplerate-0.3.3.tar.gz#md5=
>>>> 96c8d8ba3aa95a9db15994f78792efb4
>>>>
>>>>> Processing scikits.samplerate-0.3.3.tar.gz
>>>>> Writing /tmp/easy_install-aF6CLy/scikits.samplerate-0.3.3/setup.cfg
>>>>> Running scikits.samplerate-0.3.3/setup.py -q bdist_egg --dist-dir
>>>>> /tmp/easy_install-aF6CLy/scikits.samplerate-0.3.3/egg-dist-tmp-L4szBy
>>>>> error: SRC (http://www.mega-nerd.com/SRC/) library not found.
>>>>>
>>>> Directories
>>>>
>>>>> to search
>>>>> for the libraries can be specified in the site.cfg file, in section
>>>>> [samplerate].
>>>>>
>>>>> Kindly advice me. Thank you.
>>>>> _______________________________________________
>>>>> MSNoise mailing list
>>>>> MSNoise at mailman-as.oma.be
>>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>>
>>>> _______________________________________________
>>>> MSNoise mailing list
>>>> MSNoise at mailman-as.oma.be
>>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>>
>>>>   _______________________________________________
>>> MSNoise mailing list
>>> MSNoise at mailman-as.oma.be
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>
>> _______________________________________________
>> MSNoise mailing list
>> MSNoise at mailman-as.oma.be
>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>
>
>



More information about the MSNoise mailing list