我想下载 vulcano Tungurahua 周围地区的地震数据。在 obspy.clients.fdsn 函数的 obspy 文档中,描述了下载数据的步骤:
from obspy import UTCDateTime
t = UTCDateTime("2010-02-27T06:45:00.000")
st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t, t + 60 * 60)
st.plot()
这里 get_waveforms 方法有参数
- 网络 = "IU"
- 站=“安模”
- 位置 = "00"
- 频道 = "LHZ"
使用函数client.get_stations我发现了我感兴趣的网络和站点名称:
- 网络=“哟”
- 站=“TBAG”
但是我不知道传递给函数所需的位置/通道字符串get_waveforms
。
我试过的:
client.get_stations(network="YO", station="TBAG")
返回:
Inventory created at 2017-04-23T18:27:16.000000Z
Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.25
http://service.iris.edu/fdsnws/station/1/query?station=TBAG&network...
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (1):
YO
Stations (1):
YO.TBAG (Banos, Tungurahua, Ecuador)
Channels (0):
所以似乎没有渠道存在。然而,当尝试
client.get_stations(network="IU", station="ANMO")
我明白了
Inventory created at 2017-04-23T18:40:22.000000Z
Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.25
http://service.iris.edu/fdsnws/station/1/query?station=ANMO&network...
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (1):
IU
Stations (6):
IU.ANMO (Albuquerque, New Mexico, USA)
IU.ANMO (Albuquerque, New Mexico, USA)
IU.ANMO (Albuquerque, New Mexico, USA)
IU.ANMO (Albuquerque, New Mexico, USA)
IU.ANMO (Albuquerque, New Mexico, USA)
IU.ANMO (Albuquerque, New Mexico, USA)
Channels (0):
所以这里没有列出频道“LHZ”,尽管它显然存在。