Python 通过带obspy的fdsn访问地震记录数据(使用网络、台站、位置、通道)
我想下载vulcano Tungurahua周围地区的地震数据。在功能的obspy文档中,介绍了下载数据的步骤:Python 通过带obspy的fdsn访问地震记录数据(使用网络、台站、位置、通道),python,obspy,Python,Obspy,我想下载vulcano Tungurahua周围地区的地震数据。在功能的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” station
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”
- station=“ANMO”
- 位置=“00”
- channel=“LHZ”
- network=“YO”
- station=“TBAG”
我所尝试的:
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")
我明白了
因此,尽管频道“LHZ”明显存在,但此处并未列出它。您需要使用
级别
参数:
client.get_stations(network="YO", station="TBAG", level="channel")
然后你应该得到:
Inventory created at 2017-05-09T12:58:29.000000Z
Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.25
http://service.iris.edu/fdsnws/station/1/query?format=xml&network=Y...
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (1):
YO
Stations (1):
YO.TBAG (Banos, Tungurahua, Ecuador)
Channels (5):
YO.TBAG..HDF, YO.TBAG..HHZ, YO.TBAG..HHN, YO.TBAG..HHE,
YO.TBAG..LOG
此参数如中所述:
Inventory created at 2017-05-09T12:58:29.000000Z
Created by: IRIS WEB SERVICE: fdsnws-station | version: 1.1.25
http://service.iris.edu/fdsnws/station/1/query?format=xml&network=Y...
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (1):
YO
Stations (1):
YO.TBAG (Banos, Tungurahua, Ecuador)
Channels (5):
YO.TBAG..HDF, YO.TBAG..HHZ, YO.TBAG..HHN, YO.TBAG..HHE,
YO.TBAG..LOG
level (str)
Specify the level of detail for the results (“network”, “station”, “channel”,
“response”), e.g. specify “response” to get full information including
instrument response for each channel.