[GRASS-SVN] r47568 - grass-addons/grass7/imagery/i.topo.corr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 11 17:13:11 EDT 2011


Author: neteler
Date: 2011-08-11 14:13:11 -0700 (Thu, 11 Aug 2011)
New Revision: 47568

Modified:
   grass-addons/grass7/imagery/i.topo.corr/test_i.topo.corr_synthetic_DEM_NC.sh
Log:
suppress unwanted d.mon output

Modified: grass-addons/grass7/imagery/i.topo.corr/test_i.topo.corr_synthetic_DEM_NC.sh
===================================================================
--- grass-addons/grass7/imagery/i.topo.corr/test_i.topo.corr_synthetic_DEM_NC.sh	2011-08-11 21:05:05 UTC (rev 47567)
+++ grass-addons/grass7/imagery/i.topo.corr/test_i.topo.corr_synthetic_DEM_NC.sh	2011-08-11 21:13:11 UTC (rev 47568)
@@ -47,7 +47,7 @@
 
 # shade relief
 r.shaded.relief input=myplane_pyr output=myplane_pyr_shaded altitude=$sunangleabovehorizon azimuth=$sunazimuth
-d.mon stop=wx0 > /dev/null
+d.mon stop=wx0 2> /dev/null
 d.mon wx0
 d.rast myplane_pyr_shaded
 
@@ -68,7 +68,7 @@
 # making the 'band' reflectance file from the shade map
 r.mapcalc "myplane_pyr_band = double((myplane_pyr_shaded - 60.)/18.)"
 r.colors myplane_pyr_band color=gyr
-d.mon stop=wx0 > /dev/null
+d.mon stop=wx0 2> /dev/null
 d.mon wx0
 d.rast myplane_pyr_band
 d.legend myplane_pyr_band
@@ -78,7 +78,7 @@
 # percent
 METHOD=percent
 i.topo.corr input=myplane_pyr_band output=myplane_pyr_topocorr_${METHOD} basemap=myplane_pyr_illumination zenith=$solarzenith method=$METHOD
-d.mon stop=wx1 > /dev/null
+d.mon stop=wx1 2> /dev/null
 d.mon wx1
 d.rast.leg myplane_pyr_topocorr_${METHOD}.myplane_pyr_band
 echo "METHOD=percent" | d.text color=black
@@ -86,7 +86,7 @@
 # minnaert
 METHOD=minnaert
 i.topo.corr input=myplane_pyr_band output=myplane_pyr_topocorr_${METHOD} basemap=myplane_pyr_illumination zenith=$solarzenith method=$METHOD
-d.mon stop=wx2 > /dev/null
+d.mon stop=wx2 2> /dev/null
 d.mon wx2
 d.rast.leg myplane_pyr_topocorr_${METHOD}.myplane_pyr_band
 echo "METHOD=minnaert" | d.text color=black
@@ -94,7 +94,7 @@
 # c-factor
 METHOD=c-factor
 i.topo.corr input=myplane_pyr_band output=myplane_pyr_topocorr_${METHOD} basemap=myplane_pyr_illumination zenith=$solarzenith method=$METHOD
-d.mon stop=wx3 > /dev/null
+d.mon stop=wx3 2> /dev/null
 d.mon wx3
 d.rast.leg myplane_pyr_topocorr_${METHOD}.myplane_pyr_band
 echo "METHOD=c-factor" | d.text color=black
@@ -102,7 +102,7 @@
 # cosine
 METHOD=cosine
 i.topo.corr input=myplane_pyr_band output=myplane_pyr_topocorr_${METHOD} basemap=myplane_pyr_illumination zenith=$solarzenith method=$METHOD
-d.mon stop=wx4 > /dev/null
+d.mon stop=wx4 2> /dev/null
 d.mon wx4
 d.rast.leg myplane_pyr_topocorr_${METHOD}.myplane_pyr_band
 echo "METHOD=cosine" | d.text color=black



More information about the grass-commit mailing list