[GRASS-SVN] r69033 - grass/trunk/imagery/i.vi
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jul 24 16:37:29 PDT 2016
Author: neteler
Date: 2016-07-24 16:37:29 -0700 (Sun, 24 Jul 2016)
New Revision: 69033
Modified:
grass/trunk/imagery/i.vi/main.c
Log:
i.vi: print msg which index is actually calculated; fix ARVI name
Modified: grass/trunk/imagery/i.vi/main.c
===================================================================
--- grass/trunk/imagery/i.vi/main.c 2016-07-24 13:23:55 UTC (rev 69032)
+++ grass/trunk/imagery/i.vi/main.c 2016-07-24 23:37:29 UTC (rev 69033)
@@ -112,7 +112,7 @@
G_asprintf(&desc,
"arvi;%s;dvi;%s;evi;%s;evi2;%s;gvi;%s;gari;%s;gemi;%s;ipvi;%s;msavi;%s;"
"msavi2;%s;ndvi;%s;pvi;%s;savi;%s;sr;%s;vari;%s;wdvi;%s",
- _("Atmospherically Resistant Vegetation Indices"),
+ _("Atmospherically Resistant Vegetation Index"),
_("Difference Vegetation Index"),
_("Enhanced Vegetation Index"),
_("Enhanced Vegetation Index 2"),
@@ -222,6 +222,7 @@
if(opt.bits->answer)
dnbits = atof(opt.bits->answer);
result = opt.output->answer;
+ G_message(_("Calculating %s"), viflag);
if (!strcasecmp(viflag, "sr") && (!(opt.red->answer) || !(opt.nir->answer)) )
G_fatal_error(_("sr index requires red and nir maps"));
More information about the grass-commit
mailing list