Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #677 from radosuav/r_report_fix
Save SEXTANTE GRASS r.report output in HTML
- Loading branch information
Showing
3 changed files
with
42 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
r.report | ||
r.report - Reports statistics for raster layers. | ||
Raster (r.*) | ||
ParameterMultipleInput|map|Raster layer(s) to report on|3.0|False | ||
ParameterSelection|units|Units|mi;me;k;a;h;c;p | ||
ParameterString|null|Character representing no data cell value|* | ||
ParameterNumber|nsteps|Number of fp subranges to collect stats from|1|None|255 | ||
ParameterBoolean|-h|Suppress page headers|True | ||
ParameterBoolean|-f|Use formfeeds between pages|True | ||
ParameterBoolean|-e|Scientific format|True | ||
ParameterBoolean|-n|Filter out all no data cells|True | ||
ParameterBoolean|-N|Filter out cells where all layers have no data|True | ||
OutputHTML|output|Output report file | ||
r.report | ||
r.report - Reports statistics for raster layers. | ||
Raster (r.*) | ||
ParameterMultipleInput|map|Raster layer(s) to report on|3.0|False | ||
ParameterSelection|units|Units|mi;me;k;a;h;c;p | ||
ParameterString|null|Character representing no data cell value|* | ||
ParameterNumber|nsteps|Number of fp subranges to collect stats from|1|None|255 | ||
ParameterBoolean|-h|Suppress page headers|True | ||
ParameterBoolean|-f|Use formfeeds between pages|True | ||
ParameterBoolean|-e|Scientific format|True | ||
ParameterBoolean|-n|Filter out all no data cells|True | ||
ParameterBoolean|-N|Filter out cells where all layers have no data|True | ||
OutputHTML|html|Output report file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
*************************************************************************** | ||
r_report.py | ||
--------------------- | ||
Date : December 2012 | ||
Copyright : (C) 2012 by Victor Olaya | ||
Email : volayaf at gmail dot com | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
*************************************************************************** | ||
""" | ||
__author__ = 'Victor Olaya' | ||
__date__ = 'December 2012' | ||
__copyright__ = '(C) 2012, Victor Olaya' | ||
# This will get replaced with a git SHA1 when you do a git archive | ||
__revision__ = '$Format:%H$' | ||
|
||
from sextante.grass.ext import HtmlReportPostProcessor | ||
|
||
def postProcessResults(alg): | ||
HtmlReportPostProcessor.postProcessResults(alg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters