Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sentinel 2 Sensor Not Showing in IVVRM #1043

Open
AlfredLawrence opened this issue Dec 2, 2024 · 1 comment
Open

Sentinel 2 Sensor Not Showing in IVVRM #1043

AlfredLawrence opened this issue Dec 2, 2024 · 1 comment

Comments

@AlfredLawrence
Copy link

Good morning,
I apologize if this is not the place to ask this question. I successfully use Enmap Box on a Desktop pc within QGis and now I need to use it on laptop pc as well. However, the Sentinel 2 sensor spectrum in the tool with ProSAIL is not shown and I am getting the following error:
" WARNING Traceback (most recent call last):
File "C:\Users\loren\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\apps\lmuvegetationapps\IVVRM\IVVRM_GUI.py", line 656, in
lambda: self.select_s2s(sensor_index=self.gui.SType_combobox.currentIndex())) # Sensor Type combobox
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\loren\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\apps\lmuvegetationapps\IVVRM\IVVRM_GUI.py", line 365, in select_s2s
sensor_init_success = s2s.init_sensor()
^^^^^^^^^^^^^^^^^
File "C:\Users\loren\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\apps\lmuvegetationapps\Resources\Spec2Sensor\Spec2Sensor_core.py", line 80, in init_sensor
self.fwhm = srf_file['sensor_fwhm'] # deprecated
~~~~~~~~^^^^^^^^^^^^^^^
File "C:\OSGeo4W\apps\Python312\Lib\site-packages\numpy\lib\npyio.py", line 263, in getitem
raise KeyError(f"{key} is not a file in the archive")
KeyError: 'sensor_fwhm is not a file in the archive'
"

I have tried several times to reinstall it but it keeps giving me this error. How could I solve it?
I thank you sincerely for your time and apologize for the disturbance
S2_Spectrum Not Showing Python Error
S2_Spectrum Not Showing

@janzandr
Copy link
Contributor

janzandr commented Dec 3, 2024

@steffi1296 can you help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants