-
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
NLLoc running #85
Comments
Please try to make use of github markdown, it's so hard to read an unformatted issue report, see https://help.github.com/categories/writing-on-github/. Please run obspyck and post a directory listing of the used temporary directory (directory path should be printed on console). |
Hello T.Megies, sorry for markdown, I didn't know it.
(obspyck_test) sysop@sysop-HP-ProDesk-600-G1-SFF:~/Escritorio/obspyck/nlloc$ obspyck -c example.cfg -t 2016-01-03T06:05:00 -d 240 HHZ
|
obspyck show something like this during startup:
Contents of your plugin directory get copied there, so this has to contain everything needed for NLLOC. Please list the contents of a temp directory in your case. |
Hello Tobias, I've been working with obspyck the last days. Finally I was able to run NLLoc without problems. Thank you very much for your tips, I didn't realized that everything is copied to a temp folder in the root directory.
Hope you can help with this information. Please do not hesitate if you need something else to solve directory.txt |
Phases for focmec: 8 EVO 33.40 62.60D Traceback (most recent call last): |
Can't say for sure, but I think I never used polarities with NLLoc. Does Nlloc even use polarities?
There is some coordinate conversion mechanics in util.py, see
This is also mentioned in one of the other NLLoc issues here, you might have to patch this in your obspyck installation, sorry, never got round to make this changeable via config file, I think. Not sure what the problem with focmec is, but you should try to run the focmec binary from command line, it should ask for all the input info then, just to see if your binary works.. |
I've go around the rfocmec script step by step and finally I solved partially the problem grep -v "nan" focmec.out.all | grep "$i.0" > focmec.out && echo "found solution with $i Errors." && exit 0 grep -v "nan" focmec.out.all | grep " $i.0 " > focmec.out && echo "found solution with $i Errors." && exit 0 Now, it record something in the focmec.out file But another error arise, now related with obspyck.py --> focmec finished |
From I've read till now is that previously to run FocMec to calculate
the Focal Mechanism, I need to locate the epicenter with NLLoc.
Because I've read that might be there will be problems with Mac I've moved to a Linux machine.
In this email, I write a complete description of the architecture folders that I followed to run Nlloc but unfortunately something wrong happened. I've tried to be the most clear with my issue as possible for not making you waste any time.
Right now I have this installation scheme
/home/sysop/miniconda2/envs/obspyck_test/lib/python2.7/site-packages/obspyck
in this folder I've created the subfolder plugins in which I've created
/home/sysop/miniconda2/envs/obspyck_test/lib/python2.7/site-packages/obspyck/focmec
/home/sysop/miniconda2/envs/obspyck_test/lib/python2.7/site-packages/obspyck/hyp_2000
/home/sysop/miniconda2/envs/obspyck_test/lib/python2.7/site-packages/obspyck/nlloc
Inside the ./nlloc there are the typical executable files NLLoc, Grid2Time and so on....
Now, to run my example, I've created in my desktop a folder named obspyck with this architecture
home/Escritorio/obspyck/nlloc
inside the obspyck/nlloc folder there are the waveforms, the file.cfg and I've also created a symbolic link NLLoc ---> NLLoc__Linux__64bit
following the issue #11
For the output
home/Escritorio/obspyck/nlloc/loc1
For the travel times
home/Escritorio/obspyck/nlloc/time
**[layer.P.sta.buf,layer.P.sta.hdr,layer.S.sta.buf,layer.S.sta.buf]
And the run/control file named locate_BY.nlloc in the previous folder
home/Escritorio/obspyck/locate_BY.nlloc
which is attached in this email and the LOCFILES line is
LOCFILES ./nlloc.obs NLLOC_OBS ./time/layer ./loc1
**From the #issue11 I guess that nlloc.obs is created after pick the waveforms and saved in the folder from Ive run obspyck//in my case home/Escritorio/obspyck/nlloc.
**I ve also guessed that obspyck always look for the nlloc control file inside locate_BY.nlloc.
After this configuration, I0ve run successfully obspyck and I picked some waveforms but when I run do_nlloc, obspyck cannot find nlloc. I attached the log error file.
I forget mention you that moreover NLLoc is also in the path of my computer,
I thought that everything is right but I missed in some point and I am stack,
Please could anyone
log2.txt
example_cfg.txt
locate_BY.nlloc.txt
guide me to find a way-out.
The text was updated successfully, but these errors were encountered: