JpGU-AGU Joint Meeting 2020

Presentation information

[E] Poster

S (Solid Earth Sciences ) » S-TT Technology & Techniques

[S-TT51] seismic monitoring and processing system

convener:Takahiro Maeda(National Research Institute for Earth Science and Disaster Resilience)

[STT51-P05] Yet another module for reading WIN format data in ObsPy

*Shigeki Nakagawa1, Aitaro Kato1 (1.Earthquake Research Institute, the University of Tokyo)

Keywords:WIN system, ObsPy

The ObsPy (Beyreuther et al., 2010) is one of the common tools for processing seismic data. This tool can treat various formats of seismic data, of course including the WIN format. However, the original module for reading the WIN format data has some issues. The issues are: 1) bugs in decoding 0.5 bytes and 3 bytes compression data, 2) not treated properly with missing data and variable sampling rates, and 3) too slow. The third issue is a very serious problem reading large volume waveform datasets. For example, it takes 80 seconds to read a WIN format file containing 3000 channels data with one minute length. Major cause of these issues is that this original module was created by pure Python. Therefore, we have implemented yet another module for reading WIN format data. Features of our new module are: 1) reading the WIN format data and outputs the ObsPy Stream object, and 2) resolves above three issues in the original module. Calling shared libraries from Python is a typical technique to wrap the native libraries and improve execution times. Uehira et al. (2010) introduced shared libraries into the WIN system. The “libwinsystem.so” shared library provides various functions for reading or writing the WIN format data. Using this library for decoding the WIN compressed data in our module was effective in solving the first and third issues. To deal with second issue, when the gap of time stamps or sampling rates was found, our module separates waveform data properly. Reading a WIN format file using our module is about 8 times faster than the original module. We are planning to open our module to the public.

References:
1) Beyreuther, M., R. Barsch, L. Krischer, T. Megies, Y. Behr and J. Wassermann (2010), ObsPy: A Python Toolbox for Seismology, SRL, 81(3), 530-533.
2) Uehira, K., T. Urabe, T. Tsuruoka and S. Nakagawa (2010), 64-bit compatibility of WIN system, SSJ Fall Meeting, C11-08.

Acknowledgements: This study was partially supported by the MEXT of Japan, under its The Second Earthquake and Volcano Hazards Observation and Research Program (Earthquake and Volcano Hazard Reduction Research), and by JST CREST Grant Number JPMJCR1763, Japan.