-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrating with hypo_2000 / NLLoc #53
Comments
Okay, as you can see from my Pull Requests, this issue is now sorted after staring at the code for a long time! The problem was solved for my Mac by removing the 'shell=SHELL' argument to the subprocess command for HYPO2000 and NLLoc (Lines 855 and 897 of util.py). I haven't formally requested a pull for this issue because I didn't know how such a change might affect Obspyck on Linux. |
So my final (hopefully!) question regards the coordinate conversion from NLLoc output back to lat, long. I see in the code that you use the gk2lonlat to convert Gauss-Krueger coordinates to lat, long. Could you please explain some more about this methodology. Many thanks again. |
hey @shicks-seismo sorry for not being able to help much with above issue, the subprocess/wait/shell stuff has made some issues before, but since i'm not using MAC I can only rely on what people report back..
this is all about what coordinates you use in nonlinloc. I assume you dont use |
Hi @shicks-seismo and @megies Error:
Thanks for your help! |
Ok. Nevermind. I solved it installing the new version of NLLOC which brings support for mac osx. |
Old versions used to work on Mac, too. But I never compiled it myself. Anyway, glad it works for you. |
Dear Tobias,
I'm having problems running hypo_2000 from Obspyck.
In the temporary working directory, I have the following files: bay2000.inp; gey.crh; hyp2000; hyp2000.pha; hypo.arc; hypo.sum; stations.dat (hopefully these are named correctly)
If I run hypo_2000 in standalone mode using these files, the location works correctly; however, with Obspyck, I get the following error:
I am confused how Obspyck tells the shell to run hyp2000 and then provides the correct name of the command file within hyp2000.
Maybe it is working properly but the Mac problems described in this thread are occurring: [https://github.com//issues/11#issuecomment-59489271].
Nevertheless, it would be good to have your input.
The text was updated successfully, but these errors were encountered: