[GRASS-SVN] r65692 - grass/branches/releasebranch_7_0/testsuite/raster
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jul 20 03:37:52 PDT 2015
Author: neteler
Date: 2015-07-20 03:37:52 -0700 (Mon, 20 Jul 2015)
New Revision: 65692
Modified:
grass/branches/releasebranch_7_0/testsuite/raster/rhemisphere.sh
Log:
testsuite rhemisphere.sh: update r.mapcalc call
Modified: grass/branches/releasebranch_7_0/testsuite/raster/rhemisphere.sh
===================================================================
--- grass/branches/releasebranch_7_0/testsuite/raster/rhemisphere.sh 2015-07-20 10:37:29 UTC (rev 65691)
+++ grass/branches/releasebranch_7_0/testsuite/raster/rhemisphere.sh 2015-07-20 10:37:52 UTC (rev 65692)
@@ -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