semiautomaticgit/SemiAutomaticClassificationPlugin

SCP won't read bands

Bronzeager opened this issue · 6 comments

Hello.

I've been encountering an issue while trying to perform DOS1 correction on Landsat 5 and Landsat 8 images using the QGIS SemiAutomaticClassificationPlugin. I've tried this on both Bialoweza and Firenze versions of QGIS. The plugin is not recognizing any bands in the specified file. This issue started after the recent update of the plugin.

Before the update, everything worked smoothly. However, post-update, I received errors indicating the need for additional Python modules, including Remotior Sensus and another module, which I then installed manually. This resolved the initial error, but the issue with the plugin not detecting bands in the file persists.

I have tested this on multiple computers with the same outcome. Notably, I was able to create a bandset, so the data itself seems to be fine. It appears to be a specific issue with the plugin's functionality post-update.

Any assistance or suggestions to resolve this would be greatly appreciated.

Thank you.

bilde

Hello @Bronzeager ,

thank you for reporting this.

I've been encountering an issue while trying to perform DOS1 correction on Landsat 5 and Landsat 8 images using the QGIS SemiAutomaticClassificationPlugin.

What is the source collection of Landsat images?
Also, could you check if the metadata xml file is inside the image directory?

Also, please copy the log file following these steps https://semiautomaticclassificationmanual.readthedocs.io/en/latest/faq.html#how-can-i-report-an-error

I was having the same issue with clipped Landsat8 images from Earth Explorer. The clipped files were in a different directory than the original images and associated metadata files.

Moving the LC08_..._MTL.xml file into the same directory as the images I was preprocessing (i.e, my clipped Landsat images) resolved the issue for me. Adding the file using the Select metadata file (optional) option did not work.