[obspy-users] earthworm module

Tobias Megies megies at geophysik.uni-muenchen.de
Wed Nov 21 12:35:40 CET 2012


Hi Sergio,

thanks for the feedback. Indeed, I just checked, this bugfix was after
the last stable release for obspy.earthworm. A new obspy release is
planned for early december and of course incorporating this fix then.

best,
Tobias

On 20/11/12 23:07, Sergio Arregui wrote:
> Hello,
> 
>    Just to close this thread, the problem was a bug in the Linux port of
> obspy, according to this:
> 
> https://github.com/obspy/obspy/issues/383
> 
> So the solution was to change the line that's indicated in the bug
> report, and now works just fine
> 
> Best regards
> 
> Sergio A.
> 
> 
> On 11/14/2012 01:41 PM, Victor Kress wrote:
>> Hi,
>>
>> You may have already checked this, but for us these kind of problems
>> are almost always firewall issues on the target.  Can you connect from
>> non-ew machines to both earthworms?  Are they all on the same
>> network?  Can you ssh from client on ew machine to desired server? 
>> 'nmap' is a good tool to sort these kind of issues.
>>
>> -Victor
>>
>> On Nov 14, 2012, at 1:18 PM, Sergio Arregui wrote:
>>
>>> Hello,
>>>
>>>   We are using the earthworm client to connect to a server, when we
>>> do it in a machine that is NOT running earthworm we are able to get
>>> waveforms from the EW server, but if we try to run the same script on
>>> a machine running EW and trying to connect to another EW server we
>>> get a socket timeout message, any ideas why this happens?
>>>
>>> this is my flow:
>>>
>>> In [1]: from obspy.earthworm import Client
>>>
>>> In [2]: from obspy.core import UTCDateTime
>>>
>>> In [3]: client = Client("xxx.xxx.xxx.xxx", 16022)
>>>
>>> In [4]: nw = client.availability("BC", "*", "*")
>>>
>>> In [5]: print nw[35]
>>> ('BC', 'SFX', '--', 'HNZ', UTCDateTime(2012, 11, 5, 15, 53, 46,
>>> 705000), UTCDateTime(2012, 11, 14, 21, 11, 59, 975000))
>>>
>>> In [6]: now = UTCDateTime()
>>>
>>> In [7]: now2 = now - 120
>>>
>>> In [8]: st = client.getWaveform("BC", nw[35][1], '', nw[35][3], now2,
>>> now)
>>> socket timeout in getSockCharLine()
>>>
>>> Thanks
>>>
>>> Sergio A.
>>>
>>> _______________________________________________
>>> obspy-users mailing list
>>> obspy-users at lists.sevor.de
>>> http://lists.obspy.org/cgi-bin/mailman/listinfo/obspy-users
>>
>> Victor Kress
>> Pacific Northwest Seismic Laboratory
>> Seattle, Washington, U.S.A.
>> kress at u.washington.edu
>>
>>
>>
>>
>> _______________________________________________
>> obspy-users mailing list
>> obspy-users at lists.sevor.de
>> http://lists.obspy.org/cgi-bin/mailman/listinfo/obspy-users
>>
> 
> 
> _______________________________________________
> obspy-users mailing list
> obspy-users at lists.sevor.de
> http://lists.obspy.org/cgi-bin/mailman/listinfo/obspy-users

-- 
Dipl.-Geophys. Tobias Megies

Geophysikalisches Observatorium
Ludwigshöhe 8
82256 Fürstenfeldbruck

Ludwig-Maximilians-Universität
Department für Geo- und Umweltwissenschaften
Sektion Geophysik
Theresienstrasse 41/IV
80333 München

Tel: +49 (0) 89 2180-73981
     +49 (0) 89 2180-4326
Mail: tobias.megies at geophysik.uni-muenchen.de




More information about the obspy-users mailing list