Conversion of SEED format to XML representation for a new standard of seismic waveform exchange
-
Upload
jelani-underwood -
Category
Documents
-
view
32 -
download
2
description
Transcript of Conversion of SEED format to XML representation for a new standard of seismic waveform exchange
![Page 1: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/1.jpg)
Conversion of SEED format to XML representation for a new standard of
seismic waveform exchange
Seiji Tsuboi (IFREE/JAMSTEC)
and
Shin’ya Morino (Hakusan Corp.)
![Page 2: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/2.jpg)
What is SEED?
• Widely used among global broadband seismograph networks as Standard for the Exchange of Earthquake Data (SEED)
• Designed in 1987 by Federation of Digital broadband Seismograph Network (FDSN), which is under the International Association of Seismology and Physics of the Earth’s Interior (IASPEI).
![Page 3: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/3.jpg)
![Page 4: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/4.jpg)
![Page 5: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/5.jpg)
![Page 6: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/6.jpg)
SEED Format Organization
• Control headers (formatted in ASCII)
information about the volume, the station-channels, and the data
• Time series (binary, unformatted)
seismic waveform data
![Page 7: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/7.jpg)
![Page 8: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/8.jpg)
Blockettes
• Each control header is made up of a sequence of blockettes –data structures that contain a type identifier, length and sequence of data fields specific to the blockette type.
![Page 9: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/9.jpg)
![Page 10: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/10.jpg)
![Page 11: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/11.jpg)
![Page 12: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/12.jpg)
![Page 13: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/13.jpg)
![Page 14: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/14.jpg)
Problems of SEED format
• No major revision since 1993
• Each field has a fixed length, which makes it difficult to include new features in the format.
• Huge amount of seismic waveform data are stored as mini-SEED format in data centers of broadband seismographic networks.
![Page 15: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/15.jpg)
XML Representation of SEED format
• eXtensible Markup Language (XML) is a text-based language.
• XML documents use `tags’ to establish hierarchical data structure and named values.
• XML can be used for most of all major platforms.
• XML is a basic technology for networking.
![Page 16: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/16.jpg)
Advantages of using XML
• Header structure of SEED is modular, which can be easily represented by XML.
• Data structure of XML is flexible, because length of any fields is not fixed.
• XML has its schema language –XML-Schema, which can be used for validation of XML document.
![Page 17: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/17.jpg)
Design requirements of conversion of SEED to XML representation
• Entities described in the current SEED headers should be identical to those described in XML representation.
• Changes in structures of SEED headers should be as small as possible.
• XML document should have structures that allow validation with XML-Schema language.
![Page 18: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/18.jpg)
Conversion of control header <?xml version="1.0" ?> <xseed> <volume_control_header> <!--For blockettes in volume control header --> </volume_control_header> <abbreviation_dictionary_control_header> <!--For blockettes in abbreviation dictionary control header --> </ abbreviation_dictionary_control_header > <station_control_header> <!--For blockettes in volume control header --> </station_control_header> <timespan_control_header> <!--For blockettes in volume control header --> </timespan_control_header> </xseed>
![Page 19: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/19.jpg)
Conversion of blockette
Blockette will be represented as follows with blockette name as 'blockette_name', and blockette type as '555',
<blockette_name blockette="555">
<!-- Fields to be inserted -->
</blockette_name>
'Length' field is not required in XML representation.
![Page 20: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/20.jpg)
Example of conversions: Volume identifier blockette
<volume_identifier blockette=”010”> <version_of_format >Trial</version_of_format> <logical_record_length>12</logical_record_length> <beginning_time>1992-01- 01T00:00:00.0000</beginni
ng_time> <end_time>1992-01-02T00:00:00.0000</end_time> <volume_time>1993-01-29</volume_time> <originati
ng_organization>IRIS_DMS</originating_organization> <label>Data for 1992-01-01</label></volume_identifier>
![Page 21: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/21.jpg)
Data Records(1) Separated header file and data
<?xml version 1.0?>
<xseed> : : : <time_span_control_header> <network_data_source> <uri>http:/ / www.........</uri> </ network_data_source> <storage_data_source> <drive_id>MyDrive</ drive_id> </ storage_data_source> <file_data_source> <filename>MyFile</ filename> </ file_data_source> </ time_span_control_header> </ xseed>
Storage Media
MiniSEED volume
Header
Data server on network
![Page 22: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/22.jpg)
Data records(2) decoded in base64
<data_records><data_record sequence_number="000001"> <data_header> header information</data header> <chunk data_record_length="4048">6AMAAAoBDAAAAAAAAAAAAAKpqqr egAIAREAXQBM/8H/FP/GALoAlxqpaqon </chunk></data record></data records>
![Page 23: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/23.jpg)
XML-SEED formatted data are now provided through Pacific21 Data Center
• http://www.jamstec.go.jp/pacific21/xmlninja• Seismograms are formatted either in format1
(binary mini-seed) or format2 (bas64 encoded mini-seed)
• Software to convert full-SEED volume to XML-SEED and to read XML-SEED volume are also provided through the Pacific21 Data Center
![Page 24: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/24.jpg)
![Page 25: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/25.jpg)
Pacific21 Broadband Seismographic Stations
![Page 26: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/26.jpg)
seedconv
• Converts full-SEED volume to XML-SEED volume based on our XML-SEED schema
• There are two formats to represent seismograms:
(1) format1: binary mini-SEED data follows after XML represented SEED header.
(2) format2: base64 encoded mini-SEED data are represented in XML and follows after XML-SEED header.
• Runs on Solaris8/SPARC platforms
![Page 27: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/27.jpg)
xrdseed
• Reads XML-SEED volumes and output header information and seismograms.
• Based on rdseed
• Runs on Solaris8/SPARC platform.
![Page 28: Conversion of SEED format to XML representation for a new standard of seismic waveform exchange](https://reader034.fdocuments.net/reader034/viewer/2022051516/568131b8550346895d982246/html5/thumbnails/28.jpg)
Future direction of XML-SEED
• XML-SEED ver. 1.0 may implement
- multiple data records in one logical record
- other encoding scheme of data records, such as CM6
- complete and consistent XML-Schema, which may include new data fields (tags), such as data center