Bug report #9150

SAGA raster calculator fails when used in a processing model

Added by Marcel Foelsch almost 11 years ago. Updated over 9 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/Core
Affected QGIS version:2.0.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:17783

Description

When I'm using the raster caculator without the modeler it works fine. When I'm using the saga raster calculator in my model I always get the messege: "Oooops! The following output layers could not be open test: C:\\Users\\miller\\AppData\\Local\\Temp\\processing\\4a78580e485a40d199a2fa138960042c\\R‌​ESULTALG2.tif" –

By the way some weeks ago everything worked fine.

model.model (1.73 KB) Marcel Foelsch, 2013-12-02 06:07 AM

test.model (939 Bytes) Steffen Ehrmann, 2014-06-12 11:12 PM

History

#1 Updated by Giovanni Manghi almost 11 years ago

  • Target version set to Future Release - High Priority
  • Category set to 94
  • Status changed from Open to Feedback

please configure processing to leave the Window open after it runs a module so you can access directly the log and then copy/paste here :)

#2 Updated by Marcel Foelsch almost 11 years ago

Sorry...it's my first ticket.

log:

Algorithm FoeSys_50_50 starting...
Prepare algorithm 0: Shapes to grid
Running Shapes to grid [1/3]
Parameters: INPUT =C:/Dropbox/Datenaustausch/KUNDENDATEN/Warnstedt_SysFoe/Betriebsübergreifend/Em38_AGW.shp, FIELD =wert_proz, MULTIPLE =0, LINE_TYPE =0, GRID_TYPE =0, OUTPUT_EXTENT =4433189.21591,4439536.05913,5734585.59281,5740216.95454, USER_SIZE =10
grid_gridding "Shapes to Grid" -INPUT "C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\0e7ab1b86b1c48ecba1c47a359edd9da\\Em38AGW.shp" -FIELD "wert_proz" -MULTIPLE 0 -LINE_TYPE 0 -GRID_TYPE 0 -USER_XMIN 4433194.21591 -USER_XMAX 4439531.05913 -USER_YMIN 5734590.59281 -USER_YMAX 5740211.95454 -USER_SIZE 10 -USER_GRID "C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\853e6f5d8a56423d942a9a03274e98d0\\USERGRID.tif.sgrd" 

C:\\PROGRA~1\\QGISDU~1\\bin>set SAGA=C:/OSGeo4W64/apps\\saga

C:\\PROGRA~1\\QGISDU~1\\bin>set SAGA_MLB=C:/OSGeo4W64/apps\\saga\\modules

C:\\PROGRA~1\\QGISDU~1\\bin>PATH=PATH;C:/OSGeo4W64/apps\\saga;C:/OSGeo4W64/apps\\saga\\modules

C:\\PROGRA~1\\QGISDU~1\\bin>saga_cmd grid_gridding "Shapes to Grid" -INPUT "C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\0e7ab1b86b1c48ecba1c47a359edd9da\\Em38AGW.shp" -FIELD "wert_proz" -MULTIPLE 0 -LINE_TYPE 0 -GRID_TYPE 0 -USER_XMIN 4433194.21591 -USER_XMAX 4439531.05913 -USER_YMIN 5734590.59281 -USER_YMAX 5740211.95454 -USER_SIZE 10 -USER_GRID "C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\853e6f5d8a56423d942a9a03274e98d0\\USERGRID.tif.sgrd" 
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________

library path: C:/OSGeo4W64/apps\\saga\\modules
library name: grid_gridding
module name : Shapes to Grid
author : O.Conrad (c) 2003
_____________________________________________
go...

Load shapes: C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\0e7ab1b86b1c48ecba1c47a359edd9da\\Em38AGW.shp...

ready

okay

Parameters

Shapes: Em38AGW
Attribute: wert_proz
Method for Multiple Values: first
Method for Lines: thin
Preferred Target Grid Type: Integer (1 byte)
Target Grid: user defined

Save grid: C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\853e6f5d8a56423d942a9a03274e98d0\\USERGRID.tif.sgrd...

ready

okay

C:\\PROGRA~1\\QGISDU~1\\bin>exit
Converting outputs
Outputs: USER_GRID =C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\853e6f5d8a56423d942a9a03274e98d0\\USERGRID.tif
OK. Execution took 2.313 ms (1 outputs).
Prepare algorithm 1: Shapes to grid
Running Shapes to grid [2/3]
Parameters: INPUT =C:/Dropbox/Datenaustausch/KUNDENDATEN/Warnstedt_SysFoe/Betriebsübergreifend/Schlaege_Model.shp, FIELD =wert_proz, MULTIPLE =0, LINE_TYPE =0, GRID_TYPE =0, OUTPUT_EXTENT =4433189.21591,4439536.05913,5734585.59281,5740216.95454, USER_SIZE =10
grid_gridding "Shapes to Grid" -INPUT "C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\5a45f896111d440fae8a56b98d02dfdc\\SchlaegeModel.shp" -FIELD "wert_proz" -MULTIPLE 0 -LINE_TYPE 0 -GRID_TYPE 0 -USER_XMIN 4433194.21591 -USER_XMAX 4439531.05913 -USER_YMIN 5734590.59281 -USER_YMAX 5740211.95454 -USER_SIZE 10 -USER_GRID "C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\5e4a2091e3e84c66bee9e6db7ff16037\\USERGRID.tif.sgrd" 

C:\\PROGRA~1\\QGISDU~1\\bin>set SAGA=C:/OSGeo4W64/apps\\saga

C:\\PROGRA~1\\QGISDU~1\\bin>set SAGA_MLB=C:/OSGeo4W64/apps\\saga\\modules

C:\\PROGRA~1\\QGISDU~1\\bin>PATH=PATH;C:/OSGeo4W64/apps\\saga;C:/OSGeo4W64/apps\\saga\\modules

C:\\PROGRA~1\\QGISDU~1\\bin>saga_cmd grid_gridding "Shapes to Grid" -INPUT "C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\5a45f896111d440fae8a56b98d02dfdc\\SchlaegeModel.shp" -FIELD "wert_proz" -MULTIPLE 0 -LINE_TYPE 0 -GRID_TYPE 0 -USER_XMIN 4433194.21591 -USER_XMAX 4439531.05913 -USER_YMIN 5734590.59281 -USER_YMAX 5740211.95454 -USER_SIZE 10 -USER_GRID "C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\5e4a2091e3e84c66bee9e6db7ff16037\\USERGRID.tif.sgrd" 
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________

library path: C:/OSGeo4W64/apps\\saga\\modules
library name: grid_gridding
module name : Shapes to Grid
author : O.Conrad (c) 2003
_____________________________________________
go...

Load shapes: C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\5a45f896111d440fae8a56b98d02dfdc\\SchlaegeModel.shp...

ready

okay

Parameters

Shapes: SchlaegeModel
Attribute: id
Method for Multiple Values: first
Method for Lines: thin
Preferred Target Grid Type: Integer (1 byte)
Target Grid: user defined

Save grid: C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\5e4a2091e3e84c66bee9e6db7ff16037\\USERGRID.tif.sgrd...

ready

okay

