Open MathieuChailloux opened 3 months ago
@XavierKoenig Pouvez-vous m'envoyer le texte du journal avec le mode debug activé ?
En première lecture cela ressemble à une opération intermédiaire qui s'est mal passée (découpage de la couche d'entrée) mais qui n'a pas directement provoqué une erreur.
@MathieuChailloux sure, voila:
[2024-05-21 20:41:55] [info] Debug mode activated [2024-05-21 20:41:59] [debug] [loadNTab] 3 [2024-05-21 20:41:59] [debug] Help file = C:\Users/xavier/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\help\reportingHelp-en.html [2024-05-21 20:41:59] [debug] path = C:\Users\xavier\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\FragScape\help\reportingHelp-en.html [2024-05-21 20:41:59] [debug] pathparts = ('C:\', 'Users', 'xavier', 'AppData', 'Roaming', 'QGIS', 'QGIS3', 'profiles', 'default', 'python', 'plugins', 'FragScape', 'help', 'reportingHelp-en.html') [2024-05-21 20:42:03] [debug] unit = 0 [2024-05-21 20:42:03] [info] **** BEGIN : Reporting layer computation [2024-05-21 20:42:03] [debug] input_layer = C:/IOGA_Post_Stage/Operation Files/1. Fragmentation/Frag_2020/outputs/landuseFragm.tif [2024-05-21 20:42:03] [debug] CBC mode = True [2024-05-21 20:42:03] [debug] results_path = C:\IOGA_Post_Stage\Operation Files\1. Fragmentation\Frag_2020\Frag_Districts_2020.gpkg [2024-05-21 20:42:03] [debug] layer : 2020_LC_FINAL [2024-05-21 20:42:03] [debug] layer : Buff_0Islt [2024-05-21 20:42:03] [debug] layer : Districts_No_IsletsF [2024-05-21 20:42:03] [debug] layer : gis_osm_roads_free_1 [2024-05-21 20:42:03] [debug] layer : landuseFragm [2024-05-21 20:42:03] [debug] layer : landuseSelectionWarp [2024-05-21 20:42:03] [debug] layer : 2020_LC_FINAL [2024-05-21 20:42:03] [debug] layer : Buff_0Islt [2024-05-21 20:42:03] [debug] layer : Districts_No_IsletsF [2024-05-21 20:42:03] [debug] layer : gis_osm_roads_free_1 [2024-05-21 20:42:03] [debug] layer : landuseFragm [2024-05-21 20:42:03] [debug] layer : landuseSelectionWarp [2024-05-21 20:42:03] [debug] parameters : {'INPUT': 'C:/IOGA_Post_Stage/Operation Files/1. Fragmentation/Frag_2020/outputs/landuseFragm.tif', 'CLASS': 1, 'REPORTING': 'C:\IOGA_Post_Stage\Operation Files\1. Fragmentation\Source\Districts_No_IsletsF.shp', 'UNIT': 0, 'OUTPUT': 'C:\IOGA_Post_Stage\Operation Files\1. Fragmentation\Frag_2020\Frag_Districts_2020.gpkg'} [2024-05-21 20:42:03] [info] Calling processing algorithm 'FragScape:meffRasterCBC' [2024-05-21 20:42:03] [debug] context = None [2024-05-21 20:42:03] [debug] complete_name = FragScape:meffRasterCBC [2024-05-21 20:42:03] [debug] feedback = ProgressMultiStepFeedback [2024-05-21 20:42:03] [debug] parameters = {'CLASS': 1, 'INPUT': 'C:/IOGA_Post_Stage/Operation Files/1. Fragmentation/Frag_2020/outputs/landuseFragm.tif', 'OUTPUT': 'C:\IOGA_Post_Stage\Operation Files\1. Fragmentation\Frag_2020\Frag_Districts_2020.gpkg', 'REPORTING': 'C:\IOGA_Post_Stage\Operation Files\1. Fragmentation\Source\Districts_No_IsletsF.shp', 'UNIT': 0} [2024-05-21 20:42:03] [debug] unit = 0 [2024-05-21 20:42:03] [debug] unit_divisor = 1 [2024-05-21 20:42:03] [debug] nodata = 255.0 [2024-05-21 20:42:03] [debug] Pixel area 10.0 x 10.0 = 100.0 [2024-05-21 20:42:03] [debug] parameters = {'ALPHA_BAND': False, 'CROP_TO_CUTLINE': True, 'DATA_TYPE': 0, 'INPUT': 'C:/IOGA_Post_Stage/Operation Files/1. Fragmentation/Frag_2020/outputs/landuseFragm.tif', 'KEEP_RESOLUTION': True, 'MASK': , 'NODATA': 255.0, 'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif'} [2024-05-21 20:42:03] [debug] parameters : {'ALPHA_BAND': False, 'CROP_TO_CUTLINE': True, 'DATA_TYPE': 0, 'INPUT': 'C:/IOGA_Post_Stage/Operation Files/1. Fragmentation/Frag_2020/outputs/landuseFragm.tif', 'KEEP_RESOLUTION': True, 'MASK': , 'NODATA': 255.0, 'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif'} [2024-05-21 20:42:03] [info] Calling processing algorithm 'gdal:cliprasterbymasklayer' [2024-05-21 20:42:03] [debug] context = None [2024-05-21 20:42:03] [debug] complete_name = gdal:cliprasterbymasklayer [2024-05-21 20:42:03] [debug] feedback = ProgressMultiStepFeedback [2024-05-21 20:42:03] [info] GDAL command: [2024-05-21 20:42:03] [debug] gdalwarp -of GTiff -tr 10.0 -10.0 -tap -cutline "C:\IOGA_Post_Stage\Operation Files\1. Fragmentation\Source\Districts_No_IsletsF.shp" -cl Districts_No_IsletsF -crop_to_cutline -dstnodata 255.0 "C:/IOGA_Post_Stage/Operation Files/1. Fragmentation/Frag_2020/outputs/landuseFragm.tif" C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif [2024-05-21 20:42:03] [info] GDAL command output: [2024-05-21 20:42:03] [internal error] ERROR 1: Cutline feature without a geometry. [2024-05-21 20:42:03] [debug] bioDispHook [2024-05-21 20:42:03] [debug] Ignoring custom exception : ERROR 1: Cutline feature without a geometry. [2024-05-21 20:42:03] [debug] [loadNTab] 4 [2024-05-21 20:42:03] [debug] Help file = C:\Users/xavier/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\help\logHelp-en.html [2024-05-21 20:42:03] [debug] path = C:\Users\xavier\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\FragScape\help\logHelp-en.html [2024-05-21 20:42:03] [debug] pathparts = ('C:\', 'Users', 'xavier', 'AppData', 'Roaming', 'QGIS', 'QGIS3', 'profiles', 'default', 'python', 'plugins', 'FragScape', 'help', 'logHelp-en.html') [2024-05-21 20:42:03] [info] Results: {'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif'} [2024-05-21 20:42:03] [debug] res1 = {'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif'} [2024-05-21 20:42:03] [info] Call to cliprasterbymasklayer successful, performed in 0.3100745677947998 seconds [2024-05-21 20:42:03] [debug] res = {'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif'} [2024-05-21 20:42:03] [debug] output = C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif [2024-05-21 20:42:03] [debug] output type = [2024-05-21 20:42:03] [debug] End run cliprasterbymasklayer [2024-05-21 20:42:03] [debug] nodata = 255.0 [2024-05-21 20:42:03] [debug] input = C:/IOGA_Post_Stage/Operation Files/1. Fragmentation/Frag_2020/outputs/landuseFragm.tif [2024-05-21 20:42:03] [debug] input = C:/IOGA_Post_Stage/Operation Files/1. Fragmentation/Frag_2020/outputs/landuseFragm.tif [2024-05-21 20:42:04] [debug] new_array1 = [[255 255 255 ... 255 255 255] [255 255 255 ... 255 255 255] [255 255 255 ... 255 255 255] ... [255 255 255 ... 255 255 255] [255 255 255 ... 255 255 255] [255 255 255 ... 255 255 255]] [2024-05-21 20:42:04] [debug] new_array2 = [[0 0 0 ... 0 0 0] [0 0 0 ... 0 0 0] [0 0 0 ... 0 0 0] ... [0 0 0 ... 0 0 0] [0 0 0 ... 0 0 0] [0 0 0 ... 0 0 0]] [2024-05-21 20:42:04] [debug] labeled_array = [[0 0 0 ... 0 0 0] [0 0 0 ... 0 0 0] [0 0 0 ... 0 0 0] ... [0 0 0 ... 0 0 0] [0 0 0 ... 0 0 0] [0 0 0 ... 0 0 0]] [2024-05-21 20:42:04] [debug] nb_patches = 2796 [2024-05-21 20:42:04] [debug] patches_len = [ 70 38 115847 ... 487 82 17] [2024-05-21 20:42:04] [debug] nb_pix = 18624263 [2024-05-21 20:42:04] [debug] report_layer = [2024-05-21 20:42:04] [debug] nb_feats = 12 [2024-05-21 20:42:04] [debug] parameters : {'INPUT': , 'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/e5b9b970735e4cb68195ef17bddd1f93/reportingFeature0.gpkg'} [2024-05-21 20:42:04] [info] Calling processing algorithm 'native:saveselectedfeatures' [2024-05-21 20:42:04] [debug] context = None [2024-05-21 20:42:04] [debug] complete_name = native:saveselectedfeatures [2024-05-21 20:42:04] [debug] feedback = ProgressMultiStepFeedback [2024-05-21 20:42:04] [info] Results: {'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/e5b9b970735e4cb68195ef17bddd1f93/reportingFeature0.gpkg'} [2024-05-21 20:42:04] [debug] res1 = {'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/e5b9b970735e4cb68195ef17bddd1f93/reportingFeature0.gpkg'} [2024-05-21 20:42:04] [info] Call to saveselectedfeatures successful, performed in 0.05388593673706055 seconds [2024-05-21 20:42:04] [debug] res = {'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/e5b9b970735e4cb68195ef17bddd1f93/reportingFeature0.gpkg'} [2024-05-21 20:42:04] [debug] output = C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/e5b9b970735e4cb68195ef17bddd1f93/reportingFeature0.gpkg [2024-05-21 20:42:04] [debug] output type = [2024-05-21 20:42:04] [debug] End run saveselectedfeatures [2024-05-21 20:42:04] [debug] loadVectorLayer C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/e5b9b970735e4cb68195ef17bddd1f93/reportingFeature0.gpkg [2024-05-21 20:42:04] [debug] path = C:\Users\xavier\AppData\Local\Temp\processing_dxDudU\e5b9b970735e4cb68195ef17bddd1f93\reportingFeature0.gpkg [2024-05-21 20:42:04] [debug] pathparts = ('C:\', 'Users', 'xavier', 'AppData', 'Local', 'Temp', 'processing_dxDudU', 'e5b9b970735e4cb68195ef17bddd1f93', 'reportingFeature0.gpkg') [2024-05-21 20:42:04] [debug] layer : 2020_LC_FINAL [2024-05-21 20:42:04] [debug] layer : Buff_0Islt [2024-05-21 20:42:04] [debug] layer : Districts_No_IsletsF [2024-05-21 20:42:04] [debug] layer : gis_osm_roads_free_1 [2024-05-21 20:42:04] [debug] layer : landuseFragm [2024-05-21 20:42:04] [debug] layer : landuseSelectionWarp [2024-05-21 20:42:04] [debug] report_layer = reportingFeature0 [2024-05-21 20:42:04] [debug] parameters = {'ALPHA_BAND': False, 'CROP_TO_CUTLINE': True, 'DATA_TYPE': 0, 'INPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/88b23038128c4b71b3c88574ef6e9a01/labeled.tif', 'KEEP_RESOLUTION': True, 'MASK': , 'NODATA': 65535, 'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/5e97ec284aae4da298e14b35d3ec514e/labeled_clipped0.tif'} [2024-05-21 20:42:04] [debug] parameters : {'ALPHA_BAND': False, 'CROP_TO_CUTLINE': True, 'DATA_TYPE': 0, 'INPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/88b23038128c4b71b3c88574ef6e9a01/labeled.tif', 'KEEP_RESOLUTION': True, 'MASK': , 'NODATA': 65535, 'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/5e97ec284aae4da298e14b35d3ec514e/labeled_clipped0.tif'} [2024-05-21 20:42:04] [info] Calling processing algorithm 'gdal:cliprasterbymasklayer' [2024-05-21 20:42:04] [debug] context = None [2024-05-21 20:42:04] [debug] complete_name = gdal:cliprasterbymasklayer [2024-05-21 20:42:04] [debug] feedback = ProgressMultiStepFeedback [2024-05-21 20:42:05] [info] GDAL command: [2024-05-21 20:42:05] [debug] gdalwarp -of GTiff -tr 10.0 -10.0 -tap -cutline C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/e5b9b970735e4cb68195ef17bddd1f93/reportingFeature0.gpkg -cl reportingFeature0 -crop_to_cutline -dstnodata 65535.0 C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/88b23038128c4b71b3c88574ef6e9a01/labeled.tif C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/5e97ec284aae4da298e14b35d3ec514e/labeled_clipped0.tif [2024-05-21 20:42:05] [info] GDAL command output: [2024-05-21 20:42:05] [debug] Creating output file that is 1720P x 3601L. [2024-05-21 20:42:05] [debug] Processing C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/88b23038128c4b71b3c88574ef6e9a01/labeled.tif [1/1] : 0Using internal nodata values (e.g. 65535) for image C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/88b23038128c4b71b3c88574ef6e9a01/labeled.tif. [2024-05-21 20:42:05] [debug] ...10...20...30...40...50...60...70...80...90...100 - done. [2024-05-21 20:42:05] [info] Results: {'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/5e97ec284aae4da298e14b35d3ec514e/labeled_clipped0.tif'} [2024-05-21 20:42:05] [debug] res1 = {'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/5e97ec284aae4da298e14b35d3ec514e/labeled_clipped0.tif'} [2024-05-21 20:42:05] [info] Call to cliprasterbymasklayer successful, performed in 0.66070556640625 seconds [2024-05-21 20:42:05] [debug] res = {'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/5e97ec284aae4da298e14b35d3ec514e/labeled_clipped0.tif'} [2024-05-21 20:42:05] [debug] output = C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/5e97ec284aae4da298e14b35d3ec514e/labeled_clipped0.tif [2024-05-21 20:42:05] [debug] output type = [2024-05-21 20:42:05] [debug] End run cliprasterbymasklayer [2024-05-21 20:42:05] [debug] parameters : {'BAND': 1, 'INPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/5e97ec284aae4da298e14b35d3ec514e/labeled_clipped0.tif', 'OUTPUT_HTML_FILE': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/678a402c4c6e471b97e5d0c035d7e77c/OUTPUT_HTML_FILE.html', 'OUTPUT_TABLE': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/8312c5dfe9e04edf9bc5eb9779f9f483/OUTPUT_TABLE.gpkg'} [2024-05-21 20:42:05] [info] Calling processing algorithm 'native:rasterlayeruniquevaluesreport' [2024-05-21 20:42:05] [debug] context = None [2024-05-21 20:42:05] [debug] complete_name = native:rasterlayeruniquevaluesreport [2024-05-21 20:42:05] [debug] feedback = ProgressMultiStepFeedback [2024-05-21 20:42:05] [info] Results: {'CRS_AUTHID': 'EPSG:32740', 'EXTENT': '532140.0000000000000000,7734320.0000000000000000 : 549340.0000000000000000,7770330.0000000000000000', 'HEIGHT_IN_PIXELS': 3601, 'NODATA_PIXEL_COUNT': 3604704, 'OUTPUT_HTML_FILE': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/678a402c4c6e471b97e5d0c035d7e77c/OUTPUT_HTML_FILE.html', 'OUTPUT_TABLE': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/8312c5dfe9e04edf9bc5eb9779f9f483/OUTPUT_TABLE.gpkg', 'TOTAL_PIXEL_COUNT': 6193720, 'WIDTH_IN_PIXELS': 1720} [2024-05-21 20:42:05] [debug] res1 = {'CRS_AUTHID': 'EPSG:32740', 'EXTENT': '532140.0000000000000000,7734320.0000000000000000 : 549340.0000000000000000,7770330.0000000000000000', 'HEIGHT_IN_PIXELS': 3601, 'NODATA_PIXEL_COUNT': 3604704, 'OUTPUT_HTML_FILE': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/678a402c4c6e471b97e5d0c035d7e77c/OUTPUT_HTML_FILE.html', 'OUTPUT_TABLE': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/8312c5dfe9e04edf9bc5eb9779f9f483/OUTPUT_TABLE.gpkg', 'TOTAL_PIXEL_COUNT': 6193720, 'WIDTH_IN_PIXELS': 1720} [2024-05-21 20:42:05] [info] Call to rasterlayeruniquevaluesreport successful, performed in 0.13692975044250488 seconds [2024-05-21 20:42:05] [debug] res = {'CRS_AUTHID': 'EPSG:32740', 'EXTENT': '532140.0000000000000000,7734320.0000000000000000 : 549340.0000000000000000,7770330.0000000000000000', 'HEIGHT_IN_PIXELS': 3601, 'NODATA_PIXEL_COUNT': 3604704, 'OUTPUT_HTML_FILE': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/678a402c4c6e471b97e5d0c035d7e77c/OUTPUT_HTML_FILE.html', 'OUTPUT_TABLE': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/8312c5dfe9e04edf9bc5eb9779f9f483/OUTPUT_TABLE.gpkg', 'TOTAL_PIXEL_COUNT': 6193720, 'WIDTH_IN_PIXELS': 1720} [2024-05-21 20:42:05] [debug] End run rasterlayeruniquevaluesreport [2024-05-21 20:42:05] [debug] clip_report = {'CRS_AUTHID': 'EPSG:32740', 'EXTENT': '532140.0000000000000000,7734320.0000000000000000 : 549340.0000000000000000,7770330.0000000000000000', 'HEIGHT_IN_PIXELS': 3601, 'NODATA_PIXEL_COUNT': 3604704, 'OUTPUT_HTML_FILE': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/678a402c4c6e471b97e5d0c035d7e77c/OUTPUT_HTML_FILE.html', 'OUTPUT_TABLE': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/8312c5dfe9e04edf9bc5eb9779f9f483/OUTPUT_TABLE.gpkg', 'TOTAL_PIXEL_COUNT': 6193720, 'WIDTH_IN_PIXELS': 1720} [2024-05-21 20:42:05] [debug] parameters = {'ALPHA_BAND': False, 'CROP_TO_CUTLINE': True, 'DATA_TYPE': 0, 'INPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif', 'KEEP_RESOLUTION': True, 'MASK': , 'NODATA': 255, 'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/a5ddd843c4a04bbab0a52d6375902381/input_clipped_clipped0.tif'} [2024-05-21 20:42:05] [debug] parameters : {'ALPHA_BAND': False, 'CROP_TO_CUTLINE': True, 'DATA_TYPE': 0, 'INPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif', 'KEEP_RESOLUTION': True, 'MASK': , 'NODATA': 255, 'OUTPUT': 'C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/a5ddd843c4a04bbab0a52d6375902381/input_clipped_clipped0.tif'} [2024-05-21 20:42:05] [info] Calling processing algorithm 'gdal:cliprasterbymasklayer' [2024-05-21 20:42:05] [debug] context = None [2024-05-21 20:42:05] [debug] complete_name = gdal:cliprasterbymasklayer [2024-05-21 20:42:05] [debug] feedback = ProgressMultiStepFeedback [2024-05-21 20:42:05] [internal error] Unable to execute algorithm Could not load source layer for INPUT: C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif not found [2024-05-21 20:42:05] [debug] bioDispHook [2024-05-21 20:42:05] [debug] Ignoring custom exception : Unable to execute algorithm Could not load source layer for INPUT: C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif not found [2024-05-21 20:42:05] [warn] Failed to call cliprasterbymasklayer : Unable to execute algorithm Could not load source layer for INPUT: C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif not found [2024-05-21 20:42:05] [debug] End run cliprasterbymasklayer [2024-05-21 20:42:05] [warn] Failed to call meffRasterCBC : Unable to execute algorithm Could not load source layer for INPUT: C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif not found [2024-05-21 20:42:05] [debug] End run meffRasterCBC [2024-05-21 20:42:05] [debug] bioDispHook [2024-05-21 20:42:05] [debug] -------------------------------------------------------------------------------- QgsProcessingException : Unable to execute algorithm Could not load source layer for INPUT: C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif not found -------------------------------------------------------------------------------- [2024-05-21 20:42:05] [warn] Traceback : File "C:\Users/xavier/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\steps\reporting.py", line 243, in runReporting (res_layer, res_val) = self.model.runReportingWithContext(self.dlg.context,self.dlg.feedback) File "C:\Users/xavier/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\steps\reporting.py", line 147, in runReportingWithContext res = qgsTreatments.applyProcessingAlg('FragScape', File "C:\Users/xavier/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\qgis_lib_mc\qgsTreatments.py", line 103, in applyProcessingAlg raise e File "C:\Users/xavier/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\qgis_lib_mc\qgsTreatments.py", line 81, in applyProcessingAlg res = processing.run(complete_name,parameters,onFinish=no_post_process,context=context,feedback=feedback) File "C:\PROGRA~1/QGIS31~1.11/apps/qgis-ltr/./python/plugins\processing\tools\general.py", line 108, in run return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context) File "C:\PROGRA~1/QGIS31~1.11/apps/qgis-ltr/./python/plugins\processing\core\Processing.py", line 174, in runAlgorithm ret, results = execute(alg, parameters, context, feedback, catch_exceptions=False) File "C:\PROGRA~1/QGIS31~1.11/apps/qgis-ltr/./python/plugins\processing\gui\AlgorithmExecutor.py", line 71, in execute results, ok = alg.run(parameters, context, feedback, {}, False) [2024-05-21 20:42:05] [Unexpected error] -------------------------------------------------------------------------------- QgsProcessingException : Unable to execute algorithm Could not load source layer for INPUT: C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/92aaa90a6dec45ccab18fafc668c2f1d/input_clipped.tif not found --------------------------------------------------------------------------------
Je me permet de passer a l'anglais qui est plus facile pour moi:
Must there necessarily be a clipping of the original raster? I'm working on an island and the raster is already clipped to the island boundary. For extent, I added a buffer but will try again with the shapefile that clipped the raster.
Hi Xavier,
The important error is : ERROR 1: Cutline feature without a geometry. You should use a correct extent layer (using for instance dissolve or boundingboxes algorithms).
To this day you must have a reference layer so that all rasters are aligned. I'm thinking of an option using base land use layer as this reference.
Regards, Mathieu
Apres avoir suivi toutes les etapes du tutoriel sans probleme (mode Raster), quand j'arrive aux resultats j'obtiens cette erreur:
QgsProcessingException : Unable to execute algorithm Could not load source layer for INPUT: C:/Users/xavier/AppData/Local/Temp/processing_dxDudU/758eba9a8cb846da8fb3c984530fd67c/input_clipped.tif not found
Tous mes fichiers sont sur mon disque dur (Drive C), et j'ai re-installe le plugin a la version 2.0.6. Any advice? Merci par avance, Xavier
Originally posted by @XavierKoenig in https://github.com/MathieuChailloux/FragScape/issues/7#issuecomment-2122649532