[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grass-commit
Subject:    [GRASS-SVN] r69034 - grass/branches/releasebranch_7_2/imagery/i.vi
From:       svn_grass () osgeo ! org
Date:       2016-07-24 23:37:59
Message-ID: 20160724233759.6BC58390148 () trac ! osgeo ! org
[Download RAW message or body]

Author: neteler
Date: 2016-07-24 16:37:59 -0700 (Sun, 24 Jul 2016)
New Revision: 69034

Modified:
   grass/branches/releasebranch_7_2/imagery/i.vi/main.c
Log:
i.vi: print msg which index is actually calculated; fix ARVI name

Modified: grass/branches/releasebranch_7_2/imagery/i.vi/main.c
===================================================================
--- grass/branches/releasebranch_7_2/imagery/i.vi/main.c	2016-07-24 23:37:29 UTC (rev 69033)
+++ grass/branches/releasebranch_7_2/imagery/i.vi/main.c	2016-07-24 23:37:59 UTC (rev 69034)
@@ -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"));

_______________________________________________
grass-commit mailing list
grass-commit@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic