Snaphu 2.0.4 quick question

Hello I have a question regarding snaphu installation and configuration. Lot of people have issue with it while doing DInSAR and specifically on OS X terminal (bash and zsh).

My question is that rather than copying the compiled binary to system root and bin etc what if we directly downloaded it from stanford website and extract it on desktop. Opening terminal and accessing the bin folder and directly calling snaphu? As the bin already contains snaphu binary. Will we be able to use it?

For example:
Snaphu is extracted on desktop
I open terminal and type cd Desktop/snaphu2.0.4/bin/snaphu.bin

It runs the snaphu but my question is from here onwards how we can let’s say unwrap the image? Terminal by default exits it.

My idea is that I directly call the binary and copy the code from .conf file and paste here will it work and how?

Desktop/snaphu2.0.4/bin/snaphu.bin -f …

^ this shows error at the moment as command error.
I even pasted this bin inside the SNAP snaphu export folder still same error.

If directly calling the binary is possible somehow I will be happy to learn.

?? @ABraun

I have no experience with Mac OS, sorry.
I wondered why you did not continue the discussion here: How to Install SNAPHU on Mac OSX and Windows for Unwrapping InSAR Images?

1 Like

Actually the reason was only one, I was scrolling when you guys were discussing it and she installed snaphu successfully and after that she was asking question related to specifics that’s why stayed quiet. Haha also I have made a small YouTube tutorial on it and you won’t believe every once in a month I get an email about snaphu. That’s what made me think like is it even possible without installation and directly running the binary.

And also I did try on my mac and it loads just fine and exits it. The next part .conf file when pasted in-front of it shows command error. If you know someone please mention him / her in it.

let’s see, mmaybe someone has a comment.

1 Like

Hi Muddasir,

have you tried to contact the snaphu developer directly?
In the README they provide this email address: snaphu@gmail.com

1 Like

Wow never knew about that. Thank you so much. :heart: