[GRASS-SVN] r72469 - grass-addons/grass7/temporal/t.rast.null
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 21 08:53:05 PDT 2018
Author: veroandreo
Date: 2018-03-21 08:53:05 -0700 (Wed, 21 Mar 2018)
New Revision: 72469
Modified:
grass-addons/grass7/temporal/t.rast.null/t.rast.null.html
grass-addons/grass7/temporal/t.rast.null/t.rast.null.py
Log:
t.rast.null addon: rename strds parameter to input, fix descriptions and minor edits in the manual
Modified: grass-addons/grass7/temporal/t.rast.null/t.rast.null.html
===================================================================
--- grass-addons/grass7/temporal/t.rast.null/t.rast.null.html 2018-03-21 15:41:35 UTC (rev 72468)
+++ grass-addons/grass7/temporal/t.rast.null/t.rast.null.html 2018-03-21 15:53:05 UTC (rev 72469)
@@ -1,15 +1,16 @@
<h2>DESCRIPTION</h2>
-<em><b>t.rast.null</b></em> manages NULL-values of the input space time raster
-dataset.
+<em><b>t.rast.null</b></em> manages NULL-values of the input space time
+raster dataset.
<p>
-The setnull parameter is used to specify values in the ranges to be set to NULL.
-A range is either a single value (e.g., 5.3), or a pair of values (e.g., 4.76-34.56).
-Existing NULL-values are left NULL, unless the null argument is requested.
+The <b>setnull</b> parameter is used to specify values in the ranges to
+be set to NULL. A range is either a single value (e.g., 5.3), or a pair
+of values (e.g., 4.76-34.56). Existing NULL-values are left NULL, unless
+the null argument is requested.
<p>
-The null parameter eliminates the NULL value and replaces it with value.
-This argument is applied only to existing NULL values, and not to the NULLs created by the setnull argument.
+The <b>null</b> parameter eliminates the NULL value and replaces it with
+the given value. This argument is applied only to existing NULL values,
+and not to the NULLs created by the <b>setnull</b> argument.
-
<h2>EXAMPLES</h2>
Set specific values (0,-1 and -2) of a space time raster dataset to NULL:
<div class="code"><pre>
@@ -18,10 +19,9 @@
<h2>SEE ALSO</h2>
<em>
-<a href="r.null.html">r.null</a>,
+<a href="r.null.html">r.null</a>
</em>
-
<h2>AUTHOR</h2>
Luca Delucchi, Fondazione Edmund Mach
Modified: grass-addons/grass7/temporal/t.rast.null/t.rast.null.py
===================================================================
--- grass-addons/grass7/temporal/t.rast.null/t.rast.null.py 2018-03-21 15:41:35 UTC (rev 72468)
+++ grass-addons/grass7/temporal/t.rast.null/t.rast.null.py 2018-03-21 15:53:05 UTC (rev 72469)
@@ -5,7 +5,7 @@
#
# MODULE: t.rast.null
# AUTHOR(S): Luca Delucchi
-# PURPOSE: t.rast.null set null values in a space time raster dataset
+# PURPOSE: Manages NULL-values of a given space time raster dataset.
#
# COPYRIGHT: (C) 2018 by Luca Delucchi
#
@@ -16,7 +16,7 @@
################################################
#%module
-#% description: Calculate kappa parameter in a space time raster dataset
+#% description: Manages NULL-values of a given space time raster dataset.
#% keyword: temporal
#% keyword: raster
#% keyword: null data
@@ -23,7 +23,6 @@
#%end
#%option G_OPT_STRDS_INPUT
-#% key: strds
#%end
#%option
@@ -48,7 +47,7 @@
#%option
#% key: nprocs
#% type: integer
-#% description: Number of r.to.vect processes to run in parallel, more than 1 process works only in conjunction with flag -t
+#% description: Number of r.null processes to run in parallel
#% required: no
#% multiple: no
#% answer: 1
@@ -62,7 +61,7 @@
import grass.pygrass.modules as pymod
def main():
- strds = options["strds"]
+ strds = options["input"]
where = options["where"]
nprocs = int(options["nprocs"])
More information about the grass-commit
mailing list