[obspy-users] obspy.arclink

Wang, Xiao Xiao.Wang at liverpool.ac.uk
Fri Apr 1 12:06:05 CEST 2011


Hi Robert,

> unfortunately I'm not able to run the example given below because the
> ArcLink note dh113045.esc.liv.ac.uk:18001 is not public.

Sorry, the dh113045.esc.liv.ac.uk is within the firewall.

> However, could you please initialize the obspy.arclink client with the
> debug=True flag and send me the client output, the corresponding server
> logs and the used ArcLink server version number - I will see what I can
> do ...

1. Please see the obspy.client file:

xiaowang at linux-5sog:~/Develop-Code/code-test/obspy-test> more obspy-liv-arclink.py 
from obspy.core import UTCDateTime
from obspy.arclink.client import Client
client = Client(host="dh113045.esc.liv.ac.uk", port=18001, debug=True)
start = UTCDateTime("2010-04-06 00:03:00")
st = client.getWaveform('YF', 'AGUA', '', 'HHE', start - 3, start + 15)
st.plot()

2. please see the debug message:

xiaowang at linux-5sog:~/Develop-Code/code-test/obspy-test> python obspy-liv-arclink.py 
>>> HELLO
... ArcLink v1.2 (2010.256)
... SeisLiv
>>> USER ObsPy client
... OK
>>> INSTITUTION Anonymous
... OK
>>> REQUEST ROUTING 
>>> 2010,4,6,0,2,56,0 2010,4,6,0,3,16,0 YF AGUA
>>> END
... OK
>>> STATUS
... ERROR
... 
... 
... 
^Z
[3]+  Stopped                 python obspy-liv-arclink.py


3. please see the ArcLink server log message:

Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60052 : opening connection 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60053 : opening connection 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60052 : closing connection 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60053 : HELLO 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60053 : USER ObsPy client 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60053 : INSTITUTION Anonymous 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60054 : opening connection 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60053 : closing connection 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60054 : HELLO 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60054 : USER ObsPy client 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60054 : INSTITUTION Anonymous 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60054 : REQUEST ROUTING 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60054 : END 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60054 : invalid request: STATUS 
Apr  1 10:48:44 dh113045 arclink: 138.253.113.204:60054 : STATUS requires 1 argument 
Apr  1 10:48:44 dh113045 arclink: [7860] STATUS LINE 0 PROCESSING routing 
Apr  1 10:48:44 dh113045 arclink: [7860] STATUS LINE 0 OK 
Apr  1 10:48:44 dh113045 arclink: [7860] STATUS VOLUME routing SIZE 392 
Apr  1 10:48:44 dh113045 arclink: [7860] STATUS VOLUME routing OK 
Apr  1 10:48:44 dh113045 arclink: [7860] END 
Apr  1 10:48:58 dh113045 dhclient: XMT: Solicit on eth0, interval 120220ms.

4. please see the ArcLink server version:

xiao at dh113045:~/seiscomp3/arclink/bin> ./arclink -V 
ArcLink v1.2 (2010.256)


> Thanks + best,

Regards,

Xiao 




More information about the obspy-users mailing list