SNAPHU Unwrapping

I’m beginner in InSAR.

I’d unwrapping the phase using the SNAPHY algorithm (using windows).

basing on the Sentinel-1 Toolbox tutorial, I should find snaphu.conf file in the the folder /mnt/hgfs/ .

I don’t find it!!

help? thank you

snaphu.conf is created when you export the phase with SAR > Interferometric > Unwrapping > SNAPHU export.
It can be found at the location you choose as a target folder:

If you are using the VMWare image in the tutorial, you need to setup the shared folder. In VMWare player, go to edit virtual machine settings and then options. From there setup a new shared folder. Put the data you export from SNAP into this shared folder and then in the linux virtual machine, you will see the data files in /mnt/hgfs/

yess, it works !! thank you

Iveci,
There is a training session (SAR interferometry) scheduled soon?

1 Like

Hello all,

I have followed these steps of the ESA tutorial to extract an interferogram for my area of interest. It’s my goal now to unwrap it, so that I can calculate the water level of a lake. I have never worked with satellite imagery before, so I would like to find a simple way to do that. I already have Matlab in my computer installed, but I still can’t understand how can I import there my unwrapped data in order to use the algorithm below:


Should I carry on trying to get results with Matlab or is it maybe simpler to dual boot Linux in my Windows PC and work with SNAPHU?
I am sorry if my question is silly, but I’ve been reading loads of things for days and I can’t get to a conclusion…:frowning:

Hi,

Some hints you could find in SAR-EDU_Tutorial_Focussing_Matlab.pdf from https://saredu.dlr.de/

But you could implement the unwrapping step by using snaphu under linux or unix machine,

thank you for replying. I have worked so far with a pair of slc images in SNAP and I have an interferogram as a result. I want to unwrap it through matlab but I can’t figure out how to import the SNAP data in to Matlab.

Hi,
I don’t think it is done before, but I’m keen to know how as well if you have any results

ok, good to know! thanks

Hi,
An other way to speedup the unwrapping is to increase the number of processors in the configuration file for snaphu, In my case it was set to 4 by default but when i tried to unwrapped on a 24 core work station using Snaphu/CygWin I increased the number of processors to 20 in the config file and it worked like a dream. You can set it to a higher number in SNAP while exporting to snaphu. You would only be restricted by the physical number of cores on you machine

Regards

Hi Alex,

Were you able to address your problem with the incorrect unwrapped phase output (using IW)? I am facing a similar problem and am curious if you were able to troubleshoot this. Any info would be appreciated!

@katjensen @Alex
The SM mode is used by the sentinel 1 satellite in exceptional cases of emergency and the data in this mode is rarely available. Where IW mode is available for interferometry at global scale

On the previous question of wrong unwrapped phase, you have to use the correct wrapped phase (the one you used as a source for snaphu export) in combination of the unwrapped phase during your Snaphu import step.

Hope this help you

Thanks

Hi,

I have set vmware configuration as follows, but it is taking 4 hours to execute phase unwraping.

could some one let me know how to configure to get complete snaphu unwrapping quickly within one hour.

I am confused to set “No. Of processors and No.of cores per processor” in vmware

My system configuration is

Processor: Core i7-6700 CPU @ 3.4 GHZ
RAM : 8 GB

1 Like

Hi ABraun, Thanks for your review.

looking further for your support to get clear many issues with open source software’s.

after unwrapping, while snaphu import i’am getting error in

SNAP as "NodeId: 3-SnaphuImportOp requires at least one product with InSAR metadata. "

and in

NEST 5.1 as “Java.lang.NullPointer exception”.

could you let know the solution if you come across this issue…

what is your input for
1-Read-Phase
2-Read-Unwrapped-Phase
3-SnaphuImport?

Did you successfully run snaphu?

Have a look at the help menu of this module. It is explained what is needed at which step.

I have successfully run the snaphu.

  1. Read-1: Phase HDR
  2. Read-2: Unwrapped Phase HDR

after entering these values then error is coming.

  1. Snaphu Import: I haven’t checked the checkbox.

even if the checkbox checked there is no change in error message…

How to add Insar metadata…here in with SNAP.

For read-1, use the whole last interferogram product before exporting for snaphu. This will probably be a dimap product which you applied topo phase removal or Goldstein phase filtering.

1 Like