Title: QuakeML An XML schema for seismology
1QuakeMLAn XML schema for seismology
ETH Swiss Federal Institute of Technology Zürich
- Danijel Schorlemmer
- Silvio Maraini
- Manfred Baer
- ETH Zürich, Swiss Seismological Service,
Switzerland
2Objectives
ETH
One catalog format definition for Data
exchange Network ? Analysis-software Network ?
Network Analysis-software ? Analysis-software Dif
ferent seismological aspects Seismicity
analysis Tomography Full waveform analysis
3Objectives
ETH
Additional Constraints Use only open
standards Open source multi-platform
tools Platform independent Flexible extensible
4XML
ETH
Why XML (eXtensible Markup Language)? Open
standards W3C XML, XPath, XSLT, XLink,
XPointer, XML Schema, ... Open source
multi-platform tools Xerces, Xalan (Apache),
libxml2, libxslt (Gnome) Platform
independent ASCII-files with defined
encodings Flexible extensible XML-Namespaces
5XML
ETH
Different seismological aspects Multi-level
definition Level Feature 1 simple
location/origin/time/depth/magnitude 2 1
multiple locations per event 3 2 quality
information/general info 4 3 pick times/other
station info 5 4 waveforms 6 5 channel
info/calibration data 7 ...
6Example QuakeML Level 1
ETH
lt?xml version"1.0"?gt lteventsgt ltevent
id"0001"gt ltlocation main"yes" id"00010002"
method"inversion" analysis-type"manual"gt
ltorigin-time fixed"no" timezone"UTC"
error"00/00/00T000001"gt
ltyeargt2002lt/yeargt ltmonthgt05lt/monthgt
ltdaygt01lt/daygt lthourgt01lt/hourgt
ltminutegt11lt/minutegt ltsecondgt55.1lt/secondgt
lt/origin-timegt ltlatitude fixed"no"
unit"degree" error"0"gt47.23lt/latitudegt
ltlongitude fixed"no" unit"degree"
error"0"gt9.50lt/longitudegt ltdepth
fixed"no" unit"km" error"0.1"gt3.1lt/depthgt
ltmagnitude fixed"no" type"ML" stations"7"
error"0.1"gt1.6lt/magnitudegt lt/locationgt
lt/eventgt ltevent id"0002"gt ...
lt/eventgt lt/eventsgt
7Advantages
ETH
Modern and historic catalogs incomplete origin
times incomplete location and magnitude
information magnitudes and intensities XSLT,
XPath for creating lower level QuakeML, any
XML, HTML, SVG, PDF, ... see Demo! Inter-level
compatibility Private namespace
extensions Automatic validation possible (XML
schema)
8Possibilities and Features XSLT
ETH
XML Transformations QuakeML XSL HTML (PDF,
JPG, ...)
XSLT
QuakeML
XSL
HTML
9Possibilities and Features Namespaces
ETH
lt?xml version"1.0"?gt ltevents xmlns"http//quakem
l.ethz.ch/ns/quakeml" xmlnssed"http//sed.ethz.
ch/ns/sed"gt ltevent id"0001"gt ltlocation
main"yes" id"00010002" method"inversion"
analysis-type"manual"gt ltorigin-time
fixed"no" timezone"UTC" error"00/00/00T000001
"gt ltyeargt2002lt/yeargt
ltmonthgt05lt/monthgt ltdaygt01lt/daygt
lthourgt01lt/hourgt ltminutegt11lt/minutegt
ltsecondgt55.1lt/secondgt lt/origin-timegt
ltlatitude fixed"no" unit"degree"
error"0"gt47.23lt/latitudegt ltlongitude
fixed"no" unit"degree" error"0"gt9.50lt/longitude
gt ltsedcoordinatesgt ltsedlatitudegt237lt/sed
latitudegt ltsedlongitudegt412lt/sedlongitudegt
ltsedcoordinatesgt ltdepth fixed"no"
unit"km" error"0.1"gt3.1lt/depthgt
ltmagnitude fixed"no" type"ML" stations"7"
error"0.1"gt1.6lt/magnitudegt lt/locationgt
lt/eventgt ltevent id"0002"gt ...
lt/eventgt lt/eventsgt
10Possibilities and Features Historic Catalogs
ETH
lt?xml version"1.0"?gt lteventsgt ltevent
id"0001"gt ltlocation main"yes" id"00010002"
method"historic" analysis-type"guess"gt
ltorigin-time fixed"no" timezone"UTC"
error"00/00/00T060000"gt
ltyeargt1356lt/yeargt ltmonthgt10lt/monthgt
ltdaygt18lt/daygt lthourgt1lt/hourgt
ltminutegtlt/minutegt ltsecondgtlt/secondgt
lt/origin-timegt ltlatitude fixed"no"
unit"degree" error"0.1"gt47.46lt/latitudegt
ltlongitude fixed"no" unit"degree"
error"0.1"gt7.60lt/longitudegt ltdepth
fixed"no" unit"km" error"5"gt12lt/depthgt
ltmagnitude fixed"no" type"ML"
error"0.5"gt6.9lt/magnitudegt lt/locationgt
lt/eventgt ltevent id"0002"gt ...
lt/eventgt lt/eventsgt
11Outlook
ETH
Definition of levels 1-4 Review of this
definition Test implementation (SED, SCEC,
RELM) Setup of a QuakeML website Documentation
of progress Repository of schemas, stylesheets,
etc.