-
Notifications
You must be signed in to change notification settings - Fork 28
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
Circle shape bin not working #57
Comments
I make it work, but I had to define the width on the ccp.cpg. I say that because when you download the example the Readme file says: "# Half width of the profile in km, only works for rectangle bin |
Thank you very much. I've fixed the bug in commit 328e399. You can update to the |
So I tried it again and received the same error, but I never had to this kind of thing before so, before assuming the corrections were wrong I would like to verify if I really reinstalled it correctly. Before everything, I uninstall the previous version I had installed in my computer and then I downloaded with git:
in my Download file, then I install it by pip:
then I downloaded the example again and just chanced the bin shape to circle. Did I something wrong? |
Please try this commit 0cac09e again. |
Hello, I was trying to do some tests with the ccp_profile function and I can't make the circle shape bin to work because it shows the error:
Traceback (most recent call last):
File "/home/felipe/.local/bin/ccp_profile", line 8, in
sys.exit(ccp_profile())
File "/home/felipe/.local/lib/python3.8/site-packages/seispy/scripts.py", line 94, in ccp_profile
ccp.stack()
File "/home/felipe/.local/lib/python3.8/site-packages/seispy/ccpprofile.py", line 228, in stack
for k in idxs:
TypeError: 'int' object is not iterable
Matter-of-factly I looked in the ccpprofile.py routine and I didn't get how it would interate with the idxs bin a number because in the function "stack(self)" we get :
meaning that, if we choose a circle we only get a int that is not interable. So, I commonly don't see something here, so can someone help what I didn't get right, please?
The text was updated successfully, but these errors were encountered: