[GRASS-SVN] r31823 - grass-addons/gipe/i.eb.h_SEBAL95

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jun 23 08:55:30 EDT 2008


Author: ychemin
Date: 2008-06-23 08:55:30 -0400 (Mon, 23 Jun 2008)
New Revision: 31823

Modified:
   grass-addons/gipe/i.eb.h_SEBAL95/main.c
Log:
bug fixing

Modified: grass-addons/gipe/i.eb.h_SEBAL95/main.c
===================================================================
--- grass-addons/gipe/i.eb.h_SEBAL95/main.c	2008-06-23 12:30:28 UTC (rev 31822)
+++ grass-addons/gipe/i.eb.h_SEBAL95/main.c	2008-06-23 12:55:30 UTC (rev 31823)
@@ -669,9 +669,9 @@
 		/*DRY PIXEL*/
 		if(flag3->answer){
 			/*Calculate coordinates of row/col from projected ones*/
-			row_dry = ( ymax - row_dry ) / stepy ;
-			col_dry = ( col_dry - xmin ) / stepx ;
-			G_message("Dry Pixel | row:%i col:%i",row_dry,col_dry);
+			row = ( ymax - row_dry ) / stepy ;
+			col = ( col_dry - xmin ) / stepx ;
+			G_message("Dry Pixel | row:%i col:%i",row,col);
 		} else {
 			row=row_dry;
 			col=col_dry;
@@ -740,9 +740,9 @@
 		/*WET PIXEL*/
 		if(flag3->answer){
 			/*Calculate coordinates of row/col from projected ones*/
-			row_wet = ( ymax - row_wet ) / stepy ;
-			col_wet = ( col_wet - xmin ) / stepx ;
-			G_message("Wet Pixel | row:%i col:%i",row_wet,col_wet);
+			row = ( ymax - row_wet ) / stepy ;
+			col = ( col_wet - xmin ) / stepx ;
+			G_message("Wet Pixel | row:%i col:%i",row,col);
 		} else {
 			row=row_wet;
 			col=col_wet;



More information about the grass-commit mailing list