Spectral Resampling Error

Issue #1093 resolved
Benjamin Jakimow created an issue

Spectral Resampling throws an error in D:\Repositories\enmap-box\enmapboxprocessing\rasterwriter.py

File "D:\Repositories\enmap-box\site-packages\typeguard\__init__.py", line 903, in wrapper
retval = func(*args, **kwargs)
File "D:\Repositories\enmap-box\enmapboxprocessing\algorithm\spectralresamplingbyresponsefunctionconvolutionalgorithmbase.py", line 164, in processAlgorithm
writer.close()
File "D:\Repositories\enmap-box\enmapboxprocessing\rasterwriter.py", line 189, in close
self.gdalDataset.FlushCache()
File "D:\OSGeo4W\apps\Python39\lib\site-packages\GDAL-3.4.1-py3.9-win-amd64.egg\osgeo\gdal.py", line 2196, in FlushCache
return _gdal.Dataset_FlushCache(self, *args)
RuntimeError: PredictorSetup:Horizontal differencing "Predictor" not supported with 64-bit samples

How to reproduce:

  1. Run test case test_spectralProcessingDialog in tests/src/test_spectral_processing.py (ensure that environmental variable CI=False!) to open EnMAP-Box with speclib and start the SpectralProcessingDialog
  2. Select “Spectral resampling (to Landsat 8/9 OLI) "enmapbox:SpectralResamplingToLandsat89Oli" and define an output field “Landsat”:

    3. Run algorithm

Comments (2)

  1. Log in to comment