[GRASS-SVN] r44263 - grass-addons/imagery/i.landsat.acca

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 8 17:04:33 EST 2010


Author: martinl
Date: 2010-11-08 14:04:33 -0800 (Mon, 08 Nov 2010)
New Revision: 44263

Modified:
   grass-addons/imagery/i.landsat.acca/algorithm.c
Log:
i.landsat.acca: remove test for output map


Modified: grass-addons/imagery/i.landsat.acca/algorithm.c
===================================================================
--- grass-addons/imagery/i.landsat.acca/algorithm.c	2010-11-08 21:30:31 UTC (rev 44262)
+++ grass-addons/imagery/i.landsat.acca/algorithm.c	2010-11-08 22:04:33 UTC (rev 44263)
@@ -222,9 +222,6 @@
     double pixel[5], nsdi, rat56;
 
     /* Creation of output file */
-    mapset = G_find_cell2(out->name, "");
-    if (mapset == NULL)
-	G_fatal_error(_("Raster map <%s> not found"), out->name);
     if ((out->fd = G_open_raster_new(out->name, CELL_TYPE)) < 0)
 	G_fatal_error(_("Unable to create raster map <%s>"), out->name);
 



More information about the grass-commit mailing list