[GRASS-SVN] r31722 - grass-addons/raster/r.sun_horizon/r.sun2

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jun 16 10:30:44 EDT 2008


Author: hamish
Date: 2008-06-16 10:30:44 -0400 (Mon, 16 Jun 2008)
New Revision: 31722

Modified:
   grass-addons/raster/r.sun_horizon/r.sun2/main.c
Log:
add comment about a nicer way to handle lat=. (Currently that is never used???)

Modified: grass-addons/raster/r.sun_horizon/r.sun2/main.c
===================================================================
--- grass-addons/raster/r.sun_horizon/r.sun2/main.c	2008-06-16 14:24:36 UTC (rev 31721)
+++ grass-addons/raster/r.sun_horizon/r.sun2/main.c	2008-06-16 14:30:44 UTC (rev 31722)
@@ -628,6 +628,9 @@
      * if (parm.lat->answer != NULL)
      * sscanf(parm.lat->answer, "%lf", &latitude);
      */
+/* HB 6/2008: why is the above commented out? instead of sscanf, maybe nicer to use:
+    G_scan_lat(parm.lat->answer, &latitude);
+*/
     if (parm.slopein->answer == NULL)
 	sscanf(parm.slope->answer, "%lf", &singleSlope);
     singleSlope *= deg2rad;



More information about the grass-commit mailing list