[obspy-users] Checking readability of mseed files
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.
Research Fellow | Earthquake Seismology
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...
More information about the obspy-users