Snaphu Unwrapping Plugin

are you sure it was installed correctly?

Hi @ABraun and thanks for your reply. Related to topic, do you have any idea on how to actually set snaphu in this UI ?

some adjustments can be made under “Manage external tool adapters” but that still doesn’t answer how the parameters can be set.

I didn’t know about the integration before, so we are at the same level of knowledge :slight_smile:

Same. I’m more into speckle tracking stuffs now but if I find out how to use it, I will let you know.

Yes, I installed properly, as below,

Hello,

This plugin is now available under SNAP plugins. The SNAPHU Unwrapping plugin can be installed from Tools->Plugins->Available Plugins. The last version is 6.0.5.

Installation and usage instructions:
Choose the plugin, click “Install” and follow the installation procedure. Restart SNAP when SNAPHU Unwrapping installation is finished.
Once installed the plugin will be available under Radar->Interferometric->Unwrapping->Snaphu-unwrapping.

Note: When running SNAPHU Unwrapping tool for the first time the user will be noticed about the need to set up working path for the plugin. Click OK and proceed with bundle download/installation. After these steps the plugin will be ready use. On Linux, after the plugin installation, make sure to add the execute permission on snaphu script under $HOME/.snap/auxdata/snaphu-v1.4.2_linux/bin before starting to use the plugin.

Before unwrapping a product has to be exported using Snaphu Export (Radar->Interferometric->Unwrapping->Snaphu Export)
When the export is done the Snaphu Unwrapping can be executed (Radar->Interferometric->Unwrapping->Snaphu-unwrapping).
On the first tab, select the product previously exported with Snaphu Export (e.g. Phase.hdr). On the parameters tab select the output folder. In order to be able to open the unwrapped product, it is mandatory to select as an output folder the same folder where your exported files (e.g. phase.img, snaphu.conf etc.) are located. You can also check “Display execution output” in order to be able to view the log and the unwrapping execution progress. Then click “Run”.
After the phase is unwrapped it can be imported to SNAP for further analysis using Radar->Interferometric->Unwrapping-> SNAPHU Import (for using the unwrapped output product in SNAPHU Import, make sure to previously save it).
I hope it helps!

Best regards,
Oana

7 Likes

Before you run snaphu-unwrapping you need to run another operator - snaphu Export.
In this operator you can specify your parameters to be used for unwrapping. It creates a .config file which is used in the next step by snaphu-unwrapping plugin.

1 Like

So that’s where the parametrization is poerformed. Thanks @oana_hogoiu and @mfitrzyk

Quentin

Hi i am stuck with phase unwrapping. This plugin is also not working I am not able to fine any product in output folder.
Can u please help me in this?

To be able to help you, we need more information from your side. We’re no magicians :slight_smile:

2 Likes

For me the snaphu plugin works. But in the output folder creates a file with ovr extension. I’m wondering what is the purpose of it.
Any comments?

did you open the output in any other software? ArcMap produces ovr files, for example, to store the image in lower resolution levels for faster display and zooming.

@ABraun
No. I just use free and open source. The question is do I need it actually.

no, you can remove it.

@ABraun Fine. Done.

Hi Oana, In step “select the product previously exported with Snaphu Export (e.g. Phase.hdr)” for the unwrapping, What is the difference in choosing Phase or Coh, how can I know which one to choose?.

Thanks

Florencia

Hello Florencia,

The Coh files are not produced by Snaphu Export, they exist already in the initial product on which Snaphu Export was executed.
To see exactly what to choose, you can also check snaphu.conf file generated by Snaphu Export.

Best regards,
Oana

What file should I choose to generate Unwphase. img in the plugin snaphu- unwrapping at the input of this plugin? And how long is the processing time?

please have a look at the description of the updated tutorial Dispacement mapping with Sentinel-1

1 Like


I multilooked my file and then exported it from this command form.
Is this completed?