[obspy-users] earthworm module

Sergio Arregui sarregui at cicese.mx
Wed Nov 14 22:18:50 CET 2012


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.




More information about the obspy-users mailing list