C:\\PROGRA~1\\QGISDU~1\\bin>exit
Converting outputs
Outputs: USER_GRID =C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\5e4a2091e3e84c66bee9e6db7ff16037\\USERGRID.tif
OK. Execution took 0.942 ms (1 outputs).
Prepare algorithm 2: r.mapcalculator - Calculate new raster map from a r.mapcalc expression.
Running r.mapcalculator - Calculate new raster map from a r.mapcalc expression. [3/3]
Parameters: amap =C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\853e6f5d8a56423d942a9a03274e98d0\\USERGRID.tif, bmap =C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\5e4a2091e3e84c66bee9e6db7ff16037\\USERGRID.tif, cmap =None, dmap =None, emap =None, fmap =None, formula =A+B, GRASS_REGION_PARAMETER =4433189.21591,4439536.05913,5734585.59281,5740216.95454, GRASS_REGION_CELLSIZE_PARAMETER =10
r.external input="C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\853e6f5d8a56423d942a9a03274e98d0\\USERGRID.tif" band=1 output=tmp138598827162 --overwrite -o -r
r.external input="C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\5e4a2091e3e84c66bee9e6db7ff16037\\USERGRID.tif" band=1 output=tmp1385988271613 --overwrite -o -r
g.proj -c proj4="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" 
g.region n=5740216.95454 s=5734585.59281 e=4439536.05913 w=4433189.21591 res=10
r.mapcalculator amap=tmp138598827162 bmap=tmp1385988271613 formula="A+B" outfile=outfile9b17fcd09e304eea892a52cff85bca52 --overwrite
g.region rast=outfile9b17fcd09e304eea892a52cff85bca52
r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW" input=outfile9b17fcd09e304eea892a52cff85bca52 output="C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\afdeb8f2234647f48ce8341d79406485\\outfileALG2.tif" 

C:\\PROGRA~1\\QGISDU~1\\bin>set HOME=C:\\Users\\Foelsch 

C:\\PROGRA~1\\QGISDU~1\\bin>set GISRC=C:\\Users\\Foelsch\\.qgis2\\\\processing\\processing.gisrc 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_SH=C:/OSGeo4W64/apps\\msys\\bin\\sh.exe 

C:\\PROGRA~1\\QGISDU~1\\bin>set PATH=C:/OSGeo4W64/apps\\msys\\bin;C:/OSGeo4W64/apps\\msys\\lib;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/bin;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/scripts;C:/PROGRA~1/QGISDU~1/apps/qgis/./grass/scripts/;C:/PROGRA~1/QGISDU~1/bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\Scripts;C:\\PROGRA~1\\QGISDU~1\\bin;C:\\Program Files (x86)\\PC Connectivity Solution\\;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\PROGRA~2\\SYBASE\\SQL ANYWHERE 7\\WIN32;C:\\PROGRA~2\\SYBASE\\SQLANY~1\\WIN32;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Common Files\\Sontheim\\;C:\\Program Files (x86)\\Sontheim\\MT_Api;C:\\Program Files (x86)\\Sontheim\\MT_Api\\;C:\\Program Files (x86)\\Sontheim\\RP1210a;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Program Files (x86)\\Common Files\\Adobe\\AGL;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\lib 

C:\\PROGRA~1\\QGISDU~1\\bin>set WINGISBASE=C:/OSGeo4W64/apps\\grass\\grass-6.4.3 

C:\\PROGRA~1\\QGISDU~1\\bin>set GISBASE=C:/OSGeo4W64/apps\\grass\\grass-6.4.3 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_PROJSHARE=C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\share\\proj 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_MESSAGE_FORMAT=gui 

C:\\PROGRA~1\\QGISDU~1\\bin>if "" == "" set PATH=C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\bin;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\lib;C:/OSGeo4W64/apps\\msys\\bin;C:/OSGeo4W64/apps\\msys\\lib;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/bin;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/scripts;C:/PROGRA~1/QGISDU~1/apps/qgis/./grass/scripts/;C:/PROGRA~1/QGISDU~1/bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\Scripts;C:\\PROGRA~1\\QGISDU~1\\bin;C:\\Program Files (x86)\\PC Connectivity Solution\\;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\PROGRA~2\\SYBASE\\SQL ANYWHERE 7\\WIN32;C:\\PROGRA~2\\SYBASE\\SQLANY~1\\WIN32;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Common Files\\Sontheim\\;C:\\Program Files (x86)\\Sontheim\\MT_Api;C:\\Program Files (x86)\\Sontheim\\MT_Api\\;C:\\Program Files (x86)\\Sontheim\\RP1210a;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Program Files (x86)\\Common Files\\Adobe\\AGL;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\lib 

C:\\PROGRA~1\\QGISDU~1\\bin>if not "" == "" set PATH=C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\bin;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\lib;;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\bin;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\lib;C:/OSGeo4W64/apps\\msys\\bin;C:/OSGeo4W64/apps\\msys\\lib;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/bin;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/scripts;C:/PROGRA~1/QGISDU~1/apps/qgis/./grass/scripts/;C:/PROGRA~1/QGISDU~1/bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\Scripts;C:\\PROGRA~1\\QGISDU~1\\bin;C:\\Program Files (x86)\\PC Connectivity Solution\\;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\PROGRA~2\\SYBASE\\SQL ANYWHERE 7\\WIN32;C:\\PROGRA~2\\SYBASE\\SQLANY~1\\WIN32;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Common Files\\Sontheim\\;C:\\Program Files (x86)\\Sontheim\\MT_Api;C:\\Program Files (x86)\\Sontheim\\MT_Api\\;C:\\Program Files (x86)\\Sontheim\\RP1210a;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Program Files (x86)\\Common Files\\Adobe\\AGL;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\lib 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_VERSION=6.4.0 

C:\\PROGRA~1\\QGISDU~1\\bin>if not "" == "" goto langset 

C:\\PROGRA~1\\QGISDU~1\\bin>FOR /F "usebackq delims==" %i IN (`"C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\etc\\winlocale"`) DO @set LANG=%i 

C:\\PROGRA~1\\QGISDU~1\\bin>set PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY 

C:\\PROGRA~1\\QGISDU~1\\bin>set PYTHONPATH=C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/etc/python;;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\etc\\python;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\etc\\wxpython\

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="MAPSET=PERMANENT" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="LOCATION=temp_location" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="LOCATION_NAME=temp_location" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="GISDBASE=C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\grassdata" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="GRASS_GUI=text" 

C:\\PROGRA~1\\QGISDU~1\\bin>r.external input="C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\853e6f5d8a56423d942a9a03274e98d0\\USERGRID.tif" band=1 output=tmp138598827162 --overwrite -o -r 
ERROR 4: `C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\853e6f5d8a56423d942a9a03274e98d0\\USERGRID.tif' does not exist in the file system, 
and is not recognised as a supported dataset name. 

C:\\PROGRA~1\\QGISDU~1\\bin>r.external input="C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\5e4a2091e3e84c66bee9e6db7ff16037\\USERGRID.tif" band=1 output=tmp1385988271613 --overwrite -o -r 
ERROR 4: `C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\5e4a2091e3e84c66bee9e6db7ff16037\\USERGRID.tif' does not exist in the file system, 
and is not recognised as a supported dataset name. 

C:\\PROGRA~1\\QGISDU~1\\bin>g.proj -c proj4="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" 

GRASS_INFO_MESSAGE(9020,1): Die Standard Region wurde auf die neue Projektion aktualisiert. Wenn Sie aber mehrere Mapsets haben, sollten Sie `g.region -d` in jedem ausführen, um die Einstellungen von der Standardregion zu übernehmen. 
GRASS_INFO_END(9020,1) 

