[Qgis-user] Sextante SAGA Grid Calculator - error with negative values
Michał Bełcik
belcikmichal at gmail.com
Wed Feb 13 08:09:13 PST 2013
Hello everyone!
While executing an algorithm, error appears. I think it has something to do
with negative values in formula.
Here's the execution output log:
SAGA execution console output
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________
library path: /usr/lib/saga
library name: libio_gdal
module name : GDAL: Import Raster
author : (c) 2007 by O.Conrad (A.Ringeler)
_____________________________________________
go...
Parameters
Grids: No objects
Files: "/media/40C3D2430D5AFADF/Working files/Sobibor Forest
District/r_distance.tif"
loading: /media/40C3D2430D5AFADF/Working files/Sobibor Forest
District/r_distance.tif
Driver: ????????????????????aLL/(null)
Cells: x 706, y 676
Bands: 1
Transformation x' = 793760.596036 + x * 50.002653 + y * 0.000000
Transformation y' = 419218.514015 + x * 0.000000 + y * -50.006240
Save grid: /tmp/sextante/1360770554.718.sgrd...
ready
okay
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________
library path: /usr/lib/saga
library name: libgrid_tools
module name : Resampling
author : O.Conrad (c) 2003
_____________________________________________
go...
Load grid: /tmp/sextante/1360770554.718.sgrd...
ready
okay
Parameters
Grid system: 50.002653; 706x 676y; 793785.597363x 385439.299074y
Grid: 1360770554.718
Preserve Data Type: no
Target Grid: user defined
ready
Save grid: /tmp/sextante/1360770554.719.sgrd...
ready
okay
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________
library path: /usr/lib/saga
library name: libio_gdal
module name : GDAL: Import Raster
author : (c) 2007 by O.Conrad (A.Ringeler)
_____________________________________________
go...
Parameters
Grids: No objects
Files: "/media/40C3D2430D5AFADF/Working files/Sobibor Forest
District/habitat_raster1.tif"
loading: /media/40C3D2430D5AFADF/Working files/Sobibor Forest
District/habitat_raster1.tif
Driver: ????????????????????f<iQQ/(null)
Cells: x 25641, y 26751
Bands: 1
Transformation x' = 801166.510000 + x * 1.000007 + y * 0.000000
Transformation y' = 416883.610000 + x * 0.000000 + y * -1.000006
Segmentation fault (core dumped)
error: input file [/tmp/sextante/1360770554.720.sgrd]
error: executing module [Resampling]
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________
library path: /usr/lib/saga
library name: libgrid_tools
module name : Resampling
author : O.Conrad (c) 2003
_____________________________________________
go...
error: Grid file could not be opened.
error: input file [/tmp/sextante/1360770554.721.sgrd]
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________
library path: /usr/lib/saga
library name: libgrid_calculus
module name : Grid Calculator
author : Copyrights (c) 2003 by Andre Ringeler
_____________________________________________
go...
Load grid: /tmp/sextante/1360770554.719.sgrd...
ready
okay
Load grid: /tmp/sextante/1360770554.721.sgrd...
failed
Parameters
Grid system: 50.002653; 707x 677y; 793760.596036x 385414.295954y
Grids: 1 object (1360770554.719))
Result: Result
Formula: (a/1000 * -0.776) + b
Name: C
error: Error in formula
(a/1000 * -0.776) + b
syntax error
Position: 10
(a/1000 *[-]0.776) + b
error: executing module [Grid Calculator]
alculation
Take Formula: no
error: Grid file could not be opened.
error: input file [/tmp/sextante/suitability_SAGA.tif.sgrd]
error: empty input list [GRIDS]
error: executing module [GDAL: Export Raster]
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________
library path: /usr/lib/saga
library name: libio_gdal
module name : GDAL: Export Raster
author : O.Conrad (c) 2007
_____________________________________________
go...
Load grid: /tmp/sextante/suitability_SAGA.tif.sgrd...
failed
Best regards
Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130213/6ca8b7cb/attachment.html>
More information about the Qgis-user
mailing list