2011 Antelope Workshop 2011-03-15 中央研究院地球科學研究所 台灣地震科學中心

台灣地震科學中心
2011 Antelope Workshop
2011-03-15
中央研究院地球科學研究所
HOW TO BUILD A STANDARD
SEISMIC DATABASE IN TERMS
OF ANTELOPE?
Min-Hung Shih & Wen-Tzong Liang
3/15/2011 Ver. 0.21
SEED
The Standard for the Exchange of Earthquake Data handled by a database schema
Dataless
Miniseed
(data only)
Dataless
or
Metadata
Time span
control
header
• Contains the meta-data for your
experiment. Including: instrument
types & response; station
coordinates; compression type, etc.
A dataless contains NO waveform
data.
miniseed
•
•
•
•
NETWORK CODE <net>
STATION NAME <sta>
CHANNEL NAME
LOCATION CODE
• Usually left blank
• Start/end time, total number of samples,
sampling rate.
• Waveform
• etc.
Data and
Metadata
archiving
Database
building
Data
analysis
dataless
dbbuild
site
sensor
instrument
stage
sensormodel
snetsta
lastid
sitechan
network
schanloc
calibration
dlsensor
Response (dir)
miniseed
miniseed2db
wfdisc
First part of the database dataless
dbbuild dbname (GUI)
 >dbbuild BATS
Dbbuild batch
 dbbuild –b dbname batch_file
 >dbbuild –b BATS BATS_batch >& build.out
View your database
 dbe dbname
 >dbe BATS
Second part of the database
- data (miniseed)
 miniseed2db –v miniseed_files dbname
 >miniseed2db –v data/*HH* BATS
 Created an extra
table “wfdisc”.
Created an extra table“wfdisc”.
More Steps,
More Complete Database
 Assign calibration values from calibration
table to the wfdisc table
>dbfix_calib BATS
 Verify the Integrity of database
>dbversdwf –tu BATS >& dbversdwf.out
0 bad files
>dbverify -tj BATS >& dbverify.out
Quick view




Step 0. edit batch_file
Step 1. >dbbuild –bvv dbname batch_file
Step 2. >miniseed2db –v seed dbname
More informations:
>man dbbuild
>man miniseed2db
Reference & fabulous web site
http://www.passcal.nmt.edu/~eliana/Work/Doc
umentation.html
CONGRATULATIONS !!
YOU HAVE YOUR OWN DATABASE
IN ANTELOPE!