GRASS_INFO_MESSAGE(9020,2): Projektionsinformationen aktualisiert 
GRASS_INFO_END(9020,2) 

C:\\PROGRA~1\\QGISDU~1\\bin>g.region n=5740216.95454 s=5734585.59281 e=4439536.05913 w=4433189.21591 res=10 

C:\\PROGRA~1\\QGISDU~1\\bin>r.mapcalculator amap=tmp138598827162 bmap=tmp1385988271613 formula="A+B" outfile=outfile9b17fcd09e304eea892a52cff85bca52 --overwrite 

GRASS_INFO_MESSAGE(476,1): r.mapcalc "outfile9b17fcd09e304eea892a52cff85bca52" = "( "tmp138598827162" + "tmp1385988271613" )" 
GRASS_INFO_END(476,1) 
Ungültige Karte 
Ungültige Karte 
Parse error 

GRASS_INFO_ERROR(728,1): Calculating outfile9b17fcd09e304eea892a52cff85bca52. Try expert mode. 
GRASS_INFO_END(728,1) 

C:\\PROGRA~1\\QGISDU~1\\bin>set HOME=C:\\Users\\Foelsch 

C:\\PROGRA~1\\QGISDU~1\\bin>set GISRC=C:\\Users\\Foelsch\\.qgis2\\\\processing\\processing.gisrc 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_SH=C:/OSGeo4W64/apps\\msys\\bin\\sh.exe 

C:\\PROGRA~1\\QGISDU~1\\bin>set PATH=C:/OSGeo4W64/apps\\msys\\bin;C:/OSGeo4W64/apps\\msys\\lib;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/bin;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/scripts;C:/PROGRA~1/QGISDU~1/apps/qgis/./grass/scripts/;C:/PROGRA~1/QGISDU~1/bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\Scripts;C:\\PROGRA~1\\QGISDU~1\\bin;C:\\Program Files (x86)\\PC Connectivity Solution\\;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\PROGRA~2\\SYBASE\\SQL ANYWHERE 7\\WIN32;C:\\PROGRA~2\\SYBASE\\SQLANY~1\\WIN32;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Common Files\\Sontheim\\;C:\\Program Files (x86)\\Sontheim\\MT_Api;C:\\Program Files (x86)\\Sontheim\\MT_Api\\;C:\\Program Files (x86)\\Sontheim\\RP1210a;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Program Files (x86)\\Common Files\\Adobe\\AGL;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\lib 

C:\\PROGRA~1\\QGISDU~1\\bin>set WINGISBASE=C:/OSGeo4W64/apps\\grass\\grass-6.4.3 

C:\\PROGRA~1\\QGISDU~1\\bin>set GISBASE=C:/OSGeo4W64/apps\\grass\\grass-6.4.3 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_PROJSHARE=C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\share\\proj 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_MESSAGE_FORMAT=gui 

C:\\PROGRA~1\\QGISDU~1\\bin>if "" == "" set PATH=C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\bin;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\lib;C:/OSGeo4W64/apps\\msys\\bin;C:/OSGeo4W64/apps\\msys\\lib;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/bin;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/scripts;C:/PROGRA~1/QGISDU~1/apps/qgis/./grass/scripts/;C:/PROGRA~1/QGISDU~1/bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\Scripts;C:\\PROGRA~1\\QGISDU~1\\bin;C:\\Program Files (x86)\\PC Connectivity Solution\\;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\PROGRA~2\\SYBASE\\SQL ANYWHERE 7\\WIN32;C:\\PROGRA~2\\SYBASE\\SQLANY~1\\WIN32;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Common Files\\Sontheim\\;C:\\Program Files (x86)\\Sontheim\\MT_Api;C:\\Program Files (x86)\\Sontheim\\MT_Api\\;C:\\Program Files (x86)\\Sontheim\\RP1210a;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Program Files (x86)\\Common Files\\Adobe\\AGL;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\lib 

C:\\PROGRA~1\\QGISDU~1\\bin>if not "" == "" set PATH=C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\bin;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\lib;;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\bin;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\lib;C:/OSGeo4W64/apps\\msys\\bin;C:/OSGeo4W64/apps\\msys\\lib;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/bin;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/scripts;C:/PROGRA~1/QGISDU~1/apps/qgis/./grass/scripts/;C:/PROGRA~1/QGISDU~1/bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\Scripts;C:\\PROGRA~1\\QGISDU~1\\bin;C:\\Program Files (x86)\\PC Connectivity Solution\\;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\PROGRA~2\\SYBASE\\SQL ANYWHERE 7\\WIN32;C:\\PROGRA~2\\SYBASE\\SQLANY~1\\WIN32;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Common Files\\Sontheim\\;C:\\Program Files (x86)\\Sontheim\\MT_Api;C:\\Program Files (x86)\\Sontheim\\MT_Api\\;C:\\Program Files (x86)\\Sontheim\\RP1210a;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Program Files (x86)\\Common Files\\Adobe\\AGL;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\lib 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_VERSION=6.4.0 

C:\\PROGRA~1\\QGISDU~1\\bin>if not "" == "" goto langset 

C:\\PROGRA~1\\QGISDU~1\\bin>FOR /F "usebackq delims==" %i IN (`"C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\etc\\winlocale"`) DO @set LANG=%i 

C:\\PROGRA~1\\QGISDU~1\\bin>set PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY 

C:\\PROGRA~1\\QGISDU~1\\bin>set PYTHONPATH=C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/etc/python;;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\etc\\python;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\etc\\wxpython\

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="MAPSET=PERMANENT" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="LOCATION=temp_location" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="LOCATION_NAME=temp_location" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="GISDBASE=C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\grassdata" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="GRASS_GUI=text" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.region rast=outfile9b17fcd09e304eea892a52cff85bca52 

GRASS_INFO_ERROR(5332,1): Rasterkarte konnte nicht gefunden werden. 
GRASS_INFO_END(5332,1) 

C:\\PROGRA~1\\QGISDU~1\\bin>r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW" input=outfile9b17fcd09e304eea892a52cff85bca52 output="C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\afdeb8f2234647f48ce8341d79406485\\outfileALG2.tif" 

GRASS_INFO_ERROR(5884,1): Rasterkarte oder Gruppe nicht gefunden. 
GRASS_INFO_END(5884,1) 

C:\\PROGRA~1\\QGISDU~1\\bin>exit 
Converting outputs
Outputs: outfile =C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\afdeb8f2234647f48ce8341d79406485\\outfileALG2.tif
OK. Execution took 18.722 ms (1 outputs).
Model processed ok. Executed 3 algorithms total
Converting outputs
Loading resulting layers
Algorithm FoeSys_50_50 finished

#3 Updated by Jürgen Fischer almost 11 years ago

  • Subject changed from SAGA raster caculator fail when used in a processing model to SAGA raster calculator fails when used in a processing model

#4 Updated by Giovanni Manghi almost 11 years ago

Marcel Foelsch wrote:

Sorry...it's my first ticket.

no problem :)

can you try put your input data in a shorter path, wihtout special chars like "ü"?

I'm not 100% sure, but I recall issues with SAGA and paths with special chars.

#5 Updated by Marcel Foelsch almost 11 years ago

