[GRASS-SVN] r37411 - grass-addons/grass7/imagery/i.landsat.toar

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 24 06:01:52 EDT 2009


Author: ejtizado
Date: 2009-05-24 06:01:52 -0400 (Sun, 24 May 2009)
New Revision: 37411

Modified:
   grass-addons/grass7/imagery/i.landsat.toar/main.c
Log:


Modified: grass-addons/grass7/imagery/i.landsat.toar/main.c
===================================================================
--- grass-addons/grass7/imagery/i.landsat.toar/main.c	2009-05-24 06:00:05 UTC (rev 37410)
+++ grass-addons/grass7/imagery/i.landsat.toar/main.c	2009-05-24 10:01:52 UTC (rev 37411)
@@ -284,13 +284,6 @@
 	else if (strcasecmp(metho->answer, "dos4") == 0)	method = DOS4;
 	else method = UNCORRECTED;
 
-// 	if (metho->answer[3] == 'r') 		method = CORRECTED;
-// 	else if (metho->answer[3] == '1')	method = DOS1;
-// 	else if (metho->answer[3] == '2')	method = (metho->answer[4] == '\0') ? DOS2 : DOS2b;
-// 	else if (metho->answer[3] == '3')	method = DOS3;
-// 	else if (metho->answer[3] == '4')	method = DOS4;
-// 	else method = UNCORRECTED;
-
 	for (i = 0; i < lsat.bands; i++)
 	{
 		dn_mode[i] = 0;
@@ -358,7 +351,6 @@
 			h_max = 0L;
 			for (j= lsat.band[i].qcalmin; j < 241; j++) /* Exclude potentially saturated <= 240 */
 			{
-// 				printf("%d-%ld\n", j, hist[j]);
 				if (hist[j] > h_max)
 				{
 					h_max = hist[j];



More information about the grass-commit mailing list