-
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
Installation Problems #70
Comments
Many, but no time to work on it. Please work on the issue and submit a PR. Pyhum is massively outdated and will get a radical overhaul in the winter |
Hey Daniel, theta at 3dB in the horizontal
Shouldn't the across track resolution rather depend on the pulse length than on the opening angle of the transducer? Best |
There is no pulse length info in the files as far as I can tell. You are correct that it should depend on the opening angle, but the above works, so I ran with it. Please suggest an improvement if you have one. I am also VERY interested in your C++ implementation to read the files, if you are willing to share? That part is really slow in my python/cython implementation I have been working on a new PyHum version that works in python 3 and built on modern scalable tech such as dask, xarray, but it will take months to complete because of lack of time |
Hey, Best, Philipp |
Thanks so much for sharing this code. I will test it soon! |
Philipp,
Things are slow in my world - I am only now looking at your code. I have almost no experience with c++ so it may take me even longer to figure out how to use it. I will start by compiling and hopefully testing the code. Eventually, I think I would like to wrap this using cython?
What does BDA stand for? What is the purpose of the HumSIBDA.cpp code? I can see it applies filters to the sidescan data, but for what purpose and at which stage in the workflow?
Cheers,
Dan
…________________________________
From: Phi1983 <[email protected]>
Sent: Wednesday, September 18, 2019 3:17:15 AM
To: dbuscombe-usgs/PyHum
Cc: Daniel David Buscombe; Comment
Subject: Re: [dbuscombe-usgs/PyHum] Installation Problems (#70)
Hey,
sorry for the late reply, I was on a cruise.
I don't have an idea for improvement.
I am willing to share, of course. I also wrote a new BDA which works quite well for my data.
Best, Philipp
Hum_IO&BDA.zip<https://github.com/dbuscombe-usgs/PyHum/files/3625812/Hum_IO.BDA.zip>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#70>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AA3OBXKOKUWI3TVYBRSF5S3QKH52XANCNFSM4H4TKHRA>.
|
Also, please could you make the HumCoord.h file available? I believe I need that for definitions for "x2lon" and "y2lat". Thanks!
…-D
________________________________
From: Daniel David Buscombe
Sent: Wednesday, October 16, 2019 1:55:16 PM
To: dbuscombe-usgs/PyHum; dbuscombe-usgs/PyHum
Cc: Comment
Subject: Re: [dbuscombe-usgs/PyHum] Installation Problems (#70)
Philipp,
Things are slow in my world - I am only now looking at your code. I have almost no experience with c++ so it may take me even longer to figure out how to use it. I will start by compiling and hopefully testing the code. Eventually, I think I would like to wrap this using cython?
What does BDA stand for? What is the purpose of the HumSIBDA.cpp code? I can see it applies filters to the sidescan data, but for what purpose and at which stage in the workflow?
Cheers,
Dan
________________________________
From: Phi1983 <[email protected]>
Sent: Wednesday, September 18, 2019 3:17:15 AM
To: dbuscombe-usgs/PyHum
Cc: Daniel David Buscombe; Comment
Subject: Re: [dbuscombe-usgs/PyHum] Installation Problems (#70)
Hey,
sorry for the late reply, I was on a cruise.
I don't have an idea for improvement.
I am willing to share, of course. I also wrote a new BDA which works quite well for my data.
Best, Philipp
Hum_IO&BDA.zip<https://github.com/dbuscombe-usgs/PyHum/files/3625812/Hum_IO.BDA.zip>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#70>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AA3OBXKOKUWI3TVYBRSF5S3QKH52XANCNFSM4H4TKHRA>.
|
@Phi1983 please could you share the HumCoord.h file? I'm keen to see if I can incorporate your code. Thanks |
Hey Daniel, sorry again for the late reply. But things are also slow in my world :( Regarding the BDA, that's the bottom detection algorithm to remove the water column. Best, |
Excellent! Thanks so much. I got it to install on a debian based system but couldn't link to the I can confirm that |
Hey Daniel, |
Hi all, I plan to keep digging on the installation error. @Phi1983 I am looking at you C++ implementation, and I will definitely give a try! Cheers, |
I am sorry to say there has been no progress with this issue. My apologies. It is still the plan, eventually, but I cannot say for sure when it gets done. I am considering 'archiving' the PyHum repo until such time that I have time to work on it again |
It is understandable. That is a time-resource intensive task! Bests, |
Hey Daniel,
I have just installed PyHum, the installation worked without errors. However, when I try
python -c "import PyHum;PyHum.dotest()"
I get the following error:
Traceback (most recent call last):
File "", line 1, in
File "/home/philipp/anaconda2/envs/pyhum/lib/python2.7/site-packages/PyHum/init.py", line 60, in
from PyHum._pyhum_read import read
File "/home/philipp/anaconda2/envs/pyhum/lib/python2.7/site-packages/PyHum/_pyhum_read.py", line 72, in
import PyHum.pyread_single as pyread_single
File "PyHum/pyread_single.pyx", line 34, in init PyHum.pyread_single
File "/home/philipp/anaconda2/envs/pyhum/lib/python2.7/site-packages/PyHum/utils.py", line 37, in
import dask.array as da
File "/home/philipp/anaconda2/envs/pyhum/lib/python2.7/site-packages/dask/array/init.py", line 8, in
from .routines import (take, choose, argwhere, where, coarsen, insert,
File "/home/philipp/anaconda2/envs/pyhum/lib/python2.7/site-packages/dask/array/routines.py", line 256, in
@wraps(np.matmul)
File "/home/philipp/anaconda2/envs/pyhum/lib/python2.7/functools.py", line 33, in update_wrapper
setattr(wrapper, attr, getattr(wrapped, attr))
AttributeError: 'numpy.ufunc' object has no attribute 'module'
I installed the program on a Ubuntu 18.04 machine within conda, using your installation instruction.
Any ideas how to fix it?
Thanks
Philipp
The text was updated successfully, but these errors were encountered: