[MSNoise] [EXTERNAL] error using compute_dtt

Thomas Lecocq Thomas.Lecocq at seismology.be
Tue Oct 9 07:43:38 UTC 2018


Hey,

First, let me say this: "WOOOOOOOOOOOOOOOOW", I'm so happy to read users 
help other users! Thanks Ashton & Toufik !

Second: this bug will be corrected in MSNoise 1.6, coming really soon...

Cheers,

Tom


On 09/10/2018 09:41, julie.albaric at univ-fcomte.fr wrote:
> Hi
>
> Thanks a lot!
> We have downgraded pandas from 0.23 to 0.21 and it works now !
>
> Cheers
> Julie & Benjamin
>
> ----- Mail original -----
> De: "Toufik Chtouki" <t.chtouki at gmail.com>
> À: msnoise at mailman-as.oma.be
> Envoyé: Lundi 8 Octobre 2018 20:00:11
> Objet: Re: [MSNoise] [EXTERNAL] error using compute_dtt
>
> Hello,
>
> It looks like pandas is too recent.
>   From
> https://pandas.pydata.org/pandas-docs/version/0.20/generated/pandas.Series.reshape.html
> ,
> DEPRECATED: calling this method will raise an error in a future release.
> Please call .values.reshape(...) instead.
>
> Best,
> Toufik
>
> Le lun. 8 oct. 2018 à 19:52, Flinders, Ashton <aflinders at usgs.gov> a écrit :
>
>> Looks like a pandas versioning error. Can you run;
>> msnoise bugreport -m
>>
>>
>>
>> On Mon, Oct 8, 2018 at 7:07 AM <julie.albaric at univ-fcomte.fr> wrote:
>>
>>> 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'
>>>
>>> _______________________________________________
>>> MSNoise mailing list
>>> MSNoise at mailman-as.oma.be
>>> http://mailman-as.oma.be/mailman/listinfo/msnoise
>>>
>>
>> --
>> Ashton F. Flinders, Ph.D
>> U.S. Geological Survey
>> 345 Middlefield Road
>> Menlo Park, CA 94025
>> (650) 329-5050
>> _______________________________________________
>> 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
>

-- 
Dr. Thomas Lecocq
Geologist - Seismologist

Seismology - Gravimetry
Royal Observatory of Belgium

            *
        * * * * *
         * * * *
        ---------
http://www.seismology.be
http://msnoise.org
http://twitter.com/#!/Seismologie_be
https://www.facebook.com/seismologie.be



More information about the MSNoise mailing list