[GRASS-SVN] r65691 - grass/trunk/testsuite/raster

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 20 03:37:29 PDT 2015


Author: neteler
Date: 2015-07-20 03:37:29 -0700 (Mon, 20 Jul 2015)
New Revision: 65691

Modified:
   grass/trunk/testsuite/raster/rhemisphere.sh
Log:
testsuite rhemisphere.sh: update r.mapcalc call

Modified: grass/trunk/testsuite/raster/rhemisphere.sh
===================================================================
--- grass/trunk/testsuite/raster/rhemisphere.sh	2015-07-20 10:34:25 UTC (rev 65690)
+++ grass/trunk/testsuite/raster/rhemisphere.sh	2015-07-20 10:37:29 UTC (rev 65691)
@@ -36,13 +36,13 @@
 r="sqrt($X^2 + $Y^2)"
 
 #Mask out unwanted parts (check for <= ??):
-r.mapcalc "$TMP=if($r<$RADIUS,$r,null())"
+r.mapcalc "$TMP = if($r<$RADIUS,$r,null())"
 
 ALPHA="acos ($TMP/$RADIUS)"
 HEIGHT="$RADIUS * sin($ALPHA)"
 
 
-r.mapcalc "hemisphere=$HEIGHT"
+r.mapcalc "hemisphere = $HEIGHT"
 cleanup
 g.message "Generated raster map <hemisphere>"
 #echo "Now generate aspect + slope on <hemisphere>"



More information about the grass-commit mailing list