fbergama / wass

WASS (Waves Acquisition Stereo System) is an optimized stereo processing pipeline for sea waves 3D reconstruction.
GNU General Public License v3.0
40 stars 13 forks source link

error about wassgridsurface #30

Closed BlueGis closed 1 month ago

BlueGis commented 2 months ago

Hello, When I'm running wassgridsurface --action setup ./output ./gridding --gridconfig ./gridding/gridconfig.txt --baseline 3.0 the error is reported as follows: Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code ... File "C:\Users\AppData\Local\anaconda3\Lib\site-packages\wassgridsurface\wass_utils.py", line 39, in compute_sea_plane_RT assert len(plane)==4, "Plane must be a 4-element vector" ^^^^^^^^^^ TypeError: object of type 'numpy.float64' has no len() I followed the tutorial to run the code and don't know why get this error.

fbergama commented 2 months ago

Hello, You must run the "Stereo" step of wasscli for more than one stereo pair.

On Tue, Apr 30, 2024 at 10:01 AM BlueGis @.***> wrote:

Hello, When I'm running wassgridsurface --action setup ./output ./gridding --gridconfig ./gridding/gridconfig.txt --baseline 3.0 the error is reported as follows: Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code ... File "C:\Users\AppData\Local\anaconda3\Lib\site-packages\wassgridsurface\wass_utils.py", line 39, in compute_sea_plane_RT assert len(plane)==4, "Plane must be a 4-element vector" ^^^^^^^^^^ TypeError: object of type 'numpy.float64' has no len() I followed the tutorial to run the code and don't know why get this error.

— Reply to this email directly, view it on GitHub https://github.com/fbergama/wass/issues/30, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNVZSLWKZICT4AH4THZOC3Y75FWZAVCNFSM6AAAAABG7XZALGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TANZYGQ2TKOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

BlueGis commented 2 months ago

Hello, You must run the "Stereo" step of wasscli for more than one stereo pair. On Tue, Apr 30, 2024 at 10:01 AM BlueGis @.> wrote: Hello, When I'm running wassgridsurface --action setup ./output ./gridding --gridconfig ./gridding/gridconfig.txt --baseline 3.0 the error is reported as follows: Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code ... File "C:\Users\AppData\Local\anaconda3\Lib\site-packages\wassgridsurface\wass_utils.py", line 39, in compute_sea_plane_RT assert len(plane)==4, "Plane must be a 4-element vector" ^^^^^^^^^^ TypeError: object of type 'numpy.float64' has no len() I followed the tutorial to run the code and don't know why get this error. — Reply to this email directly, view it on GitHub <#30>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNVZSLWKZICT4AH4THZOC3Y75FWZAVCNFSM6AAAAABG7XZALGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TANZYGQ2TKOI . You are receiving this because you are subscribed to this thread.Message ID: @.>

Thanks for the suggestion, I'll give it a try.