Menu

#203 Grid statistics does not give output

v2.1.4
closed
nobody
None
1
2015-07-02
2015-04-10
No

saga_cmd statistics_grid "Statistics for Grids" -GRIDS "mdt.sgrd" -PCTL_VAL 50 -MEAN "MEAN.tif.sgrd"

do not create any output and do not give any error.

cfr http://hub.qgis.org/issues/12517

Discussion

  • Paolo Cavallini

    Paolo Cavallini - 2015-04-10

    Milestone is wrong, do not see a way to change it. Verified on Debian Sid and Ubuntu.

     
  • Volker Wichmann

    Volker Wichmann - 2015-04-13
    • Group: v2.1.2 --> v2.1.4
     
  • Volker Wichmann

    Volker Wichmann - 2015-04-13

    Hi,

    with the command above you should see an error: "no grids in selection". The reason is that the tool requires at least two input grids in order to calculate cell statistics. For a test you can simply provide the input grid two times:

    saga_cmd statistics_grid "Statistics for Grids" -GRIDS "mdt.sgrd;mdt.sgrd" -MEAN "MEAN.tif.sgrd"
    
     
  • Anonymous

    Anonymous - 2015-04-13

    Thanks for the clarification.
    Sorry for the noise.

     
  • Volker Wichmann

    Volker Wichmann - 2015-07-02
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel