Classifier performance report error

Issue #1082 resolved
Andreas Janz created an issue

Algorithm 'Classifier performance report' starting…

Input parameters:
{ 
  'classifier' : 'C:/Users/Andreas/AppData/Local/Temp/processing_lUNCXL\\304d8974c66946e791c23aef3629a87e\\classifier.pkl', 
  'dataset' : 'D:/source/QGISPlugIns/enmap-box/tests/testdata/classification_dataset.pkl', 
  'nfold' : 10, 
  'openReport' : True, 
  'outputClassifierPerformance' : 'C:\\Users\\Andreas\\AppData\\Local\\Temp\\EnMAPBox\\ClassificationWorkflow\\classifier_performance_report_9.html' 
}
Traceback (most recent call last):
File "D:\source\QGISPlugIns\enmap-box\site-packages\typeguard\__init__.py", line 903, in wrapper
retval = func(*args, **kwargs)
File "D:\source\QGISPlugIns\enmap-box\enmapboxprocessing\algorithm\translaterasteralgorithm.py", line 275, in processAlgorithm
outGdalDataset: gdal.Dataset = gdal.Translate(
File "C:\QGIS\apps\Python39\lib\site-packages\GDAL-3.4.1-py3.9-win-amd64.egg\osgeo\gdal.py", line 457, in Translate
return TranslateInternal(destName, srcDS, opts, callback, callback_data)
File "C:\QGIS\apps\Python39\lib\site-packages\GDAL-3.4.1-py3.9-win-amd64.egg\osgeo\gdal.py", line 4189, in TranslateInternal
return _gdal.TranslateInternal(*args)
RuntimeError: Error: Computed -srcwin 0 0 1 -58 has negative width and/or height.

Comments (3)

  1. Andreas Janz reporter

    This is most likely because of changes in handling non-spatial raster (aka pseudo-images).

  2. Log in to comment