Jelajahi Sumber

updated GUIs for i.qc.modis and i.albedo

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33566 15284696-431f-4ddb-bdfa-cd5b030d7da7
Yann Chemin 16 tahun lalu
induk
melakukan
1fbc4529d5
2 mengubah file dengan 21 tambahan dan 0 penghapusan
  1. 6 0
      gui/tcltk/gis.m/gmmenu.tcl
  2. 15 0
      gui/wxpython/gui_modules/menudata.py

+ 6 - 0
gui/tcltk/gis.m/gmmenu.tcl

@@ -544,6 +544,12 @@ set descmenu [subst  {
 		term i.ortho.photo 
 		term i.ortho.photo 
 		set env(GRASS_RENDER_IMMEDIATE) "TRUE"}}
 		set env(GRASS_RENDER_IMMEDIATE) "TRUE"}}
 	{separator}
 	{separator}
+	{cascad {[G_msg "Basic RS processing"]} {} "" $tmenu {			
+				{command {[G_msg "MODIS Quality flags"]} {} "i.qc.modis: Extracts Modis Quality flags as raster values." {} -command {execute i.qc.modis }}
+				{separator}
+				{command {[G_msg "Albedo"]} {} "i.albedo: Calculates Albedo from Modis, Aster, Landsat or AVHRR" {} -command {execute i.albedo }}
+				{separator}
+	}}
 	{command {[G_msg "Brovey sharpening"]} {} "i.fusion.brovey: Brovey transformation and pan sharpening" {} -command {execute i.fusion.brovey }}
 	{command {[G_msg "Brovey sharpening"]} {} "i.fusion.brovey: Brovey transformation and pan sharpening" {} -command {execute i.fusion.brovey }}
 	{cascad {[G_msg "Classify image"]} {} "" $tmenu {			
 	{cascad {[G_msg "Classify image"]} {} "" $tmenu {			
 		{command {[G_msg "Clustering input for unsupervised classification"]} {} "i.cluster: Clustering input for unsupervised classification" {} -command {execute i.cluster }}
 		{command {[G_msg "Clustering input for unsupervised classification"]} {} "i.cluster: Clustering input for unsupervised classification" {} -command {execute i.cluster }}

+ 15 - 0
gui/wxpython/gui_modules/menudata.py

@@ -1613,6 +1613,21 @@ class Data:
                          "i.ortho.photo"),
                          "i.ortho.photo"),
                         ("","","", ""),
                         ("","","", ""),
 
 
+                        (_("Basic RS processing"), (
+
+                                (_("MODIS Quality Flags"),
+                                 _("Extract Modis Quality flags as raster values."),
+                                 "self.OnMenuCmd",
+                                 "i.qc.modis"),
+
+                                (_("Albedo"),
+                                 _("Albedo from Modis, Aster, Landsat, AVHRR."),
+                                 "self.OnMenuCmd",
+                                 "i.albedo"),
+				)
+                         ),
+                        ("","","", ""),
+
                         (_("Brovey sharpening"),
                         (_("Brovey sharpening"),
                          _("Brovey transform to merge multispectral and high-res panchromatic channels"),
                          _("Brovey transform to merge multispectral and high-res panchromatic channels"),
                          "self.OnMenuCmd",
                          "self.OnMenuCmd",