run_12_merge_reference_secondary_slc
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!
Hi, wenguang0412, I also met this error today. Have you solved this?
Unfortunately, I have no solution to this problem at the moment, it has been bothering me for a long time
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.
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.
Looks like we've all met the error. Do you have a good solution?
I try to use a different multilooking method instead of the default 'gdal' in mergeBursts.py, and it seems to works
This is now fixed in #500. Cheers!