I tried it but without success...

new log:

Algorithm FoeSys_50_50 starting...
Prepare algorithm 0: Shapes to grid
Running Shapes to grid [1/3]
Parameters: INPUT =C:\\TMP\\QGIS_test\\em38.shp, FIELD =wert_proz, MULTIPLE =0, LINE_TYPE =0, GRID_TYPE =0, OUTPUT_EXTENT =4433189.21591,4439536.05913,5734585.59281,5740216.95454, USER_SIZE =10
grid_gridding "Shapes to Grid" -INPUT "C:\\TMP\\QGIS_test\\em38.shp" -FIELD "wert_proz" -MULTIPLE 0 -LINE_TYPE 0 -GRID_TYPE 0 -USER_XMIN 4433194.21591 -USER_XMAX 4439531.05913 -USER_YMIN 5734590.59281 -USER_YMAX 5740211.95454 -USER_SIZE 10 -USER_GRID "C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\0fece4551fd14312bab28272a957d6c4\\USERGRID.tif.sgrd" 

C:\\PROGRA~1\\QGISDU~1\\bin>set SAGA=C:/OSGeo4W64/apps\\saga

C:\\PROGRA~1\\QGISDU~1\\bin>set SAGA_MLB=C:/OSGeo4W64/apps\\saga\\modules

C:\\PROGRA~1\\QGISDU~1\\bin>PATH=PATH;C:/OSGeo4W64/apps\\saga;C:/OSGeo4W64/apps\\saga\\modules

C:\\PROGRA~1\\QGISDU~1\\bin>saga_cmd grid_gridding "Shapes to Grid" -INPUT "C:\\TMP\\QGIS_test\\em38.shp" -FIELD "wert_proz" -MULTIPLE 0 -LINE_TYPE 0 -GRID_TYPE 0 -USER_XMIN 4433194.21591 -USER_XMAX 4439531.05913 -USER_YMIN 5734590.59281 -USER_YMAX 5740211.95454 -USER_SIZE 10 -USER_GRID "C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\0fece4551fd14312bab28272a957d6c4\\USERGRID.tif.sgrd" 
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________

library path: C:/OSGeo4W64/apps\\saga\\modules
library name: grid_gridding
module name : Shapes to Grid
author : O.Conrad (c) 2003
_____________________________________________
go...

Load shapes: C:\\TMP\\QGIS_test\\em38.shp...

ready

okay

Parameters

Shapes: em38
Attribute: wert_proz
Method for Multiple Values: first
Method for Lines: thin
Preferred Target Grid Type: Integer (1 byte)
Target Grid: user defined

Save grid: C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\0fece4551fd14312bab28272a957d6c4\\USERGRID.tif.sgrd...

ready

okay

C:\\PROGRA~1\\QGISDU~1\\bin>exit
Converting outputs
Outputs: USER_GRID =C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\0fece4551fd14312bab28272a957d6c4\\USERGRID.tif
OK. Execution took 0.471 ms (1 outputs).
Prepare algorithm 1: Shapes to grid
Running Shapes to grid [2/3]
Parameters: INPUT =C:\\TMP\\QGIS_test\\yield.shp, FIELD =wert_proz, MULTIPLE =0, LINE_TYPE =0, GRID_TYPE =0, OUTPUT_EXTENT =4433189.21591,4439536.05913,5734585.59281,5740216.95454, USER_SIZE =10
grid_gridding "Shapes to Grid" -INPUT "C:\\TMP\\QGIS_test\\yield.shp" -FIELD "wert_proz" -MULTIPLE 0 -LINE_TYPE 0 -GRID_TYPE 0 -USER_XMIN 4433194.21591 -USER_XMAX 4439531.05913 -USER_YMIN 5734590.59281 -USER_YMAX 5740211.95454 -USER_SIZE 10 -USER_GRID "C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\f41fa3ee86d64589b3c5321dcd25eb33\\USERGRID.tif.sgrd" 

C:\\PROGRA~1\\QGISDU~1\\bin>set SAGA=C:/OSGeo4W64/apps\\saga

C:\\PROGRA~1\\QGISDU~1\\bin>set SAGA_MLB=C:/OSGeo4W64/apps\\saga\\modules

C:\\PROGRA~1\\QGISDU~1\\bin>PATH=PATH;C:/OSGeo4W64/apps\\saga;C:/OSGeo4W64/apps\\saga\\modules

C:\\PROGRA~1\\QGISDU~1\\bin>saga_cmd grid_gridding "Shapes to Grid" -INPUT "C:\\TMP\\QGIS_test\\yield.shp" -FIELD "wert_proz" -MULTIPLE 0 -LINE_TYPE 0 -GRID_TYPE 0 -USER_XMIN 4433194.21591 -USER_XMAX 4439531.05913 -USER_YMIN 5734590.59281 -USER_YMAX 5740211.95454 -USER_SIZE 10 -USER_GRID "C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\f41fa3ee86d64589b3c5321dcd25eb33\\USERGRID.tif.sgrd" 
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________

library path: C:/OSGeo4W64/apps\\saga\\modules
library name: grid_gridding
module name : Shapes to Grid
author : O.Conrad (c) 2003
_____________________________________________
go...

Load shapes: C:\\TMP\\QGIS_test\\yield.shp...

ready

okay

Parameters

Shapes: yield
Attribute: wert_proz
Method for Multiple Values: first
Method for Lines: thin
Preferred Target Grid Type: Integer (1 byte)
Target Grid: user defined

Save grid: C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\f41fa3ee86d64589b3c5321dcd25eb33\\USERGRID.tif.sgrd...

ready

okay

C:\\PROGRA~1\\QGISDU~1\\bin>exit
Converting outputs
Outputs: USER_GRID =C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\f41fa3ee86d64589b3c5321dcd25eb33\\USERGRID.tif
OK. Execution took 0.324 ms (1 outputs).
Prepare algorithm 2: r.mapcalculator - Calculate new raster map from a r.mapcalc expression.
Running r.mapcalculator - Calculate new raster map from a r.mapcalc expression. [3/3]
Parameters: amap =C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\0fece4551fd14312bab28272a957d6c4\\USERGRID.tif, bmap =C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\f41fa3ee86d64589b3c5321dcd25eb33\\USERGRID.tif, cmap =None, dmap =None, emap =None, fmap =None, formula =A+B, GRASS_REGION_PARAMETER =4433189.21591,4439536.05913,5734585.59281,5740216.95454, GRASS_REGION_CELLSIZE_PARAMETER =10
r.external input="C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\0fece4551fd14312bab28272a957d6c4\\USERGRID.tif" band=1 output=tmp1385989542114 --overwrite -o -r
r.external input="C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\f41fa3ee86d64589b3c5321dcd25eb33\\USERGRID.tif" band=1 output=tmp1385989542135 --overwrite -o -r
g.proj -c proj4="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" 
g.region n=5740216.95454 s=5734585.59281 e=4439536.05913 w=4433189.21591 res=10
r.mapcalculator amap=tmp1385989542114 bmap=tmp1385989542135 formula="A+B" outfile=outfile8afe1d33d1d44763894c058537ea6317 --overwrite
g.region rast=outfile8afe1d33d1d44763894c058537ea6317
r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW" input=outfile8afe1d33d1d44763894c058537ea6317 output="C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\a2d483c7df3b4efcbe7d43a210559a2f\\outfileALG2.tif" 

