[GRASS-SVN] r37111 - grass/trunk/imagery/i.atcorr/test_suite
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun May 10 13:18:55 EDT 2009
Author: neteler
Date: 2009-05-10 13:18:55 -0400 (Sun, 10 May 2009)
New Revision: 37111
Modified:
grass/trunk/imagery/i.atcorr/test_suite/README.txt
Log:
added DEM
Modified: grass/trunk/imagery/i.atcorr/test_suite/README.txt
===================================================================
--- grass/trunk/imagery/i.atcorr/test_suite/README.txt 2009-05-10 17:18:34 UTC (rev 37110)
+++ grass/trunk/imagery/i.atcorr/test_suite/README.txt 2009-05-10 17:18:55 UTC (rev 37111)
@@ -13,18 +13,20 @@
# set region to this map
g.region rast=ETM4_400x400.raw
+# create synthetic DEM, close to sea level
+r.mapcalc "atcorr_dem = 10.0"
+
# run atmospheric correction on imported channel 4:
i.atcorr -r --o iimg=ETM4_400x400.raw \
icnd=./ETM4_atmospheric_input_GRASS.txt \
- ialt=dem \
+ ialt=atcorr_dem \
oimg=ETM4_400x400.corrected
# import already corrected test data set for comparison:
r.in.gdal ETM4_400x400_atms_corr.raw out=ETM4_400x400_atms_corr -o
# compare:
-r.mapcalc "diff = ETM4_400x400_atms_corr - ETM4_400x400.corrected"
-r.colors diff color=differences
+r.mapcalc "atcorr_diff = ETM4_400x400_atms_corr - ETM4_400x400.corrected"
+r.colors atcorr_diff color=differences
-r.univar diff
-
+r.univar atcorr_diff
More information about the grass-commit
mailing list