[GEE Time Series Explorer app] Spectral Indices default selection isn't updated correctly
Issue #1306
resolved
How to reproduce:
- load Landsat 9
- load Sentinel-1 → gives error
Traceback (most recent call last):
File "D:\source\QGISPlugIns\enmap-box\enmapbox\coreapps\geetimeseriesexplorerapp\geetemporalprofiledockwidget.py", line 560, in onCollectionChanged
self.updateLegend()
File "D:\source\QGISPlugIns\enmap-box\enmapbox\coreapps\geetimeseriesexplorerapp\geetemporalprofiledockwidget.py", line 600, in updateLegend
[f'{key} = {self.mainDock.eeFullCollectionInfo.wavebandMapping[key]}'
File "D:\source\QGISPlugIns\enmap-box\enmapbox\coreapps\geetimeseriesexplorerapp\geetemporalprofiledockwidget.py", line 600, in <listcomp>
[f'{key} = {self.mainDock.eeFullCollectionInfo.wavebandMapping[key]}'
KeyError: 'N'
Comments (3)
-
reporter -
reporter Done - disabled unavailable indices
-
reporter - changed status to resolved
- Log in to comment
Also, disable all indices that aren’t covered by the given wavebandMapping: