[GRASS-SVN] r70859 - grass-addons/grass7/raster/r.pi
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Apr 10 07:32:04 PDT 2017
Author: mmetz
Date: 2017-04-10 07:32:04 -0700 (Mon, 10 Apr 2017)
New Revision: 70859
Modified:
grass-addons/grass7/raster/r.pi/TODO.txt
Log:
r.pi: update TODO list
Modified: grass-addons/grass7/raster/r.pi/TODO.txt
===================================================================
--- grass-addons/grass7/raster/r.pi/TODO.txt 2017-04-10 06:58:54 UTC (rev 70858)
+++ grass-addons/grass7/raster/r.pi/TODO.txt 2017-04-10 14:32:04 UTC (rev 70859)
@@ -1,63 +1,30 @@
#####################################
C-code:
+- r.pi.nlm, r.pi.nlm.stats are broken
+
- fix all the unused variables
-- fix compiler warnings
+- fix remaining compiler warnings
- there are LOTs of cloned files, put them into a r.pi library (example:
~/grass64/vector/lidar/lidarlib/)
File counts:
- - draw.c 4
- search.c 5
- - helpers.c 13
- - stat_method.c 13
- func.c 16
- - frag.c 24
+ - frag.c 7
To compare:
- for i in draw.c search.c helpers.c stat_method.c func.c frag.c ; do
+ for i in search.cfunc.c frag.c ; do
echo "####### $i:"
ls -l */$i
done
- frag.c, writeFrag()
- outside is neighbor
- r.pi.energy (keep in sync with search.c)
- r.pi.energy.iter (keep in sync with search.c)
- r.pi.export
- r.pi.graph.dec
- r.pi.graph.iter
- r.pi.graph.red
- r.pi.import
- r.pi.prob.mw
- r.pi.searchtime (keep in sync with search.c)
- r.pi.searchtime.iter (keep in sync with search.c)
- r.pi.searchtime.mw (keep in sync with search.c)
-
- outside is NOT neighbor
- r.pi.corearea
- r.pi.enn
- r.pi.enn.iter
- r.pi.fnn
- r.pi.graph
- r.pi.index
- r.pi.neigh
- r.pi.nlm.stats
- r.pi.odc
- r.pi.prox
-
- some modules allow to choose between 4 or 8 neighbors,
but hardcode neighbors to 4 (e.g. r.pi.energy)
-- fix SVN propsets with this helper script when uploading to Addons (Markus will do):
- grass-addons/tools/module_svn_propset.sh
+- fragment IDs: eliminate usage of COORDS *cells and Coords **fragments to
+ save memory
-- some modules use
-#define TYPE_NOTHING 0
- while others use
-#define TYPE_NOTHING -1
- --> suggestion: use -1 everywhere
-
###### can this bug be replicated? #####
r.pi.nlm input=landclass96 keyval=5 output=test --o
More information about the grass-commit
mailing list