C:\\PROGRA~1\\QGISDU~1\\bin>set HOME=C:\\Users\\Foelsch 

C:\\PROGRA~1\\QGISDU~1\\bin>set GISRC=C:\\Users\\Foelsch\\.qgis2\\\\processing\\processing.gisrc 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_SH=C:/OSGeo4W64/apps\\msys\\bin\\sh.exe 

C:\\PROGRA~1\\QGISDU~1\\bin>set PATH=C:/OSGeo4W64/apps\\msys\\bin;C:/OSGeo4W64/apps\\msys\\lib;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/bin;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/scripts;C:/PROGRA~1/QGISDU~1/apps/qgis/./grass/scripts/;C:/PROGRA~1/QGISDU~1/bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\Scripts;C:\\PROGRA~1\\QGISDU~1\\bin;C:\\Program Files (x86)\\PC Connectivity Solution\\;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\PROGRA~2\\SYBASE\\SQL ANYWHERE 7\\WIN32;C:\\PROGRA~2\\SYBASE\\SQLANY~1\\WIN32;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Common Files\\Sontheim\\;C:\\Program Files (x86)\\Sontheim\\MT_Api;C:\\Program Files (x86)\\Sontheim\\MT_Api\\;C:\\Program Files (x86)\\Sontheim\\RP1210a;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Program Files (x86)\\Common Files\\Adobe\\AGL;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\lib 

C:\\PROGRA~1\\QGISDU~1\\bin>set WINGISBASE=C:/OSGeo4W64/apps\\grass\\grass-6.4.3 

C:\\PROGRA~1\\QGISDU~1\\bin>set GISBASE=C:/OSGeo4W64/apps\\grass\\grass-6.4.3 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_PROJSHARE=C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\share\\proj 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_MESSAGE_FORMAT=gui 

C:\\PROGRA~1\\QGISDU~1\\bin>if "" == "" set PATH=C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\bin;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\lib;C:/OSGeo4W64/apps\\msys\\bin;C:/OSGeo4W64/apps\\msys\\lib;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/bin;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/scripts;C:/PROGRA~1/QGISDU~1/apps/qgis/./grass/scripts/;C:/PROGRA~1/QGISDU~1/bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\Scripts;C:\\PROGRA~1\\QGISDU~1\\bin;C:\\Program Files (x86)\\PC Connectivity Solution\\;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\PROGRA~2\\SYBASE\\SQL ANYWHERE 7\\WIN32;C:\\PROGRA~2\\SYBASE\\SQLANY~1\\WIN32;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Common Files\\Sontheim\\;C:\\Program Files (x86)\\Sontheim\\MT_Api;C:\\Program Files (x86)\\Sontheim\\MT_Api\\;C:\\Program Files (x86)\\Sontheim\\RP1210a;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Program Files (x86)\\Common Files\\Adobe\\AGL;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\lib 

C:\\PROGRA~1\\QGISDU~1\\bin>if not "" == "" set PATH=C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\bin;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\lib;;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\bin;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\lib;C:/OSGeo4W64/apps\\msys\\bin;C:/OSGeo4W64/apps\\msys\\lib;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/bin;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/scripts;C:/PROGRA~1/QGISDU~1/apps/qgis/./grass/scripts/;C:/PROGRA~1/QGISDU~1/bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\Scripts;C:\\PROGRA~1\\QGISDU~1\\bin;C:\\Program Files (x86)\\PC Connectivity Solution\\;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\PROGRA~2\\SYBASE\\SQL ANYWHERE 7\\WIN32;C:\\PROGRA~2\\SYBASE\\SQLANY~1\\WIN32;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Common Files\\Sontheim\\;C:\\Program Files (x86)\\Sontheim\\MT_Api;C:\\Program Files (x86)\\Sontheim\\MT_Api\\;C:\\Program Files (x86)\\Sontheim\\RP1210a;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Program Files (x86)\\Common Files\\Adobe\\AGL;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\lib 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_VERSION=6.4.0 

C:\\PROGRA~1\\QGISDU~1\\bin>if not "" == "" goto langset 

C:\\PROGRA~1\\QGISDU~1\\bin>FOR /F "usebackq delims==" %i IN (`"C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\etc\\winlocale"`) DO @set LANG=%i 

C:\\PROGRA~1\\QGISDU~1\\bin>set PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY 

C:\\PROGRA~1\\QGISDU~1\\bin>set PYTHONPATH=C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/etc/python;;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\etc\\python;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\etc\\wxpython\

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="MAPSET=PERMANENT" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="LOCATION=temp_location" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="LOCATION_NAME=temp_location" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="GISDBASE=C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\grassdata" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="GRASS_GUI=text" 

C:\\PROGRA~1\\QGISDU~1\\bin>r.external input="C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\0fece4551fd14312bab28272a957d6c4\\USERGRID.tif" band=1 output=tmp1385989542114 --overwrite -o -r 
ERROR 4: `C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\0fece4551fd14312bab28272a957d6c4\\USERGRID.tif' does not exist in the file system, 
and is not recognised as a supported dataset name. 

C:\\PROGRA~1\\QGISDU~1\\bin>r.external input="C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\f41fa3ee86d64589b3c5321dcd25eb33\\USERGRID.tif" band=1 output=tmp1385989542135 --overwrite -o -r 
ERROR 4: `C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\f41fa3ee86d64589b3c5321dcd25eb33\\USERGRID.tif' does not exist in the file system, 
and is not recognised as a supported dataset name. 

C:\\PROGRA~1\\QGISDU~1\\bin>g.proj -c proj4="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" 

GRASS_INFO_MESSAGE(6380,1): Die Standard Region wurde auf die neue Projektion aktualisiert. Wenn Sie aber mehrere Mapsets haben, sollten Sie `g.region -d` in jedem ausführen, um die Einstellungen von der Standardregion zu übernehmen. 
GRASS_INFO_END(6380,1) 

GRASS_INFO_MESSAGE(6380,2): Projektionsinformationen aktualisiert 
GRASS_INFO_END(6380,2) 

C:\\PROGRA~1\\QGISDU~1\\bin>g.region n=5740216.95454 s=5734585.59281 e=4439536.05913 w=4433189.21591 res=10 

C:\\PROGRA~1\\QGISDU~1\\bin>r.mapcalculator amap=tmp1385989542114 bmap=tmp1385989542135 formula="A+B" outfile=outfile8afe1d33d1d44763894c058537ea6317 --overwrite 

GRASS_INFO_MESSAGE(5720,1): r.mapcalc "outfile8afe1d33d1d44763894c058537ea6317" = "( "tmp1385989542114" + "tmp1385989542135" )" 
GRASS_INFO_END(5720,1) 
Ungültige Karte 
Ungültige Karte 
Parse error 

GRASS_INFO_ERROR(7012,1): Calculating outfile8afe1d33d1d44763894c058537ea6317. Try expert mode. 
GRASS_INFO_END(7012,1) 

C:\\PROGRA~1\\QGISDU~1\\bin>set HOME=C:\\Users\\Foelsch 

C:\\PROGRA~1\\QGISDU~1\\bin>set GISRC=C:\\Users\\Foelsch\\.qgis2\\\\processing\\processing.gisrc 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_SH=C:/OSGeo4W64/apps\\msys\\bin\\sh.exe 

