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 Integrate Hypo2000, NLLoc and Focmec with Obspyck #83

Open fereizqo opened 5 years ago

fereizqo commented 5 years ago

Hi there, I was succesfully install obspyck but i get problem when i try to integrating hypo2000, NLLoc and focmec. I was change the pluginpath in config file into the directory where i put hypo2000, NLLoc and focmec folder. But i still get the following error :

error for hypo2000

Traceback (most recent call last):
  File "/home/kaboom/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py", line 469, in on_qToolButton_doHyp2000_clicked
    self.doHyp2000()
  File "/home/kaboom/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py", line 2118, in doHyp2000
    files = prog_dict['files']
KeyError: 'files'

error for NLLoc

Traceback (most recent call last):
  File "/home/kaboom/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py", line 483, in on_qToolButton_doNlloc_clicked
    self.doNLLoc()
  File "/home/kaboom/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py", line 2150, in doNLLoc
    files = prog_dict['files']
KeyError: 'files'

error for focmec

Traceback (most recent call last):
  File "/home/kaboom/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py", line 495, in on_qToolButton_doFocMec_clicked
    self.doFocmec()
  File "/home/kaboom/anaconda2/envs/obspyck/lib/python2.7/site-packages/obspyck/obspyck.py", line 1859, in doFocmec
    files = prog_dict['files']
KeyError: 'files'

anyone can help me to solve this problem? Thanks,

megies commented 5 years ago

There's several tickets on these kind of problems, please make sure you read through these first. I know the program integration is a bit obscure and far from ideal right now, but I just did never get to cleaning it up properly..