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

Layers are not generating correctly when using SAGA analysis tools #34559

Closed
Corydalus opened this issue Feb 19, 2020 · 4 comments
Closed

Layers are not generating correctly when using SAGA analysis tools #34559

Corydalus opened this issue Feb 19, 2020 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers

Comments

@Corydalus
Copy link

Running QGIS 3.10.2
I tried with GRASS 6 and 7, I also tried with a fresh new profile and a clean install.

When using a DEM for Terrain Analysis - Hydrology / Catchment area I get this error.. (full report from journal)

Is it a bug or an error on my part?
I did try using other DEMs, but mostly from the same source, could it be the DEM?

**Sorry for it being in french, if needed I can always change the language settings and submit the report again.

Version de QGIS : 3.10.2-A Coruña
Révision du code : d4cd3cf
Version de Qt : 5.11.2
Version de GDAL : 3.0.4
Version de GEOS : 3.8.0-CAPI-1.13.1
Version de Proj : Rel. 6.3.1, February 10th, 2020
Traitement de l'algorithme…
Démarrage de l'algorithme 'Catchment area'…
Paramètres en entrée:
{ 'ELEVATION' : 'W:/FRAI-2001 Restauration MH/3-Cartographie/ShapeFiles/MNT-31G06-partiel.tif', 'FLOW' : 'TEMPORARY_OUTPUT', 'METHOD' : 0 }

io_gdal 0 -TRANSFORM 1 -RESAMPLING 3 -GRIDS "C:/Users/achene/AppData/Local/Temp/processing_bd840958ac88455daf90bd0793967cb1/0bb04c052bc3434481a6e7c28df2718e/MNT31G06partiel.sgrd" -FILES "W:/FRAI-2001 Restauration MH/3-Cartographie/ShapeFiles/MNT-31G06-partiel.tif"
ta_hydrology "Flow Accumulation (Top-Down)" -ELEVATION "C:/Users/achene/AppData/Local/Temp/processing_bd840958ac88455daf90bd0793967cb1/0bb04c052bc3434481a6e7c28df2718e/MNT31G06partiel.sgrd" -METHOD 0 -FLOW "C:/Users/achene/AppData/Local/Temp/processing_bd840958ac88455daf90bd0793967cb1/80180c26b858478e8aaf95a732b20220/FLOW.sdat"

C:\OSGeo4W64\bin>set SAGA=C:/OSGEO4~1/apps\saga-ltr

C:\OSGeo4W64\bin>set SAGA_MLB=C:/OSGEO4~1/apps\saga-ltr\modules

C:\OSGeo4W64\bin>PATH=C:\OSGEO41\apps\qgis\bin;C:\OSGEO41\apps\Python37;C:\OSGEO41\apps\Python37\Scripts;C:\OSGEO41\apps\qt5\bin;C:\OSGEO41\apps\Python27\Scripts;C:\OSGEO41\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBem;C:\OSGEO41\apps\Python37\lib\site-packages\pywin32_system32;C:\OSGEO41\apps\Python37\lib\site-packages\numpy.libs;C:/OSGEO41/apps\saga-ltr;C:/OSGEO41/apps\saga-ltr\modules

C:\OSGeo4W64\bin>call saga_cmd io_gdal 0 -TRANSFORM 1 -RESAMPLING 3 -GRIDS "C:/Users/achene/AppData/Local/Temp/processing_bd840958ac88455daf90bd0793967cb1/0bb04c052bc3434481a6e7c28df2718e/MNT31G06partiel.sgrd" -FILES "W:/FRAI-2001 Restauration MH/3-Cartographie/ShapeFiles/MNT-31G06-partiel.tif"


## #####

### ##

# ## ## #### #

##### ## #

# ## ##### #

SAGA Version: 2.3.2 (64 bit)


library path: C:\OSGEO4~1\apps\saga-ltr\modules
library name: io_gdal
library : GDAL/OGR
tool : Import Raster
author : O.Conrad (c) 2007 (A.Ringeler)
processors : 8 [8]


Parameters

