Is there a need to edit snaphu.conf file?


#1

Sometimes, Phase unwrapping does not work when I directly use the snaphu.conf file in Snaphu. Alternatively, I used to copy all required parameters to a new file and then use the new file in place of actual snaphu.conf file which is generated by Snaphu Export option in SNAP to make it work. Now it starts unwrapping. (I am using Snaphu through Cygwin on Windows10).
I believe this behavior is not expected. Does anybody faced this kind of problem? Is it necessary to edit actual configuration file?


SNAPHU Unwrapping
#2

what do you mean by

when I directly use the snaphu.conf file in Snaphu

How did you call snaphu in cygwin?


#3

Snaphu Export option in SNAP created a folder which consists of coherence band, phase band and snaphu.conf file.
Phase unwrapping did not work when I used this snaphu.conf file.

I have installed Snaphu in Cygwin and I could work with Snaphu without any issues.
Do you think above mentioned issue is because of calling Snaphu in Cygwin?


#4

I used both cygwin and the windows command prompt and simply entered the command from the snaphu.conf file. It depends on how you compiled snaphu if it works in windows as well. Please have a look at my documentation:


#5

You have an error when you use the original snaphu conf file ?


#6

what do you mean by ‘use the file’?

As long as I had enough RAM I didn’t experience technical errors.


#7

You can experience, as I did, problem with conf file on Linux due to the log file.

It occurs a segmentation error because snaphu can’t write the log file. But you just have to remove the command line or turn it into comment into the file.


#8

@ABraun I tried the same way as you mentioned. It did not work.
@Sadri I will try as per your suggestion and let you all know.


#9

sir,
I tried phase unwrapping in ubuntu 14.04 LTS . When i run the command -
snaphu -f snaphu.conf Phase_ifg_HH_23Dec20­09_26Dec2010.snaphu.img 4672
it gives an error saying-
snaphu v1.4.2 27 parameters input from file snaphu.conf (84 lines total) only one tile–disregarding multiprocessor option Logging run-time parameters to file snaphu.log
Segmentation fault (core dumped)
Please guide me through this. I am not using cygwin terminal.
Thanks


#10

Comment out the log file line in snaphu.conf file. This should fix your problem.
For more info, please go through Snaphu Export

Also, this may help.