[GRASS-SVN] r60111 - grass-addons/grass7/raster/r.hants

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 5 07:16:08 PDT 2014


Author: mmetz
Date: 2014-05-05 07:16:08 -0700 (Mon, 05 May 2014)
New Revision: 60111

Modified:
   grass-addons/grass7/raster/r.hants/main.c
   grass-addons/grass7/raster/r.hants/r.hants.html
Log:
r.hants: manual, option cosmetics

Modified: grass-addons/grass7/raster/r.hants/main.c
===================================================================
--- grass-addons/grass7/raster/r.hants/main.c	2014-05-05 13:34:01 UTC (rev 60110)
+++ grass-addons/grass7/raster/r.hants/main.c	2014-05-05 14:16:08 UTC (rev 60111)
@@ -176,7 +176,6 @@
     parm.nf->type = TYPE_INTEGER;
     parm.nf->required = YES;
     parm.nf->description = _("Number of frequencies");
-    parm.nf->multiple = YES;
 
     parm.fet = G_define_option();
     parm.fet->key = "fet";

Modified: grass-addons/grass7/raster/r.hants/r.hants.html
===================================================================
--- grass-addons/grass7/raster/r.hants/r.hants.html	2014-05-05 13:34:01 UTC (rev 60110)
+++ grass-addons/grass7/raster/r.hants/r.hants.html	2014-05-05 14:16:08 UTC (rev 60111)
@@ -27,8 +27,7 @@
 If the <em>range=</em> option is given, any values which fall outside
 that range will be treated as if they were NULL.
 The <em>range</em> parameter can be set to <em>low,high</em> thresholds:
-values outside of this range are treated as NULL (i.e., they will be
-ignored by most aggregates, or will cause the result to be NULL if -n is given).
+values outside of this range are treated as NULL.
 
 <p>
 The <em>low,high</em> thresholds are floating point, so use <em>-inf</em> or
@@ -37,7 +36,7 @@
 
 <p>
 The number of raster maps to be processed is given by the limit of the
-operating system. For example, both the hard and soft limits are
+operating system. For example, both the hard and soft limits for users are
 typically 1024. The soft limit can be changed with e.g. <tt>ulimit -n
 1500</tt> (UNIX-based operating systems) but not higher than the hard
 limit. If it is too low, you can as superuser add an entry in
@@ -49,8 +48,13 @@
 </pre></div>
 
 This would raise the hard limit to 1500 file. Be warned that more
-files open need more RAM.
+files open need more RAM. Also have a look at the system-wide limit
+<div class="code"><pre>
+cat /proc/sys/fs/file-max
+</pre></div>
+which is on modern systems several 100000 files.
 
+
 <p>Use the <em>file</em> option to analyze large amount of raster maps 
 without hitting open files limit and the size limit of command line 
 arguments. The computation is slower than the <em>input</em> option 



More information about the grass-commit mailing list