Grids: No objects
Files: "W:/FRAI-2001 Restauration MH/3-Cartographie/ShapeFiles/MNT-31G06-partiel.tif"
Select from Multiple Bands:
Alphanumeric Sorting: yes
Transformation: yes
Resampling: B-Spline Interpolation

loading: W:/FRAI-2001 Restauration MH/3-Cartographie/ShapeFiles/MNT-31G06-partiel.tif

Driver: GTiff

Bands: 1

Rows: 4629

Columns: 2719

Transformation:

x' = -8280827.453500 + x * 1.415545 + y * 0.000000

y' = 5744816.989000 + x * 0.000000 + y * -1.450936

loading: MNT-31G06-partiel

warning: top-to-bottom and left-to-right cell sizes differ.
Difference: 0.035391

using cellsize: 1.415545

C:\OSGeo4W64\bin>call saga_cmd ta_hydrology "Flow Accumulation (Top-Down)" -ELEVATION "C:/Users/achene/AppData/Local/Temp/processing_bd840958ac88455daf90bd0793967cb1/0bb04c052bc3434481a6e7c28df2718e/MNT31G06partiel.sgrd" -METHOD 0 -FLOW "C:/Users/achene/AppData/Local/Temp/processing_bd840958ac88455daf90bd0793967cb1/80180c26b858478e8aaf95a732b20220/FLOW.sdat"


## #####

### ##

# ## ## #### #

##### ## #

# ## ##### #

SAGA Version: 2.3.2 (64 bit)


library path: C:\OSGEO4~1\apps\saga-ltr\modules
library name: ta_hydrology
library : Hydrology
tool : Flow Accumulation (Top-Down)
author : O.Conrad (c) 2001-2016, T.Grabs portions (c) 2010
processors : 8 [8]


Load grid: C:/Users/achene/AppData/Local/Temp/processing_bd840958ac88455daf90bd0793967cb1/0bb04c052bc3434481a6e7c28df2718e/MNT31G06partiel.sgrd...

Parameters

Grid system: 1.415545; 4629x 2787y; -8280826.745727x 5740872.618668y
Elevation: MNT31G06partiel
Sink Routes:
Weights:
Flow Accumulation: Flow Accumulation
Input for Mean over Catchment:
Material for Accumulation:
Step: 1
Flow Accumulation Unit: cell area
Flow Path Length:
Channel Direction:
Method: Deterministic 8
Thresholded Linear Flow: no

C:\OSGeo4W64\bin>exit
Exécution terminée en 33.20 secondes
Résultats:
{'FLOW': 'C:/Users/achene/AppData/Local/Temp/processing_bd840958ac88455daf90bd0793967cb1/80180c26b858478e8aaf95a732b20220/FLOW.sdat'}

Chargement des couches de résultat
Les couches suivantes n'ont pas été générées correctement.

  • C:/Users/achene/AppData/Local/Temp/processing_bd840958ac88455daf90bd0793967cb1/d37808ccf9304336b56f1258377016b6/FLOW.sdat
Vous pouvez vérifier le Panel de messages du journal dans la fenêtre principale de QGIS pour trouver plus d'informations à propos de l'exécution de l'algorithme.

@Corydalus Corydalus added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Feb 19, 2020
@gioman
Copy link
Contributor

gioman commented Feb 20, 2020

Is it a bug or an error on my part?
I did try using other DEMs, but mostly from the same source, could it be the DEM?

@Corydalus please attach/link your DEM.

@gioman gioman added the Feedback Waiting on the submitter for answers label Feb 20, 2020
@Corydalus
Copy link
Author

Here is a sample from the main DEM. I could not upload more than 10 Mb so I had to use the raster extraction tool.
Thanks for taking the time!
DEM_sample.zip

@gioman
Copy link
Contributor

gioman commented Feb 20, 2020

When using a DEM for Terrain Analysis - Hydrology / Catchment area I get this error.. (full report from journal)

@Corydalus works here

Peek 2020-02-20 18-06

The error message at the end is #29346

@alexbruy
Copy link
Contributor

I think it can be closed as duplicate.

@gioman gioman closed this as completed Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers
Projects
None yet
Development

No branches or pull requests

3 participants