4.0 | 3 ratings Rate this file 10 Downloads (last 30 days) File Size: 2.39 MB File ID: #24377 Version: 1.0

Reading mini-Seed



m-files for reading mini-Seed files with STEIN-1 or STEIN-2 compression protocol.

| Watch this File

File Information

 There are two of them. One is reading mini-Seed file with STEIN-1 compression while second with STEIN-2. I guess that somebody badly needs pure m-script (no mex-file, no libseed library etc.) so he/she can easily modified. I am quite sure that m-script is far from complete but it works for my needs. Extracting seismic data and other minimal-list needed information. Just to mention this script is written for reading Seismic Handler mini-seed but it reads other generated mini-seed. I hope. I am using Matlab 7.0
So help yourself.

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
19 Sep 2015 Shaoqing li  
23 Sep 2010 Fran├žois Beauducel

It is a very useful effort that you made with these functions, and I was very surprised there is no other attempts on the Web about this...

Unfortunately, I didn't get success in using your function with my miniSEED files... I spent some time to look at your scripts, but finally wrote my own function "rdmseed.m" (submitted this day to Matlab Central). My code is totally rewritten (especially STEIM decoding), also because I needed to access all block headers of individual records; but somehow my function is partly inspired from your code. Thanks for that, and of course I added you in my acknowledgments.

22 Feb 2010 Nick

Nick (view profile)

There are a couple of issues in the minSeedST1 file which I am currently finidng solutions to.

The first (major) errror is the Byte_convert_to_32 sub function. It reverses the order of all 4 bytes of uint8 before converting to two int16. In fact it should swap pairs of bytes. Line 307 should read:

numberArray = [number8(2) number8(1) number8(4) number8(3)];

for the swith n case 2.

The second problem I do not yet have a solution for is the incorrect initial value produced.

Contact us