浏览代码

testsuite rhemisphere.sh: update r.mapcalc call

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@65692 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 年之前
父节点
当前提交
bed492eded
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      testsuite/raster/rhemisphere.sh

+ 2 - 2
testsuite/raster/rhemisphere.sh

@@ -36,13 +36,13 @@ Y="($RADIUS - row())"
 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>"