[GRASS-SVN] r67794 - in grass/trunk/raster/r.watershed: ram seg

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 9 19:18:09 PST 2016


Author: annakrat
Date: 2016-02-09 19:18:09 -0800 (Tue, 09 Feb 2016)
New Revision: 67794

Modified:
   grass/trunk/raster/r.watershed/ram/close_maps.c
   grass/trunk/raster/r.watershed/seg/close_maps.c
Log:
r.watershed: change warning to message, see #2901

Modified: grass/trunk/raster/r.watershed/ram/close_maps.c
===================================================================
--- grass/trunk/raster/r.watershed/ram/close_maps.c	2016-02-09 17:21:24 UTC (rev 67793)
+++ grass/trunk/raster/r.watershed/ram/close_maps.c	2016-02-10 03:18:09 UTC (rev 67794)
@@ -28,8 +28,8 @@
     if (wat_flag) {
 	fd = Rast_open_new(wat_name, DCELL_TYPE);
 	if (abs_acc) {
-	    G_warning("Writing out only positive flow accumulation values.");
-	    G_warning("Cells with a likely underestimate for flow accumulation can no longer be identified.");
+	    G_message("Writing out only positive flow accumulation values.");
+	    G_message("Cells with a likely underestimate for flow accumulation can no longer be identified.");
 	    for (r = 0; r < nrows; r++) {
 		Rast_set_d_null_value(dbuf, ncols);	/* reset row to all NULL */
 		for (c = 0; c < ncols; c++) {

Modified: grass/trunk/raster/r.watershed/seg/close_maps.c
===================================================================
--- grass/trunk/raster/r.watershed/seg/close_maps.c	2016-02-09 17:21:24 UTC (rev 67793)
+++ grass/trunk/raster/r.watershed/seg/close_maps.c	2016-02-10 03:18:09 UTC (rev 67794)
@@ -23,8 +23,8 @@
 	wabuf = G_malloc(ncols * sizeof(WAT_ALT));
 	seg_flush(&watalt);
 	if (abs_acc) {
-	    G_warning("Writing out only positive flow accumulation values.");
-	    G_warning("Cells with a likely underestimate for flow accumulation can no longer be identified.");
+	    G_message("Writing out only positive flow accumulation values.");
+	    G_message("Cells with a likely underestimate for flow accumulation can no longer be identified.");
 	}
 
 	fd = Rast_open_new(wat_name, DCELL_TYPE);



More information about the grass-commit mailing list