SCP: download products not working
johnyPistolet opened this issue · 7 comments
Hello, @semiautomaticgit !
I'm trying to download sentinel and landsat images via SCP.
I search for images, select some of them in the table, press RUN - then some sound played immediately and nothing occurs.
I also try to "Export download links to text file" - with the same result.
I try 8.2.0 version of SCP. My QGIS is 3.28.14, I have latest remotior sensus installed(0.3.5).
I don't use proxy
My OS is Windows 10 - fresh installation, it was installed few days ago especially for QGIS and SCP
Please, help me.
There are my python warnings:
2024-01-04T09:36:31 WARNING warning:C:\OSGeo4W\apps\Python39\lib\site-packages\remotior_sensus\core\log.py:77: ResourceWarning: unclosed file
logger.handlers.clear()
traceback: File "", line 1, in
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 448, in startPlugin
plugins[packageName].initGui()
File "C:\Users/conda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\semiautomaticclassificationplugin.py", line 528, in initGui
cfg.rs.set(log_level=20)
File "C:\OSGeo4W\apps\Python39\lib\site-packages\remotior_sensus\core\session.py", line 396, in set
self.configurations.logger = Log(
File "C:\OSGeo4W\apps\Python39\lib\site-packages\remotior_sensus\core\log.py", line 77, in __init__
logger.handlers.clear()
2024-01-04T09:38:09 WARNING warning:C:\OSGeo4W\apps\Python39\lib\site-packages\osgeo\osr.py:413: FutureWarning: Neither osr.UseExceptions() nor osr.DontUseExceptions() has been explicitly called. In GDAL 4.0, exceptions will be enabled by default.
warnings.warn(
traceback: File "C:\Users/conda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\map_pointers\download_products_pointer.py", line 44, in canvasReleaseEvent
self.rightClicked.emit(point)
File "C:\Users/conda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\interface\download_products_tab.py", line 152, in pointer_right_click
pointer_click_lr(point)
File "C:\Users/conda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\interface\download_products_tab.py", line 160, in pointer_click_lr
point_proj = cfg.utils.project_qgis_point_coordinates(
File "C:\Users/conda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\core\utils.py", line 442, in project_qgis_point_coordinates
input_sr = osr.SpatialReference()
File "C:\OSGeo4W\apps\Python39\lib\site-packages\osgeo\osr.py", line 1031, in __init__
_WarnIfUserHasNotSpecifiedIfUsingExceptions()
File "C:\OSGeo4W\apps\Python39\lib\site-packages\osgeo\osr.py", line 413, in _WarnIfUserHasNotSpecifiedIfUsingExceptions
warnings.warn(
2024-01-04T09:39:08 WARNING warning:C:\OSGeo4W\apps\Python39\lib\site-packages\remotior_sensus\tools\download_products.py:526: ResourceWarning: unclosed
delete_copernicus_token(
traceback: File "C:\Users/conda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\interface\download_products_tab.py", line 282, in find_images
perform_query()
File "C:\Users/conda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\interface\download_products_tab.py", line 328, in perform_query
output = cfg.rs.download_products.search(
File "C:\OSGeo4W\apps\Python39\lib\site-packages\remotior_sensus\tools\download_products.py", line 98, in search
result = query_sentinel_2_database(
File "C:\OSGeo4W\apps\Python39\lib\site-packages\remotior_sensus\tools\download_products.py", line 526, in query_sentinel_2_database
delete_copernicus_token(
2024-01-04T09:40:36 WARNING warning:C:\OSGeo4W\apps\Python39\lib\site-packages\remotior_sensus\tools\download_products.py:1171: ResourceWarning: unclosed
delete_copernicus_token(
traceback: File "C:\Users/conda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\interface\download_products_tab.py", line 609, in download_images_action
download_images(exporter=False)
File "C:\Users/conda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\interface\download_products_tab.py", line 717, in download_images
output = cfg.rs.download_products.download(
File "C:\OSGeo4W\apps\Python39\lib\site-packages\remotior_sensus\tools\download_products.py", line 1171, in download
delete_copernicus_token(
2024-01-04T09:49:37 WARNING warning:C:\OSGeo4W\apps\Python39\lib\site-packages\remotior_sensus\tools\download_products.py:1171: ResourceWarning: unclosed
delete_copernicus_token(
traceback: File "C:\Users/conda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\interface\download_products_tab.py", line 614, in export_links
download_images(exporter=True)
File "C:\Users/conda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\interface\download_products_tab.py", line 717, in download_images
output = cfg.rs.download_products.download(
File "C:\OSGeo4W\apps\Python39\lib\site-packages\remotior_sensus\tools\download_products.py", line 1171, in download
delete_copernicus_token(
Hello @johnyPistolet , it seems an installation issue.
Please enable "Records detailed events in a log file" and copy the log file as described here https://semiautomaticclassificationmanual.readthedocs.io/en/latest/faq.html#how-can-i-report-an-error
I search for images, select some of them in the table, press RUN - then some sound played immediately and nothing occurs.
It is not sufficient to select, you should add the previews in QGIS layers.
This is my logs:
INFO|2024-01-04T12:38:15.922|system_tools|get_system_info|38|version:0.3.5; system: Windows; 64bit: True; n_processes: 2; ram: 10; temp.dir: C:\Users\conda\AppData\Local\Temp\remotior_sensus_0104qlaaa_rv
INFO|2024-01-04T12:41:05.382|download_products_tab|perform_query|300|perform_query product_name: Landsat_HLS
INFO|2024-01-04T12:41:05.429|download_products|query_nasa_cmr|1394|start
INFO|2024-01-04T12:41:06.301|download_products|query_nasa_cmr|1541|end
INFO|2024-01-04T12:46:23.758|download_products|download|650|start
INFO|2024-01-04T12:47:30.595|session|set|421|n_processes: 2; ram: 10; temp.dir: C:\Users\conda\AppData\Local\Temp\remotior_sensus_0104qlaaa_rv
I search for images, select some of them in the table, press RUN - then some sound played immediately and nothing occurs.
It is not sufficient to select, you should add the previews in QGIS layers.
Yes, I checked "Load bands in QGIS".
Images are not downloaded to folder and they are not loaded to QGIS
Yes, I checked "Load bands in QGIS". Images are not downloaded to folder and they are not loaded to QGIS
No, this options loads the downloaded bands in QGIS.
I mean to uncheck "Only if preview in Layers" if you didn't add the preview using the button.
Please read https://semiautomaticclassificationmanual.readthedocs.io/en/latest/download_products_tab.html#download
Yes, that was the issue! I added preview image to my map and now everything are downloaded!
Thank you a lot for your help!
Yes, that was the issue! I added preview image to my map and now everything are downloaded! Thank you a lot for your help!
You are very welcome! I'm glad it worked.