BQMail
:向
IRIS
发送地震数据申请的
Python
脚本实现
徐弥坚
;
郝识杰
;
吴本君
【期刊名称】
《中国科技论文》
【年
(
卷
),
期】
2016(011)003
【
摘
要
】
BQMail
developed
on
Python,is
an
open
source
software
package
for
requesting
data
from
Incorporated
Research
Insti-tutions
for
Seismology
(IRIS)Data
Management
Center
(DMC).BQMail
can
be
operated
on
Linux
and
Mac
OSX
platform.BQ-Mail
has
four
commands:updateCatalog,searchDMC,bqmail
and
bqmail
conti.With
parameters
(e.g.,station
name,date
range,file
format)set
by
users
in
command lines,BQMail creates specially formatted files and mails to the
IRIS
DMC
automati-cally.BQMail
can
request
data
not
only
for
appropriate
event-station
pairs
but
also
for
continuous
seismic
waveform
data
by
hours.In
addition,due
to
the
advantage
of
Python
scripts,huge
amounts
of
data
can
be
requested
within
command-line
environ-ments.With BQMail,a seismologist can configure complex data
requests to meet his individual requirement.%
基于
Python
语言开发的命
令行工具包
BQMail
实现了大批量
IRIS
地震数据的高效率申请,可在
Linux
和
Mac OS X
平台上使用。
BQMail
实现了
4
个主要功能:更新地震事件目录、
查询地震台网、申请基于地震事件的地震数据、申请一个连续时间段内的地震
数据。其中,申请数据的基本实现方式为接收参数生成符合
IRIS
要求的申请邮
件,调用
BREQ
FAST
服务。
BQ-Mail
通过调用互联网的数据,利用正则表达