[GRASS-SVN] r37412 - grass-addons/imagery/i.landsat.toar
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun May 24 06:06:19 EDT 2009
Author: ejtizado
Date: 2009-05-24 06:06:18 -0400 (Sun, 24 May 2009)
New Revision: 37412
Modified:
grass-addons/imagery/i.landsat.toar/main.c
Log:
some double-slash comment deleted
Modified: grass-addons/imagery/i.landsat.toar/main.c
===================================================================
--- grass-addons/imagery/i.landsat.toar/main.c 2009-05-24 10:01:52 UTC (rev 37411)
+++ grass-addons/imagery/i.landsat.toar/main.c 2009-05-24 10:06:18 UTC (rev 37412)
@@ -285,14 +285,14 @@
else if (G_strcasecmp(metho->answer, "dos3") == 0) method = DOS3;
else if (G_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;
-
+/*
+ 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;
@@ -360,7 +360,6 @@
h_max = 0L;
for (j= lsat.band[i].qcalmin; j < 241; j++) /* Exclude ptentially 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