Cannot open img - snaphu

is there a chance to see the full error message?

This is the full text



These are the files
image
I’m importing the .hdr file. This is the popup message when importing it


and this

I don’t know why it is there, but please remove this part of the file name so that the img and the hdr are named identical. Otherwise SNAP cannot link the hdr to the img during the import of the unwrapped phase.

grafik

1 Like

Thanks a lot Andreas, I was able to export the files :slight_smile:


Saludos
Cristian O.

1 Like

Hello Andreas,
I was hoping you could give an extra hand…
I’m having the similar issue, for some reason when exporting the snaphu files, unwrapped phase image is not exported, I’m following the next procedure:
I have generated the following graph for processing


the bands in the debursted image are
image
I have check them, and they look fine to me.
When I run the graph to process I get the following image and bands after the goldstein phase filtering, which seems to be fine

But when checking the SNAPHU folder I have the missing img file for the unwrapped phase
image
No idea why I’m having this issue

I notice that when I run the snaphu export from the menu I get the correct files (coherence and phase)
image
But when running the SnaphuExport from the GraphBuilder (I did created the graph about 3 different times just to check I wasn’t making any mistake) it doesn’t work properly since export less files (just the phase file, for some reason missing the coherence). Do you have any idea why this could be happening?
image

the unwrapped phase is not included after the unwrapping, only the hdr file. You generate the img file with snaphu, that’s why you export the data in the first place.

Why the coherence img+hdr is not exported by the graph is a different question and to be honest I don’t know it. Is there a specific reason why you want to automate this at all? DInSAR requires visual inspection of the different stages (coregistration, interferogram, filtering) to see if the data was processed correctly and which parameters are required. I see little sense in automating it, because you lose control of exactly such things as missing bands.

1 Like

If you are missing coherence files try running SnaphuExport separately in a single graph. That fixed the missing files for me.

See here:

3 Likes

Thanks a lot, this solved the issue!

Thanks a lot for the advice, since I have several images to process I thought this would be easier.

@ABraun Hi there, I am getting the same error, has there since been a fix?
image

My SNAPHU export folder looks like the following:

You are in the directory “New User” - is this where your data exported from snap is located?
You have to execute the command in the same folder.