Spectral profile error when switching to Nanometer

Issue #5 resolved
Fabian Thiel created an issue

Using the enmap box test dataset (so wavelength metadata should be fine):

In the spectral profile plot, switching from Band number to Nanometers causes a python error

2020-03-09T14:00:36     WARNING    Traceback (most recent call last):
              File "C:/Users/ThinkPad/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rasterdataplotting\rasterdataplotting\gui\rdpprofileplotwidgetbase.py", line 153, in resetData
              self.readAndPlotData()
              File "C:/Users/ThinkPad/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rasterdataplotting\rasterdataplotting\gui\rdpprofileplotwidgetbase.py", line 156, in readAndPlotData
              self.dataHandler.readAndPlot()
              File "C:/Users/ThinkPad/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rasterdataplotting\rasterdataplotting\gui\rdpprofileplotwidgetbase.py", line 324, in readAndPlot
              timeseries=profile.ui.axis().ui.date().timeseries())
             AttributeError: 'QComboBox' object has no attribute 'timeseries'

Comments (1)

  1. Log in to comment