You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from obspy.core import UTCDateTime
from obspy.arclink.client import Client
time = UTCDateTime('2009-08-20 04:03:12')
for host in ("erde.geophysik.uni-muenchen.de", "webdc.eu"):
print "Connecting to node", host
client = Client(host, 18001)
st = client.getWaveform('BW', 'RJOB', '', 'EH*', time - 3, time + 15)
print st, '\nArcLink node %s is working' % host
}}}
which results in
{{{
Connecting to node erde.geophysik.uni-muenchen.de
6 Trace(s) in Stream:
BW.RJOB..EHN | 2009-08-20T04:03:09.000000Z - ... 3601 samples
BW.RJOB..EHE | 2009-08-20T04:03:09.000000Z - ... 3601 samples
BW.RJOB..EHZ | 2009-08-20T04:03:09.000000Z - ... 3601 samples
BW.RJOB..EHN | 2009-08-20T04:03:09.000000Z - ... 3601 samples
BW.RJOB..EHE | 2009-08-20T04:03:09.000000Z - ... 3601 samples
BW.RJOB..EHZ | 2009-08-20T04:03:09.000000Z - ... 3601 samples
ArcLink node erde.geophysik.uni-muenchen.de is working
Connecting to node webdc.eu
Traceback (most recent call last):
File "arclink_test.py", line 12, in <module>
st = client.getWaveform('BW', 'RJOB', '', 'EH*', time - 3, time + 15)
File
+"/home/beyreuth/research/ffb/obspy/obspy.arclink/trunk/obspy/arclink/client.py", line
+281, in getWaveform
data = self._fetch(rtype, [rdata])
File
+"/home/beyreuth/research/ffb/obspy/obspy.arclink/trunk/obspy/arclink/client.py", line
+162, in _fetch
raise ArcLinkException('No content')
obspy.arclink.client.ArcLinkException: No content
}}}
[beyreuth] Seems like they changed versions (thanks to Sven Egdorf):
{{{
#!bash
telnet webdc.eu 18001
Trying 139.17.3.79...
Connected to webdc.eu.
Escape character is '^]'.
HELLO
ArcLink v1.1 (2009.075)
GEOFON DC
BYE
}}}
{{{
#!bash
telnet webdc.eu 18002
Trying 139.17.3.79...
Connected to webdc.eu.
Escape character is '^]'.
HELLO
ArcLink v1.1 (2009.085)
GFZ
BYE
}}}
we seem to have a problem with webdc:
{{{
!python
from obspy.core import UTCDateTime
from obspy.arclink.client import Client
time = UTCDateTime('2009-08-20 04:03:12')
for host in ("erde.geophysik.uni-muenchen.de", "webdc.eu"):
print "Connecting to node", host
client = Client(host, 18001)
st = client.getWaveform('BW', 'RJOB', '', 'EH*', time - 3, time + 15)
print st, '\nArcLink node %s is working' % host
}}}
which results in
{{{
Connecting to node erde.geophysik.uni-muenchen.de
6 Trace(s) in Stream:
BW.RJOB..EHN | 2009-08-20T04:03:09.000000Z - ... 3601 samples
BW.RJOB..EHE | 2009-08-20T04:03:09.000000Z - ... 3601 samples
BW.RJOB..EHZ | 2009-08-20T04:03:09.000000Z - ... 3601 samples
BW.RJOB..EHN | 2009-08-20T04:03:09.000000Z - ... 3601 samples
BW.RJOB..EHE | 2009-08-20T04:03:09.000000Z - ... 3601 samples
BW.RJOB..EHZ | 2009-08-20T04:03:09.000000Z - ... 3601 samples
ArcLink node erde.geophysik.uni-muenchen.de is working
Connecting to node webdc.eu
+"/home/beyreuth/research/ffb/obspy/obspy.arclink/trunk/obspy/arclink/client.py", line
+281, in getWaveform
data = self._fetch(rtype, [rdata])
File
+"/home/beyreuth/research/ffb/obspy/obspy.arclink/trunk/obspy/arclink/client.py", line
+162, in _fetch
raise ArcLinkException('No content')
obspy.arclink.client.ArcLinkException: No content
}}}
That is webdc is not reachable any more. The old request page is out of order, too:
http://webdc.eu/arclink_old/query
The text was updated successfully, but these errors were encountered: