[GRASS-SVN] r43977 - grass-addons/imagery/i.topo.corr
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 19 18:53:43 EDT 2010
Author: ejtizado
Date: 2010-10-19 15:53:43 -0700 (Tue, 19 Oct 2010)
New Revision: 43977
Modified:
grass-addons/imagery/i.topo.corr/test_i.topo.corr_synthetic_DEM_NC.sh
Log:
some corrections
Modified: grass-addons/imagery/i.topo.corr/test_i.topo.corr_synthetic_DEM_NC.sh
===================================================================
--- grass-addons/imagery/i.topo.corr/test_i.topo.corr_synthetic_DEM_NC.sh 2010-10-18 20:38:11 UTC (rev 43976)
+++ grass-addons/imagery/i.topo.corr/test_i.topo.corr_synthetic_DEM_NC.sh 2010-10-19 22:53:43 UTC (rev 43977)
@@ -46,8 +46,9 @@
# shade relief
r.shaded.relief map=myplane_pyr shadedmap=myplane_pyr_shaded altitude=$sunangleabovehorizon azimuth=$sunazimuth
+d.mon stop=x0
d.mon x0
-d.rast myplane_pyr_shaded
+d.rast.leg myplane_pyr_shaded
# pre-run: illumination map
i.topo.corr -i input=myplane_pyr_shaded output=myplane_pyr_illumination basemap=myplane_pyr zenith=$solarzenith azimuth=$sunazimuth method=c-factor
@@ -60,19 +61,22 @@
## test it:
# percent
METHOD=percent
-i.topo.corr input=myplane_pyr_shaded output=myplane_pyr_topocorr_percent basemap=myplane_pyr_illumination zenith=$solarzenith method=$METHOD
+i.topo.corr input=myplane_pyr_shaded output=myplane_pyr_topocorr_${METHOD} basemap=myplane_pyr_illumination zenith=$solarzenith method=$METHOD
+d.mon stop=x1
d.mon x1
d.rast.leg myplane_pyr_topocorr_${METHOD}.myplane_pyr_shaded
# minnaert
METHOD=minnaert
-i.topo.corr input=myplane_pyr_shaded output=myplane_pyr_topocorr_percent basemap=myplane_pyr_illumination zenith=$solarzenith method=$METHOD
+i.topo.corr input=myplane_pyr_shaded output=myplane_pyr_topocorr_${METHOD} basemap=myplane_pyr_illumination zenith=$solarzenith method=$METHOD
+d.mon stop=x2
d.mon x2
d.rast.leg myplane_pyr_topocorr_${METHOD}.myplane_pyr_shaded
# c-factor
METHOD=c-factor
-i.topo.corr input=myplane_pyr_shaded output=myplane_pyr_topocorr_percent basemap=myplane_pyr_illumination zenith=$solarzenith method=$METHOD
+i.topo.corr input=myplane_pyr_shaded output=myplane_pyr_topocorr_${METHOD} basemap=myplane_pyr_illumination zenith=$solarzenith method=$METHOD
+d.mon stop=x3
d.mon x3
-d.rast.leg myplane_pyr_topocorr_cfactor.myplane_pyr_shaded
+d.rast.leg myplane_pyr_topocorr_${METHOD}.myplane_pyr_shaded
More information about the grass-commit
mailing list