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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 21 04:31:26 EDT 2008


Author: ychemin
Date: 2008-07-21 04:31:25 -0400 (Mon, 21 Jul 2008)
New Revision: 32188

Modified:
   grass-addons/gipe/i.eb.h_SEBAL95/main.c
Log:
Updated reporting for manual pixels

Modified: grass-addons/gipe/i.eb.h_SEBAL95/main.c
===================================================================
--- grass-addons/gipe/i.eb.h_SEBAL95/main.c	2008-07-21 08:08:07 UTC (rev 32187)
+++ grass-addons/gipe/i.eb.h_SEBAL95/main.c	2008-07-21 08:31:25 UTC (rev 32188)
@@ -685,6 +685,8 @@
 			row = (int) (( ymax - m_row_dry ) / (double) stepy) ;
 			col = (int) (( m_col_dry - xmin ) / (double) stepx) ;
 			G_message("Dry Pixel | row:%i col:%i",row,col);
+			m_row_dry = row;
+			m_col_dry = col;
 		} else {
 			row = (int) m_row_dry;
 			col = (int) m_col_dry;
@@ -758,6 +760,8 @@
 			row = (int) (( ymax - m_row_wet ) / (double) stepy) ;
 			col = (int) (( m_col_wet - xmin ) / (double) stepx) ;
 			G_message("Wet Pixel | row:%i col:%i",row,col);
+			m_row_wet = row;
+			m_col_wet = col;
 		} else {
 			row = m_row_wet;
 			col = m_col_wet;
@@ -779,9 +783,8 @@
 		d_tempk_wet	= d_tempk;
 		G_message("Manual Pixels\n");
 		G_message("***************************\n");
-		G_message("tempk_min=%f\ntempk_max=%f\n",tempk_min,tempk_max);
-		G_message("row_wet=%d\tcol_wet=%d\n",row_wet,col_wet);
-		G_message("row_dry=%d\tcol_dry=%d\n",row_dry,col_dry);
+		G_message("row_wet=%d\tcol_wet=%d\n",(int) m_row_wet,(int) m_col_wet);
+		G_message("row_dry=%d\tcol_dry=%d\n",(int) m_row_dry,(int) m_col_dry);
 		G_message("tempk_wet=%f\n",d_tempk_wet);
 		G_message("tempk_dry=%f\n",d_tempk_dry);
 		G_message("dem_dry=%f\n",d_dem_dry);



More information about the grass-commit mailing list