C:\\PROGRA~1\\QGISDU~1\\bin>set PATH=C:/OSGeo4W64/apps\\msys\\bin;C:/OSGeo4W64/apps\\msys\\lib;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/bin;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/scripts;C:/PROGRA~1/QGISDU~1/apps/qgis/./grass/scripts/;C:/PROGRA~1/QGISDU~1/bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\Scripts;C:\\PROGRA~1\\QGISDU~1\\bin;C:\\Program Files (x86)\\PC Connectivity Solution\\;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\PROGRA~2\\SYBASE\\SQL ANYWHERE 7\\WIN32;C:\\PROGRA~2\\SYBASE\\SQLANY~1\\WIN32;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Common Files\\Sontheim\\;C:\\Program Files (x86)\\Sontheim\\MT_Api;C:\\Program Files (x86)\\Sontheim\\MT_Api\\;C:\\Program Files (x86)\\Sontheim\\RP1210a;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Program Files (x86)\\Common Files\\Adobe\\AGL;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\lib 

C:\\PROGRA~1\\QGISDU~1\\bin>set WINGISBASE=C:/OSGeo4W64/apps\\grass\\grass-6.4.3 

C:\\PROGRA~1\\QGISDU~1\\bin>set GISBASE=C:/OSGeo4W64/apps\\grass\\grass-6.4.3 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_PROJSHARE=C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\share\\proj 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_MESSAGE_FORMAT=gui 

C:\\PROGRA~1\\QGISDU~1\\bin>if "" == "" set PATH=C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\bin;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\lib;C:/OSGeo4W64/apps\\msys\\bin;C:/OSGeo4W64/apps\\msys\\lib;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/bin;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/scripts;C:/PROGRA~1/QGISDU~1/apps/qgis/./grass/scripts/;C:/PROGRA~1/QGISDU~1/bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\Scripts;C:\\PROGRA~1\\QGISDU~1\\bin;C:\\Program Files (x86)\\PC Connectivity Solution\\;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\PROGRA~2\\SYBASE\\SQL ANYWHERE 7\\WIN32;C:\\PROGRA~2\\SYBASE\\SQLANY~1\\WIN32;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Common Files\\Sontheim\\;C:\\Program Files (x86)\\Sontheim\\MT_Api;C:\\Program Files (x86)\\Sontheim\\MT_Api\\;C:\\Program Files (x86)\\Sontheim\\RP1210a;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Program Files (x86)\\Common Files\\Adobe\\AGL;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\lib 

C:\\PROGRA~1\\QGISDU~1\\bin>if not "" == "" set PATH=C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\bin;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\lib;;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\bin;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\lib;C:/OSGeo4W64/apps\\msys\\bin;C:/OSGeo4W64/apps\\msys\\lib;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/bin;C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/scripts;C:/PROGRA~1/QGISDU~1/apps/qgis/./grass/scripts/;C:/PROGRA~1/QGISDU~1/bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\Scripts;C:\\PROGRA~1\\QGISDU~1\\bin;C:\\Program Files (x86)\\PC Connectivity Solution\\;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\PROGRA~2\\SYBASE\\SQL ANYWHERE 7\\WIN32;C:\\PROGRA~2\\SYBASE\\SQLANY~1\\WIN32;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Common Files\\Sontheim\\;C:\\Program Files (x86)\\Sontheim\\MT_Api;C:\\Program Files (x86)\\Sontheim\\MT_Api\\;C:\\Program Files (x86)\\Sontheim\\RP1210a;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;c:\\Program Files (x86)\\Common Files\\Adobe\\AGL;C:\\PROGRA~1\\QGISDU~1\\apps\\msys\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\bin;C:\\PROGRA~1\\QGISDU~1\\apps\\grass\\grass-6.4.3\\lib 

C:\\PROGRA~1\\QGISDU~1\\bin>set GRASS_VERSION=6.4.0 

C:\\PROGRA~1\\QGISDU~1\\bin>if not "" == "" goto langset 

C:\\PROGRA~1\\QGISDU~1\\bin>FOR /F "usebackq delims==" %i IN (`"C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\etc\\winlocale"`) DO @set LANG=%i 

C:\\PROGRA~1\\QGISDU~1\\bin>set PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY 

C:\\PROGRA~1\\QGISDU~1\\bin>set PYTHONPATH=C:/PROGRA~1/QGISDU~1/apps/grass/GRASS-~1.3/etc/python;;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\etc\\python;C:/OSGeo4W64/apps\\grass\\grass-6.4.3\\etc\\wxpython\

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="MAPSET=PERMANENT" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="LOCATION=temp_location" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="LOCATION_NAME=temp_location" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="GISDBASE=C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\grassdata" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.gisenv.exe set="GRASS_GUI=text" 

C:\\PROGRA~1\\QGISDU~1\\bin>g.region rast=outfile8afe1d33d1d44763894c058537ea6317 

GRASS_INFO_ERROR(6216,1): Rasterkarte konnte nicht gefunden werden. 
GRASS_INFO_END(6216,1) 

C:\\PROGRA~1\\QGISDU~1\\bin>r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW" input=outfile8afe1d33d1d44763894c058537ea6317 output="C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\a2d483c7df3b4efcbe7d43a210559a2f\\outfileALG2.tif" 

GRASS_INFO_ERROR(7016,1): Rasterkarte oder Gruppe nicht gefunden. 
GRASS_INFO_END(7016,1) 

C:\\PROGRA~1\\QGISDU~1\\bin>exit 
Converting outputs
Outputs: outfile =C:\\Users\\Foelsch\\AppData\\Local\\Temp\\processing\\a2d483c7df3b4efcbe7d43a210559a2f\\outfileALG2.tif
OK. Execution took 11.792 ms (1 outputs).
Model processed ok. Executed 3 algorithms total
Converting outputs
Loading resulting layers
Algorithm FoeSys_50_50 finished

#6 Updated by Giovanni Manghi almost 11 years ago

Hi, can you share the model?

#7 Updated by Marcel Foelsch almost 11 years ago

Here it is...This is a model that worked fine some updates before...

#8 Updated by Giovanni Manghi almost 11 years ago

  • Assignee set to Victor Olaya

The log does not appear to be the one right for the attached model (the log shows GRASS modules, the model has only SAGA modules), anyway the issue with the SAGA grid calculator in the modeller is that the parameter "GRIDS" is not passed to the module itself

example:

out of the modeller

io_gdal 0 -TRANSFORM -INTERPOL 0 -GRIDS "/tmp/processing/86f502865e674c1883ca534b3b31a264/shadedtif.sgrd" -FILES "/home/giovanni/Desktop/lixo/shaded.tif"
grid_calculus "Grid Calculator" -GRIDS "/tmp/processing/86f502865e674c1883ca534b3b31a264/shadedtif.sgrd;/tmp/processing/a0dd24ec46894a54915d7adb3a906197/demclipped.sgrd" -FORMULA "(a*0.5)+(b*0.5)" -RESULT "/home/giovanni/Desktop/lixo/res1.tif.sgrd"
io_gdal 1 -GRIDS "/home/giovanni/Desktop/lixo/res1.tif.sgrd" -FORMAT 1 -TYPE 0 -FILE "/home/giovanni/Desktop/lixo/res1.tif"

in the modeller

