Does anyone can help me that after I have run Snaphu export, there are eight files, include UnwPhase_ifg_srp_VV_25Jul2015_18Aug2015.snaphu.hdr, but there is not .img file. ???
Img file will be generated by Snaphu in the process of unwrapping of your phase that is stored in Phase_ifg_srp_VV_25Jul2015_18Aug2015.snaphu.img
Thank you, that why I can not find the img file name with header UnwPhase.
Besause the Snaphu export operator only prepares the data for the unwrapping procedure. The actual unwrapping still has to performed by an additional program that runs under Linux.
For more information read the file http://sentinel1.s3.amazonaws.com/docs/S1TBX%20Stripmap%20Interferometry%20with%20Sentinel-1%20Tutorial.pdf, especially sections Phase Unwrapping and Unwrapping with SNAPHU.
I am trying to create an interferogram between two images from S-1 (S1A_IW_SLC__1SDV_20150509T052537_20150509T052604_005840_007841_A36E and S1A_IW_SLC__1SDV_20151105T052545_20151105T052612_008465_00BF7A_59D1)
- using the SNAP 2 toolbox on a 64 GB RAM system with a 64 bit Windows OS.
- everything runs smoothly until the snaphu export step (coreg–>ifg–>deburst–>topophase–>goldstein filt–>snaphu export)
- I get a .img and hdr file for the export.
- But when I run the snaphu unwrapping on my Ubuntu VM, I get the following error:
root@root-VirtualBox:$ snaphu -f snaphu.conf Phase_ifg_srp_IW1_VV_09May2015_05Nov2015.snaphu.img 72626
27 parameters input from file snaphu.conf (84 lines total)
extra data in file Phase_ifg_srp_IW1_VV_09May2015_05Nov2015.snaphu.img (bad linelength?)
—Any idea what that means? I’ve unwrapped before using the same VM and with Snap 1.0 and though it took long, it worked. This is the first time I get an error like this. Could it have something to do with the Snap 2 toolbox?
I had a look at the conf file of this particular image, and of previous snaphu.conf files that were successfully unwrapped, and the only difference I can see is with the naming convention of the file. The other files were named with srd instead of : Phase_ifg_srp_IW1_VV_09May2015_05Nov2015.snaphu.img as it is in my present image
I do not see why that would pose a problem, but still, just something I noticed.
I tried the snaphu unwrap on one of the snaphu exports of a previously created image and it works. So the problem isnt with the VM.
Any smart ideas?
Thanks a tonne,
SRP (Subtract Reference Phase) is after producing the interferogram and
you have subtracted the phase Earth phase.
SRD (Subtract Reference DEM) is after topographic phase removal.
The band dimensions should be the same either way. I think the bad
linelength error may be related to passing snaphu a wrong dimension.
Double check that the snaphu command in teh snaphu.conf file corresponds
to this product and the dimensions are the same as the band.
I’m facing the same problem I checked the dimension from metadata and snaphu.conf file. and they are same. So would you please to find out the reason of this error.
Did you get any solution for this issue, “snaphu v1.4.2
27 parameters input from file snaphu.conf (84 lines total)”
I did have similar issues with this and on another forum found that the segmentation fault is likely due to the log file created by SNAPHU. In the snaphu.conf file comment out the log file line with a # and that should fix the problem
Dear Peter and jegrix
I have same problem like peter and there is not img file for UnwPhase.
Look at this:
and when I want to import in SNAPHU, there is below error:
did snaphu give you any error? Based on your first image it looks like it didn’t even start.
I forgot to do one step. Now it is working. Thanks:slight_smile:
I got an error file while unwrapping using snaphu which says
Log file generated Tue Mar 21 05:09:28 2017
Current working directory: /cygdrive/c/Temp/snaphu-v1.4.2/bin/subset_S1A_IW_SLC__1SSV_20150417T001852_201505123T001851_005516_0070C1_460B_Orb_IW1_ifg_Deburst_dinsar_flt.data/subset_S1A_IW_SLC__1SSV_20150417T001852_201505123T001851_005516_0070C1_460B_Orb_IW1_ifg_Deburst_dinsar_flt
Command line call: snaphu -f snaphu.conf Phase_ifg_srd_IW1_VV_17Apr2015_23May2015.snaphu.img 2836
File input and output and runtime options
Empty value for parameter WEIGHTFILE
Empty value for parameter AMPFILE
Empty value for parameter MAGFILE
Empty value for parameter ESTIMATEFILE
Empty value for parameter COSTINFILE
Empty value for parameter COSTOUTFILE
SAR and Geometry Parameters
Scattering model parameters
Decorrelation model parameters
PDF model parameters
Deformation mode parameters
File names for dumping intermediate arrays
Empty value for parameter INITFILE
Empty value for parameter FLOWFILE
Empty value for parameter EIFILE
Empty value for parameter ROWCOSTFILE
Empty value for parameter COLCOSTFILE
Empty value for parameter MSTROWCOSTFILE
Empty value for parameter MSTCOLCOSTFILE
Empty value for parameter MSTCOSTSFILE
Empty value for parameter RAWCORRDUMPFILE
Empty value for parameter CORRDUMPFILE
Piece extraction parameters
Parameters ignored because of tile mode
Connected component control
Empty value for parameter CONNCOMPFILE
also i got a file created without any extension
Which step you had missed last time?? The error is same for me, so can you please write the steps for me. I am following steps as… Coregistration (TopSarSplit, AppOrbitFile, BackGeocoding) >> EAP Phase correction >> Interferogram Formation >> Top Debrust >> Topographic Phase Removal >> Goldstein Phase Filtering >> Snaphu Export (Did not generated Img file for Unwphase ) >> Snaphu Import (Not working).
Thank you in advance…!!
If I run it from Ubuntu Konsole then I have this ERROR:
compName:~/S1_test/Snap_Export/S1A_IW_SLC__1SDV_Orb_Stack_pc_Ifg_Deb_DInSAR_Flt$ sudo snaphu -f Phase_VV_05Dec2014_05Apr2017.snaphu.img 1721
[sudo] password for compName:
unrecognized configuration parameter ‘sï¿½ï¿½rï¿½?Yï¿½ï¿½?ï¿½ï¿½ï¿½?|ï¿½ï¿½ï¿½ï¿½’ (Phase_VV_05Dec2014_05Apr2017.snaphu.img:5666)
Can anyone please help to correct me.
amylauraparker - May '16
“I did have similar issues with this and on another forum found that the segmentation fault is likely due to the log file created by SNAPHU. In the snaphu.conf file comment out the log file line with a # and that should fix the problem”
#LOGFILE… in the snaphu.conf file is the solution. Now it is running. Great… Thanks again.
Are u using a manual for doing SNAPHU or not?
Hi, Thanks for your response. I am using these tutorials:
AND the Step Forum + some books…
I would be so happy if you could suggest us something more interesting.
Can anyone comment on the output. Am I correctly generated results or the visual expression giving any bad indication ??
hi, im following stripmap tutorial and im facing problem to unwrapping phase using snaphu in virtual linux. i did the step but when i checked the folder, there is no /vmshare/data/target_sanphu/ only /mnt/hgfs/ in file system. then i cant run the snaphu.conf even i made gedit snaphu.conf & in my /home/sar/ and copy paste the command to call snaphu