[GRASS-SVN] r60761 - grass/trunk/imagery/i.atcorr

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 8 23:43:30 PDT 2014


Author: neteler
Date: 2014-06-08 23:43:30 -0700 (Sun, 08 Jun 2014)
New Revision: 60761

Modified:
   grass/trunk/imagery/i.atcorr/Iwave.cpp
   grass/trunk/imagery/i.atcorr/Iwave.h
Log:
i.atcorr: fix landsat8 support (fix for #2305)

Modified: grass/trunk/imagery/i.atcorr/Iwave.cpp
===================================================================
--- grass/trunk/imagery/i.atcorr/Iwave.cpp	2014-06-09 03:48:22 UTC (rev 60760)
+++ grass/trunk/imagery/i.atcorr/Iwave.cpp	2014-06-09 06:43:30 UTC (rev 60761)
@@ -3169,7 +3169,7 @@
 	else if(iwave <= 100)   vgt2_spot5(iwave - 96);
 	else if(iwave <= 109)   worldview2(iwave - 100);
 	else if(iwave <= 114)   quickbird2(iwave - 109);
-	else if(iwave <= 115)	landsat_8(iwave - 114);
+	else if(iwave <= 123)	landsat_8(iwave - 114);
 	else G_warning(_("Unsupported iwave value: %d"), iwave);
     }
 

Modified: grass/trunk/imagery/i.atcorr/Iwave.h
===================================================================
--- grass/trunk/imagery/i.atcorr/Iwave.h	2014-06-09 03:48:22 UTC (rev 60760)
+++ grass/trunk/imagery/i.atcorr/Iwave.h	2014-06-09 06:43:30 UTC (rev 60761)
@@ -137,7 +137,7 @@
 c        113 Red      "               ( 0.590-0.710 )                  c
 c        114 NIR      "               ( 0.715-0.918 )                  c
 c        115 Coastal Aerosol of LS8   ( 0.427-0.459 )                  c
-c        116 Blue	  "               ( 0.436-0.527 )                  c 
+c        116 Blue     "               ( 0.436-0.527 )                  c 
 c        117 Green    "               ( 0.512-0.610 )                  c 
 c        118 Red      "               ( 0.625-0.691 )                  c 
 c        119 Pan      "               ( 0.488-0.692 )                  c 



More information about the grass-commit mailing list