Extra data in Phase file (bad linelength?)

Hi All,

I hope that all of your are doing fine.
I`m trying to run SNAPHU v2.0.4 on a Mac Book Pro 15" with MacOS 11.5.
SNAPHU is installed correct, but I got the following error message:
stefancorcodel@Stefans-MBP S1A_IW_SLC__1SSV_20160910T122542_20160910T122606_012990_0148FA_76D7_Orb_Stack_Ifg_Deb_DInSAR_ML_Flt % snaphu -f snaphu.conf Phase_ifg_VV_10Sep2016_06Jun2016.snaphu.img 8293

snaphu v2.0.4

27 parameters input from file snaphu.conf (84 lines total)

extra data in file Phase_ifg_VV_10Sep2016_06Jun2016.snaphu.img (bad linelength?)

The export is done correctly from the SNAP interface and the necessary files are as follows:
-rw-r–r-- 1 stefancorcodel staff 289 Aug 18 11:34:19 2021 Phase_ifg_VV_10Sep2016_06Jun2016.snaphu.hdr
-rw-r–r-- 1 stefancorcodel staff 24760912 Aug 18 11:34:19 2021 Phase_ifg_VV_10Sep2016_06Jun2016.snaphu.img
-rw-r–r-- 1 stefancorcodel staff 298 Aug 18 11:34:18 2021 UnwPhase_ifg_VV_10Sep2016_06Jun2016.snaphu.hdr
-rw-r–r-- 1 stefancorcodel staff 301 Aug 18 11:34:18 2021 coh_IW3_VV_10Sep2016_06Jun2016.snaphu.hdr
-rw-r–r-- 1 stefancorcodel staff 24760912 Aug 18 11:34:19 2021 coh_IW3_VV_10Sep2016_06Jun2016.snaphu.img
-rw-r–r-- 1 stefancorcodel staff 1770 Aug 18 11:34:18 2021 snaphu.conf

Please advise.
Best regards,

“bad line length” indicates that the data you use as input has more lines (rows) than stated in the command (here 8293). Can you please check

  • the dimensions of the raster in SNAP
  • if you missed a digit in the command

Thank you very much for your clear replay, now it is working without any error message.

good, can you tell what caused the error?

As you have already identify it, I have input the wrong number of lines. The error was that one mentioned above “(bad linelength?)”.