isce2 icon indicating copy to clipboard operation
isce2 copied to clipboard

run_12_merge_reference_secondary_slc

Open wenguang0412 opened this issue 3 years ago • 7 comments

When processing sentinel data, cd run_files, run to the twelfth step, and report the following error: ERROR 1: Input and output dataset sizes or band counts do not match in GDALDatasetCopyWholeRaster()

The previous steps did not report errors,I don't know what went wrong. If anyone has some advice on this issue. I would really appreciate it!

wenguang0412 avatar Feb 20 '22 14:02 wenguang0412

Hi, wenguang0412, I also met this error today. Have you solved this?

xsar123 avatar Mar 14 '22 12:03 xsar123

Unfortunately, I have no solution to this problem at the moment, it has been bothering me for a long time

wenguang0412 avatar Mar 14 '22 13:03 wenguang0412

Unfortunately, I have no solution to this problem at the moment, it has been bothering me for a long time

Have you solved this error?I've met this problem for several times.If you have solved this error,please let me know.many thanks.

Rick0219 avatar Mar 23 '22 07:03 Rick0219

Hello, I had the same error and I have solved it by using an older version of GDAL. Specifically I have used GDAL2.3 instead of latest GDAL 3.4.

There is also a code workaround you could apply if you need to keep using the latest gdal version but it is not pretty and it could leave other unknown problems because of incompatible GDAL unsolved. The workaround is to repeat the gdal.Translate(..) lines in the code where the error is produced, twice. In mergeBursts.py line 310 you have to repeat the line:

gdal.Translate(outname, ds, options=gdalTranslateOpts) gdal.Translate(outname, ds, options=gdalTranslateOpts)

After the first call of the gdal.Translate function the same ERROR1 above will be displayed, but with the second call it will work fine.

AlexApostolakis avatar Apr 08 '22 09:04 AlexApostolakis

Looks like we've all met the error. Do you have a good solution?

ThreeIcug avatar May 21 '22 13:05 ThreeIcug

I try to use a different multilooking method instead of the default 'gdal' in mergeBursts.py, and it seems to works

Fei0906 avatar Jun 08 '22 13:06 Fei0906

This is now fixed in #500. Cheers!

yunjunz avatar Jun 21 '22 18:06 yunjunz