computational-seismology / pypaw

PYthon Process Asdf Wokflow, in short for, pypaw
https://computational-seismology.github.io/pypaw/
GNU Lesser General Public License v3.0
3 stars 6 forks source link

converter crash if the input file is broken #1

Closed chukren closed 8 years ago

chukren commented 8 years ago

in src/pypaw/convert.py (line 97-98) st = obspy.read(filename) ds.add_waveforms(st, tag=tag, event_id=event) if Obspy can not successfully read the file, it crashes the converter. A warning message for later check up and ability of skipping bad data are needed in this function.

wjlei1990 commented 8 years ago

It should be fixed right now.