- edited description
Error
I get the error message below after processing around 50% of Sentinel imagery. There are only raster bands produced for one tile and the base file remains empty. However, the same operation works very well for Landsat.
Traceback (most recent call last):
File "/home/eike/.local/share/QGIS/QGIS3/profiles/default/python/plugins/force4qgis/force4qgis/task.py", line 168, in run
self.run_()
File "/home/eike/.local/share/QGIS/QGIS3/profiles/default/python/plugins/force4qgis/force4qgis/task.py", line 179, in run_
outputTileFilenames, outputMosaicFilenames = main(
File "/home/eike/.local/share/QGIS/QGIS3/profiles/default/python/plugins/force4qgis/force4qgis/script.py", line 610, in main
outputFilenames = result.compute(
File "/home/eike/.local/share/QGIS/QGIS3/profiles/default/python/plugins/force4qgis/hubforce/core/raster/rastercollection.py", line 109, in compute
return computeRasterCollection(
File "/home/eike/.local/share/QGIS/QGIS3/profiles/default/python/plugins/force4qgis/hubforce/core/delayed/compute.py", line 110, in computeRasterCollection
for ijob, result in enumerate(results):
File "/home/eike/.local/share/QGIS/QGIS3/profiles/default/python/plugins/force4qgis/hubforce/core/delayed/compute.py", line 204, in computeBlock
bandArray = gdalBand.readAsArray(grid=args.block, resampleAlg=band.resampling.gdalCode)
File "/home/eike/.local/share/QGIS/QGIS3/profiles/default/python/plugins/force4qgis/hubforce/core/raster/gdalband.py", line 70, in readAsArray
array = self.gdalBand.ReadAsArray(
File "/usr/lib/python3/dist-packages/osgeo/gdal.py", line 2537, in ReadAsArray
return gdalnumeric.BandReadAsArray(self, xoff, yoff,
File "/usr/lib/python3/dist-packages/osgeo/gdal_array.py", line 355, in BandReadAsArray
_RaiseException()
File "/usr/lib/python3/dist-packages/osgeo/gdal_array.py", line 195, in _RaiseException
raise RuntimeError(gdal.GetLastErrorMsg())
RuntimeError: Traceback (most recent call last):
File "/home/eike/.local/share/QGIS/QGIS3/profiles/default/python/plugins/force4qgis/hubforce/core/delayed/singlebandpixelfunction.py", line 111, in singleBandPixelFunction
ar, noDataValue = readAsArray(
File "/home/eike/.local/share/QGIS/QGIS3/profiles/default/python/plugins/force4qgis/hubforce/core/delayed/singlebandpixelfunction.py", line 203, in readAsArray
ar = rb.ReadAsArray(
File "/usr/lib/python3/dist-packages/osgeo/gdal.py", line 2537, in ReadAsArray
return gdalnumeric.BandReadAsArray(self, xoff, yoff,
File "/usr/lib/python3/dist-packages/osgeo/gdal_array.py", line 355, in BandReadAsArray
_RaiseException()
File "/usr/lib/python3/dist-packages/osgeo/gdal_array.py", line 195, in _RaiseException
raise RuntimeError(gdal.GetLastErrorMsg())
RuntimeError: /home/eike/Desktop/thesis_forst/force_tiles/X0070_Y0037/20180919_LEVEL2_SEN2A_BOA.tif, band 1: IReadBlock failed at X offset 0, Y offset 0: TIFFReadEncodedStrip() failed.
I am using:
QGIS version
3.18.2-Zürich
QGIS code revision
515138c171
Compiled against Qt
5.12.8
Running against Qt
5.12.8
Compiled against GDAL/OGR
3.0.4
Running against GDAL/OGR
3.0.4
Compiled against GEOS
3.8.0-CAPI-1.13.1
Running against GEOS
3.8.0-CAPI-1.13.1
Compiled against SQLite
3.31.1
Running against SQLite
3.31.1
Compiled against PDAL
2.0.1
Running against PDAL
2.0.1 (git-version: Release)
PostgreSQL Client Version
12.6 (Ubuntu 12.6-0ubuntu0.20.04.1)
SpatiaLite Version
4.3.0a
QWT Version
6.1.4
QScintilla2 Version
2.11.2
Compiled against PROJ
6.3.1
Running against PROJ
Rel. 6.3.1, February 10th, 2020
OS Version
Ubuntu 20.04.2 LTS
Active python plugins
force4qgis;
enmapboxplugin;
db_manager;
processing;
MetaSearch
Comments (4)
-
reporter -
reporter - edited description
-
reporter - edited description
-
- changed status to closed
dataset was corrupted
- Log in to comment