Algorithm testes3 starting...
Prepare algorithm 0: Raster calculator
Running Raster calculator [1/1]
Parameters: GRIDS =None, FORMULA =(a*0.5)+(b*0.5)
grid_calculus "Grid Calculator" -FORMULA "(a*0.5)+(b*0.5)" -RESULT "/home/giovanni/Desktop/lixo/res2.tif.sgrd"
io_gdal 1 -GRIDS "/home/giovanni/Desktop/lixo/res2.tif.sgrd" -FORMAT 1 -TYPE 0 -FILE "/home/giovanni/Desktop/lixo/res2.tif"
The value for the option 'GRIDS' must be specified.

in the latter you see the "GRIDS =None" that make obviously the modeller fail.

#9 Updated by Marcel Foelsch almost 11 years ago

Can I do anything to make it right?

#10 Updated by Giovanni Manghi almost 11 years ago

Marcel Foelsch wrote:

Can I do anything to make it right?

not necessary, I think I already isolated the issue.

I gave the code a quick look but I didn't spotted anything wrong. Let's see if someone else steps in.

#11 Updated by Marcel Foelsch almost 11 years ago

Ok. I'll be waiting.
Ciao.

#12 Updated by Marcel Foelsch almost 11 years ago

Is there any solution for that problem?

#13 Updated by Jürgen Fischer over 10 years ago

  • Status changed from Feedback to Open

#14 Updated by Steffen Ehrmann over 10 years ago

  • File test.model added
  • Target version changed from Future Release - High Priority to Version 2.4

I am running with the same problem under 2.3 (still). I think this is a crucial feature that needs to be reliably usable as soon as possible.
Here is my code:

Algorithm meta-anylsis_gfc starting...
Prepare algorithm 0: Fixed distance buffer
Running Fixed distance buffer [1/4]
Parameters: INPUT =J:/GIS_meta-analysis/data/GPS/glatthaar2014_gps.shp, DISTANCE =2000, SEGMENTS =90, DISSOLVE =False
Converting outputs
Outputs: OUTPUT =C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\61615640cab24378bef004de5dc2190b\\OUTPUT.shp
OK. Execution took 0.130 ms (1 outputs).
Prepare algorithm 1: Polygon from layer extent
Running Polygon from layer extent [2/4]
Parameters: INPUT_LAYER =C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\61615640cab24378bef004de5dc2190b\\OUTPUT.shp, BY_FEATURE =False
Converting outputs
Outputs: OUTPUT =C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\7790aa5422994a17bc771e980220bca6\\OUTPUT.shp
OK. Execution took 0.110 ms (1 outputs).
Prepare algorithm 2: Clip grid with polygon
Running Clip grid with polygon [3/4]
Parameters: INPUT =J:/GIS_meta-analysis/Global_Forest_Change/Hansen_GFC2013_treecover2000_50N_000E.tif, POLYGONS =C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\7790aa5422994a17bc771e980220bca6\\OUTPUT.shp
io_gdal 0 -GRIDS "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\95689d4b98d643288abd6732ffb56f93\\HansenGFC2013treecover200050N000E.sgrd" -FILES "J:/GIS_meta-analysis/Global_Forest_Change/Hansen_GFC2013_treecover2000_50N_000E.tif" 
shapes_grid "Clip Grid with Polygon" -INPUT "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\95689d4b98d643288abd6732ffb56f93\\HansenGFC2013treecover200050N000E.sgrd" -POLYGONS "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\7790aa5422994a17bc771e980220bca6\\OUTPUT.shp" -OUTPUT "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\d819a01af5784576a52b4e507e889957\\OUTPUTALG2.tif.sgrd" 
io_gdal 1 -GRIDS "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\d819a01af5784576a52b4e507e889957\\OUTPUTALG2.tif.sgrd" -FORMAT 1 -TYPE 0 -FILE "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\d819a01af5784576a52b4e507e889957\\OUTPUTALG2.tif" 

C:\\OSGeo4W64\\bin>set SAGA=C:\\OSGeo4W64\\apps\\saga

C:\\OSGeo4W64\\bin>set SAGA_MLB=C:\\OSGeo4W64\\apps\\saga\\modules

C:\\OSGeo4W64\\bin>PATH=PATH;C:\\OSGeo4W64\\apps\\saga;C:\\OSGeo4W64\\apps\\saga\\modules

C:\\OSGeo4W64\\bin>saga_cmd io_gdal 0 -GRIDS "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\95689d4b98d643288abd6732ffb56f93\\HansenGFC2013treecover200050N000E.sgrd" -FILES "J:/GIS_meta-analysis/Global_Forest_Change/Hansen_GFC2013_treecover2000_50N_000E.tif" 
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________

library path: C:\\OSGeo4W64\\apps\\saga\\modules
library name: io_gdal
module name : GDAL: Import Raster
author : (c) 2007 by O.Conrad (A.Ringeler)
_____________________________________________
go...

Parameters

Grids: No objects
Files: "J:/GIS_meta-analysis/Global_Forest_Change/Hansen_GFC2013_treecover2000_50N_000E.tif" 

loading: J:/GIS_meta-analysis/Global_Forest_Change/Hansen_GFC2013_treecover2000_50N_000E.tif

Driver: J:/GIS_meta-analysis/Global_Forest_Change/Hansen_GFC2013_treecover2000_50N_000E.tif/

Cells: x 32020, y 43328
Bands: 1
Transformation x' = 3465335.647892 + x * 26.723588 + y * 0.000000
Transformation y' = 3036322.649829 + x * 0.000000 + y * -26.723588

Save grid: C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\95689d4b98d643288abd6732ffb56f93\\HansenGFC2013treecover200050N000E.sgrd...

ready

okay

C:\\OSGeo4W64\\bin>saga_cmd shapes_grid "Clip Grid with Polygon" -INPUT "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\95689d4b98d643288abd6732ffb56f93\\HansenGFC2013treecover200050N000E.sgrd" -POLYGONS "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\7790aa5422994a17bc771e980220bca6\\OUTPUT.shp" -OUTPUT "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\d819a01af5784576a52b4e507e889957\\OUTPUTALG2.tif.sgrd" 
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________

library path: C:\\OSGeo4W64\\apps\\saga\\modules
library name: shapes_grid
module name : Clip Grid with Polygon
author : copyrights (c) 2006 Stefan Liersch
_____________________________________________
go...

Load grid: C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\95689d4b98d643288abd6732ffb56f93\\HansenGFC2013treecover200050N000E.sgrd...

ready

okay

Load shapes: C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\7790aa5422994a17bc771e980220bca6\\OUTPUT.shp...

ready

okay

Parameters

Grid system: 26.723588; 32020x 43328y; 3465349.009686x 1878456.411146y
Output: No objects
Input: 1 object (HansenGFC2013treecover200050N000E))
Polygons: OUTPUT

Save grid: C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\d819a01af5784576a52b4e507e889957\\OUTPUTALG2.tif.sgrd...

ready

okay

C:\\OSGeo4W64\\bin>saga_cmd io_gdal 1 -GRIDS "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\d819a01af5784576a52b4e507e889957\\OUTPUTALG2.tif.sgrd" -FORMAT 1 -TYPE 0 -FILE "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\d819a01af5784576a52b4e507e889957\\OUTPUTALG2.tif" 
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________

