[GRASS-SVN] r67438 - grass/trunk/imagery/i.albedo

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 30 10:03:17 PST 2015


Author: ychemin
Date: 2015-12-30 10:03:17 -0800 (Wed, 30 Dec 2015)
New Revision: 67438

Modified:
   grass/trunk/imagery/i.albedo/bb_alb_aster2bands.c
   grass/trunk/imagery/i.albedo/functions.h
Log:
corrected double definition for Aster problem

Modified: grass/trunk/imagery/i.albedo/bb_alb_aster2bands.c
===================================================================
--- grass/trunk/imagery/i.albedo/bb_alb_aster2bands.c	2015-12-30 17:57:43 UTC (rev 67437)
+++ grass/trunk/imagery/i.albedo/bb_alb_aster2bands.c	2015-12-30 18:03:17 UTC (rev 67438)
@@ -6,7 +6,7 @@
  * https://www.fig.net/resources/proceedings/fig_proceedings/fig2014/papers/ts05g/TS05G_salleh_chan_6910.pdf
  * Input: Ref1, Ref3
  */
-double bb_alb_aster(double greenchan, double nirchan, double swirchan2)
+double bb_alb_aster2bands(double greenchan, double nirchan)
 {
     double result =
 	(0.697 * greenchan + 0.298 * nirchan - 0.008);

Modified: grass/trunk/imagery/i.albedo/functions.h
===================================================================
--- grass/trunk/imagery/i.albedo/functions.h	2015-12-30 17:57:43 UTC (rev 67437)
+++ grass/trunk/imagery/i.albedo/functions.h	2015-12-30 18:03:17 UTC (rev 67438)
@@ -2,6 +2,7 @@
 /* 2004 */
 
 /* BB_albedo functions */
+double bb_alb_aster2bands(double greenchan, double nirchan);
 double bb_alb_aster(double greenchan, double redchan, double nirchan,
 		    double swirchan1, double swirchan2, double swirchan3,
 		    double swirchan4, double swirchan5, double swirchan6);



More information about the grass-commit mailing list