megies / obspyck

ObsPyck is a GUI application that is intended to cover the tasks in a standard analysis workflow for seismic events in seismological observatory practice.
https://github.com/megies/obspyck/wiki
GNU General Public License v2.0
61 stars 32 forks source link

Can't run Obspyck properly #81

Closed aqualad28 closed 5 years ago

aqualad28 commented 5 years ago

Hello there! I was try to running Obspyck with some of my .mseed and .SAC data, but it returned an error message like this:

GLib-GIO-Message: 10:53:30.448: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
/home/newquest/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py:230: UserWarning: Cannot find external programs dir, localization methods/functions are deactivated
  warnings.warn(msg)
Traceback (most recent call last):
  File "/home/newquest/anaconda2/envs/obspyck/bin/obspyck", line 11, in <module>
    load_entry_point('obspyck==0.5.1', 'console_scripts', 'obspyck')()
  File "/home/newquest/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py", line 4666, in main
    obspyck = ObsPyck(clients, streams, options, KEYS, config)
  File "/home/newquest/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py", line 278, in _init_
    raise Exception(err)
Exception: No streams left to work with after removing bad streams.

Here I also attach my files that i try to open. Would you like to help me to solve this problem? mydata.zip

Actually, I'm still trying to figure out how to work with Obspyck. Could you give me some sample data and proper command for Obspyck to run properly?

Thank you :)

megies commented 5 years ago

Most important thing is that the -t option (optionally in combination with -d for "duration" and -o for "offset") must match your waveform data. ObsPyck will not use any waveform data outside of the time window controlled by these options.

$ obspyck -t 2018-10-08 BMKG.mseed

works for me (when setting no_metadata = true as prompted by obspyck, since you dont seem to have station metadata), although you end up with 6 traces per station because you have 20Hz and 40Hz data in one file. This is not a scenario I have used before so you might better split the 20/40 Hz data into separate files, I'd suggest. Aside from that please have a look at the wiki and the several other tickets that circle around usage questions.

aqualad28 commented 5 years ago

Thank you so much, my Obspyck now can run the data. I very much appreciate your help.