library path: C:\\OSGeo4W64\\apps\\saga\\modules
library name: io_gdal
module name : GDAL: Export Raster
author : O.Conrad (c) 2007
_____________________________________________
go...

Load grid: C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\d819a01af5784576a52b4e507e889957\\OUTPUTALG2.tif.sgrd...

ready

okay

Parameters

Grid system: 26.723588; 860x 1252y; 4177746.406048x 2748843.656982y
Grid(s): 1 object (OUTPUTALG2.tif))
File: C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\d819a01af5784576a52b4e507e889957\\OUTPUTALG2.tif
Format: GeoTIFF
Data Type: match input data

Band 1

ready

C:\\OSGeo4W64\\bin>exit
Converting outputs
Outputs: OUTPUT =C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\d819a01af5784576a52b4e507e889957\\OUTPUTALG2.tif
OK. Execution took 109.234 ms (1 outputs).
Prepare algorithm 3: Raster calculator
Running Raster calculator [4/4]
Parameters: GRIDS =None, FORMULA =gt(a, 0)
grid_calculus "Grid Calculator" -FORMULA "gt(a, 0)" -RESULT "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\29cd9723509e4ae89f870cab1d174bc2\\RESULT.tif.sgrd" 
io_gdal 1 -GRIDS "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\29cd9723509e4ae89f870cab1d174bc2\\RESULT.tif.sgrd" -FORMAT 1 -TYPE 0 -FILE "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\29cd9723509e4ae89f870cab1d174bc2\\RESULT.tif" 

C:\\OSGeo4W64\\bin>set SAGA=C:\\OSGeo4W64\\apps\\saga

C:\\OSGeo4W64\\bin>set SAGA_MLB=C:\\OSGeo4W64\\apps\\saga\\modules

C:\\OSGeo4W64\\bin>PATH=PATH;C:\\OSGeo4W64\\apps\\saga;C:\\OSGeo4W64\\apps\\saga\\modules

C:\\OSGeo4W64\\bin>saga_cmd grid_calculus "Grid Calculator" -FORMULA "gt(a, 0)" -RESULT "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\29cd9723509e4ae89f870cab1d174bc2\\RESULT.tif.sgrd" 
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________

library path: C:\\OSGeo4W64\\apps\\saga\\modules
library name: grid_calculus
module name : Grid Calculator
author : Copyrights (c) 2003 by Andre Ringeler
_____________________________________________
go...
The value for the option 'GRIDS' must be specified.
Usage: Grid Calculator -GRIDS [-XGRIDS ] -RESULT [-FORMULA ] [-NAME ] [-FNAME] [-USE_NODATA]
-GRIDS: Grids
Grid list (input)
-XGRIDS: Grids from different Systems
Grid list (optional input)
-RESULT: Result
Grid (output)
-FORMULA: Formula
Text
-NAME: Name
Text
-FNAME Take Formula
Boolean
-USE_NODATA Use NoData
Boolean

error: executing module [Grid Calculator]

C:\\OSGeo4W64\\bin>saga_cmd io_gdal 1 -GRIDS "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\29cd9723509e4ae89f870cab1d174bc2\\RESULT.tif.sgrd" -FORMAT 1 -TYPE 0 -FILE "C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\29cd9723509e4ae89f870cab1d174bc2\\RESULT.tif" 
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________

library path: C:\\OSGeo4W64\\apps\\saga\\modules
library name: io_gdal
module name : GDAL: Export Raster
author : O.Conrad (c) 2007
_____________________________________________
go...

Load grid: C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\29cd9723509e4ae89f870cab1d174bc2\\RESULT.tif.sgrd...

failed

error: Grid file could not be opened.

error: input file [C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\29cd9723509e4ae89f870cab1d174bc2\\RESULT.tif.sgrd]

error: empty input list [GRIDS]
Usage: 1 -GRIDS [-FILE ] [-FORMAT ] [-TYPE ]
-GRIDS: Grid(s)
Grid list (input)
-FILE: File
File path
-FORMAT: Format
Choice
Available Choices:
[0] Virtual Raster
[1] GeoTIFF
[2] National Imagery Transmission Format
[3] Erdas Imagine Images (.img)
[4] ELAS
[5] In Memory Raster
[6] MS Windows Device Independent Bitmap
[7] PCIDSK Database File
[8] ILWIS Raster Map
[9] SGI Image File Format 1.0
[10] Leveller heightfield
[11] Terragen heightfield
[12] ERMapper .ers Labelled
[13] Raster Matrix Format
[14] Idrisi Raster A.1
[15] Intergraph Raster
[16] Golden Software Binary Grid (.grd)
[17] Portable Pixmap Format (netpbm)
[18] ENVI .hdr Labelled
[19] ESRI .hdr Labelled
[20] PCI .aux Labelled
[21] Vexcel MFF Raster
[22] Vexcel MFF2 (HKV) Raster
[23] VTP .bt (Binary Terrain) 1.3 Format
[24] Image Data and Analysis
[25] NOAA Vertical Datum .GTX
[26] NTv2 Datum Grid Shift
[27] ARC Digitized Raster Graphics
[28] SAGA GIS Binary Grid (.sdat)
-TYPE: Data Type
Choice
Available Choices:
[0] match input data
[1] 8 bit unsigned integer
[2] 16 bit unsigned integer
[3] 16 bit signed integer
[4] 32 bit unsigned integer
[5] 32 bit signed integer
[6] 32 bit floating point
[7] 64 bit floating point

error: executing module [GDAL: Export Raster]

C:\\OSGeo4W64\\bin>exit
Converting outputs
Outputs: RESULT =C:\\Users\\Steffen\\AppData\\Local\\Temp\\processing\\29cd9723509e4ae89f870cab1d174bc2\\RESULT.tif
OK. Execution took 0.474 ms (1 outputs).
Model processed ok. Executed 4 algorithms total
Converting outputs
Loading resulting layers
Algorithm meta-anylsis_gfc finished

Since I don't want to be criticising only, could you point me to how I can approach a fix for this? Where do I find the code that creates the parameters being passed to SAGA?

I have that problem btw under both win7 and ubuntu 13.10. Saga is on Version 2.0.8 compatibility to this version is activated in QGIS.

all the best
Steffen

#15 Updated by Giovanni Manghi over 10 years ago

Since I don't want to be criticising only, could you point me to how I can approach a fix for this? Where do I find the code that creates the parameters being passed to SAGA?

I have that problem btw under both win7 and ubuntu 13.10. Saga is on Version 2.0.8 compatibility to this version is activated in QGIS.

I just tested you model on Ubuntu 12.04, with qgis master and SAGA 2.1 and it works ok.

Please be sure to have the latest qgis master installed and check also that in the plugins folder in your home you don't have any "processing" folder (an old version that can be masking the latest code installed with master).

#16 Updated by Giovanni Manghi over 10 years ago

  • Status changed from Open to Feedback

#17 Updated by Giovanni Manghi over 10 years ago

Marcel Foelsch wrote:

Here it is...This is a model that worked fine some updates before...

this too works fine in the latest qgis master.

I think that this can be closed.

#18 Updated by Giovanni Manghi over 10 years ago

  • Resolution set to fixed/implemented
  • Status changed from Feedback to Closed

#19 Updated by Giovanni Manghi over 9 years ago

  • Category changed from 94 to Processing/Core

Also available in: Atom PDF