[obspy-users] Checking readability of mseed files

Januka Attanayake jattanayake at yahoo.com
Mon Jul 22 03:41:51 CEST 2019

Thanks Joachim, I was able to write a simple try: except:  loop as Richard suggested. That was good enough for my situation. I will try to upload the file soon. 
Januka Attanayake
Research Fellow | Earthquake Seismology
Homepage: https://sites.google.com/site/janukaattanayake

School of Earth Sciences | McCoy Bldg. 200 
University of Melbourne | Parkville 3010 VIC 

    On Sunday, July 21, 2019, 12:15:25 AM GMT+10, Joachim Saul <saul at gfz-potsdam.de> wrote:  
  On 17.07.19 02:31, Januka Attanayake wrote:
 The file is 70+ MB after zipping. Thus, unless there's a convenient way to upload it, I'll have to slip this one through knowing that the file has a bad blockette.
 As ObsPy uses libmseed to read miniSEED files, a straightforward way to check the input data is to use the 'msview' utility. It is part of the libmseed distribution, though somewhat hidden in the 'example' directory. If libmseed cannot read the file it is most probably corrupt and you will know before you upload 70 MB of data.
obspy-users mailing list
obspy-users at lists.swapbytes.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.swapbytes.de/pipermail/obspy-users/attachments/20190722/4afe3abe/attachment-0001.html>

More information about the obspy-users mailing list