Manipulate miniSEED - libmseed
Contents
miniSEED is the subset of the SEED standard that is used for time series data. Very limited metadata for the time series is included in miniSEED beyond time series identification and simple state-of-health flags. In particular, geographic coordinates, response/scaling information and other information needed to interpret the data values are not included.
…
libmseed is the miniSEED library, which provides a framework for manipulation of miniSEED records, a format commonly used for seismological time series and related data. The library includes the functionality to read and write data records, in addition to reconstructing time series from multiple records.
1. Installing
The library should work in Unix-like, Windows and potentially other environments.
On Unix-like systems, download the package from https://github.com/iris-edu/libmseed/releases, and tar or unzip.
$ cd libmseed-3.0.8
# build the library
$ make
# install libmseed
$ make install
# By default the installation destination is /usr/local
# libmseed.h in /usr/local/include
# shared libraries in /usr/local/lib
# Add environment variable in ~/.bashrc
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
$ source ~/.bashrc
2. Getting started
In the directory named ‘example’, the program mseedview.c
can read miniSEED files.
$ make
$ ./mseedview -h
mseedview version: [libmseed 3.0.8 example]
Usage: mseedview [options] file
## Options ##
-V Report program version
-h Show this usage message
-v Be more verbose, multiple flags can be used
-p Print details of header, multiple flags can be used
-d Print first 6 sample values
-D Print all sample values
-s Print a basic summary after processing a file
file File of miniSEED records
References
Author Qiang
LastMod 2020-06-26