[GRASS-SVN] r38065 - in grass/trunk: imagery/i.atcorr
raster/r.terraflow
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 24 14:30:26 EDT 2009
Author: martinl
Date: 2009-06-24 14:30:26 -0400 (Wed, 24 Jun 2009)
New Revision: 38065
Modified:
grass/trunk/imagery/i.atcorr/main.cpp
grass/trunk/raster/r.terraflow/main.cc
Log:
fix C++ modules - add keywords
Modified: grass/trunk/imagery/i.atcorr/main.cpp
===================================================================
--- grass/trunk/imagery/i.atcorr/main.cpp 2009-06-24 18:26:33 UTC (rev 38064)
+++ grass/trunk/imagery/i.atcorr/main.cpp 2009-06-24 18:30:26 UTC (rev 38065)
@@ -325,8 +325,8 @@
/* loop over all the values in the row */
for(col = 0; col < ncols; col++)
{
- if(vis && Rast_is_f_null_value(&vis[col]) ||
- alt && Rast_is_f_null_value(&alt[col]) ||
+ if((vis && Rast_is_f_null_value(&vis[col])) ||
+ (alt && Rast_is_f_null_value(&alt[col])) ||
Rast_is_f_null_value(&buf[col]))
{
Rast_set_f_null_value(&buf[col], 1);
@@ -436,7 +436,8 @@
module->label = _("Performs atmospheric correction using the 6S algorithm.");
module->description =
_("6S - Second Simulation of Satellite Signal in the Solar Spectrum.");
- module->keywords = _("imagery, atmospheric correction");
+ G_add_keyword(_("imagery"));
+ G_add_keyword(_("atmospheric correction"));
/*
" Incorporated into Grass by Christo A. Zietsman, January 2003.\n"
Modified: grass/trunk/raster/r.terraflow/main.cc
===================================================================
--- grass/trunk/raster/r.terraflow/main.cc 2009-06-24 18:26:33 UTC (rev 38064)
+++ grass/trunk/raster/r.terraflow/main.cc 2009-06-24 18:30:26 UTC (rev 38065)
@@ -451,7 +451,7 @@
#ifdef ELEV_FLOAT
module->description = _("Flow computation for massive grids (Float version).");
#endif
- module->keywords = _("raster");
+ G_add_keyword(_("raster"));
/* read user options; fill in global <opt> */
opt = (userOptions*)malloc(sizeof(userOptions));
More information about the grass-commit
mailing list