Thank you and best regards.
Hi all,
I use obspy arclink library to download miniseed data from
different networks. Until last week, I did not get any problems
but since several days I get errors whereas I did not modify my
program.
Here is my code. In the example below, I want to download data
from the CH networf, AIGLE station.
################################### from obspy.core import
UTCDateTime, Stream import obspy.arclink
clientarclink = obspy.arclink.Client() stT1 = str(2012) + 200 +
"T000000.0" t1 = UTCDateTime(stT1) stT2 = str(2012) + 200 +
"T235959.999999" t2 = UTCDateTime(stT2)
av = clientarclink.getInventory("CH", "AIGLE", '*', "HHZ", t1,
t2, restricted=False, permanent=None) st =
clientarclink.getWaveform("CH", "AIGLE",
av.keys()[0].split('.')[2], "HHZ", t1, t2)
#####################################
Here is the error I get after getInventory or getWaveform:
Traceback (most recent call last): File "<stdin>", line 1, in
<module> File
"/usr/local/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-x86_64.egg/obspy/arclink/client.py",
line 394, in getWaveform compressed=compressed, route=route)
File
"/usr/local/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-x86_64.egg/obspy/arclink/client.py",
line 514, in saveWaveform data = self._fetch(rtype, rdata,
route=route) File
"/usr/local/lib/python2.7/site-packages/obspy-0.8.3-py2.7-linux-x86_64.egg/obspy/arclink/client.py",
line 200, in _fetch raise ArcLinkException(msg %
(request_data[2], request_data[3]))
obspy.arclink.client.ArcLinkException: Could not find route to
CH.AIGLE
I know this data exists because I already downloaded it. Has
something been modified in the code?
Thanks,
Regards, Coralie -- Coralie Aubert
Institut des Sciences de la Terre (ISTerre)
Tél. : 04 76 63 52 27 Fax : 04 76 63 52 52
web : isterre.fr/
_______________________________________________ obspy-users
mailing list obspy-users@lists.swapbytes.de
http://lists.swapbytes.de/mailman/listinfo/obspy-users