[GRASS-SVN] r31167 - grass-addons/gipe/r.out.vic
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Apr 28 20:56:01 EDT 2008
Author: ychemin
Date: 2008-04-28 20:56:00 -0400 (Mon, 28 Apr 2008)
New Revision: 31167
Modified:
grass-addons/gipe/r.out.vic/main.c
Log:
Fixed lat long %.4f decimal bug
Modified: grass-addons/gipe/r.out.vic/main.c
===================================================================
--- grass-addons/gipe/r.out.vic/main.c 2008-04-28 22:10:11 UTC (rev 31166)
+++ grass-addons/gipe/r.out.vic/main.c 2008-04-29 00:56:00 UTC (rev 31167)
@@ -614,7 +614,7 @@
}
fclose(f);
/*Print to soil ascii file*/
- fprintf(g,"%d\t%d\t%6.3f\t%7.3f\t%s\t%7.2f\t%s\n", process, grid_count, latitude-stepy/2, longitude-stepx/2, dummy_data1, d_elevation, dummy_data2);
+ fprintf(g,"%d\t%d\t%7.4f\t%8.4f\t%s\t%7.2f\t%s\n", process, grid_count, latitude-stepy/2, longitude-stepx/2, dummy_data1, d_elevation, dummy_data2);
/*Print to vegetation ascii file*/
/*Grid cell count and number of classes in that grid cell (=1)*/
fprintf(h,"%d 1\n", grid_count);
More information about the grass-commit
mailing list