0% found this document useful (0 votes)
172 views16 pages

SCUG SeisComP3 Examples - Odp

Uploaded by

Carlos Lozano
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODP, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
172 views16 pages

SCUG SeisComP3 Examples - Odp

Uploaded by

Carlos Lozano
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODP, PDF, TXT or read online on Scribd
You are on page 1/ 16

SeisComP3©GFZ

Examples
of by Dr. Bernd Weber
usage gempa GmbH
Howto check the event history
scevtlog
is a module to log the complete event processing
history in form of single updates and summary
files
How to create an EQ-bulletin
scbulletin
is a module to export event information to a
bulletin file
 from database
scbulletin ­E gfz2009groy ­3                    
­d mysql://sysop:sysop@localhost/seiscomp3 
 from file
scbulletin ­i gfz2009groy.xml ­f xml ­3
How to export information from DB
scxmldump
is dumping information into a XML file
 Complete event information
scxmldump ­d  
mysql://sysop:sysop@localhost/seiscomp3 ­E  
gfz2009groy ­PAMf ­o gfz2009groy.xml
 Inventory information
scxmldump ­I ­d  
mysql://sysop:sysop@localhost/seiscomp3 ­o 
inventory.xml
 Config information
scxmldump ­C ­d 
mysql://sysop:sysop@localhost/seiscomp3 ­o 
inventory.xml
Howto copy Mseed from/to archive
scart
is exporting and importing Mseed from/to archive
 Exporting all stations for a time window
scart ­dsvE ­t '2009­04­06 01:30~2009­04­06  
01:32' ~/seiscomp3/acquisition/archive > 
sorted.mseed
 Exporting a single network for a time window
scart ­dsvE ­t '2008­09­01 15:00~2008­09­01 
16:00' ­n GE ~/seiscomp3/acquisition/archive > 
sorted.mseed
 Importing MSeed file
scart ­I sorted.mseed 
~/seiscomp3/acquisition/archive
How to export event based MSeed
scevtstreams + scart
Create a MSeed file containing all stations used for
earthquake processing
scevtstreams ­E gfz2009groy ­d  
mysql://sysop:sysop@localhost/seiscomp3 ­L 0 ­m 300 |  
scart ­dsvE ­list ~/seiscomp3/acquisition/archive > 
gfz2009groy.mseed
Howto visualize waveforms
scrttv
is displaying waveform data
 real-time
scrttv ­H localhost ­I slink://localhost:18000
 offline (file)
scrttv sorted.mseed ­­buffer­size 86400
 archive
scrttv ­I arclink://localhost:18001 ­­end '2010­
09­03 17:30:00' ­­buffer­size 3600
Import xml files into DB
scdb
is writting information into the DB
 Import an event xml file into the DB
scdb ­i gfz2009waff.xml ­d 
mysql://sysop:sysop@localhost/seiscomp3 ­b 1000
 Restore a SeisComP3 configuration
scdb ­i inventory.xml ­d 
mysql://sysop:sysop@localhost/seiscomp3 ­b 1000
scdb ­i config.xml ­d 
mysql://sysop:sysop@localhost/seiscomp3 ­b 1000
Dump events in a time span to file
scevtls
is listing all event IDs in a given time span
 List events
scevtls ­d 
mysql://sysop:sysop@localhost/seiscomp3   
­­begin "2007­08­01 00:00:00" ­­end "2007­08­02  
00:00:00"
 Exporting all events in a given time span to a file
for i in `scevtls ­d  
mysql://sysop:sysop@localhost/seiscomp3 ­­begin  
"2008­01­01 00:00:00" ­­end "2009­01­01 00:00:00"`;do 
scxmldump ­d  mysql://sysop:sysop@localhost/seiscomp3 
­E $i ­PAMf ­o $i.xml;done
Howto monitor the performance
scm
is monitoring the system performance
 Monitor running clients
 scm ­H localhost
 scm.cfg
memailplugin.sendEmail = true
memailplugin.recipients = "[email protected]
memailplugin.filterMeanInterval = 1
memailplugin.requiredClients = scautopick, 
scautoloc, scevent, scmag, scamp
 Monitor performance
memailplugin.filter= "cpuusage>100“
Retrieve information from the DB
scquery
is executing predefined mysql queries
 Listing all stations in a given Region
 queries.cfg:
queries = stationsInRegion
query.stationsInRegion.description = "Returns stations in a 
given region (Lat min, Lat max, Lon min, Lon max="
query.stationsInRegion = "select code, latitude, longitude 
from Station where latitude > ##minLat## and latitude < 
##maxLat## and longitude > ##minLong## and longitude < 
##maxLong##;"
 scquery ­d  
mysql://sysop:sysop@localhost/seiscomp3  
stationsInRegion 0 50 0 50
Howto make a offlineplayback
Offline playback
sh playback.sh gfz2009abcd.mseed gfz2009abcd.xml

Create bulletin
scbulletin ­i gfz2009abcd.xml ­f xml ­3

Open Playback results with scolv


scolv ­­offline ­I gfz2008apgp­Xizang­M6.8.sorted­
mseed ­­inventory­db inventory.xml
Activate AIC mode in MP
 Open scolv and manual picker
 Activate picking mode
 Press „r“ to activate the AIC mode
Convert dataless into inventory xml
dlsv2
is converting a dataless seedfile into a SeisComP3
XML inventory file
dlsv2inv datalessfile
Import global station configuration
import_dlsv
is creating keyfiles
dlsv2inv datalessfile
Import responses
sync_dlsv
is creating keyfiles
dlsv2inv datalessfile

You might also like