[GRASS-SVN] r34124 - grass-addons/gipe/i.modis.stateqa
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Oct 31 08:48:25 EDT 2008
Author: ychemin
Date: 2008-10-31 08:48:25 -0400 (Fri, 31 Oct 2008)
New Revision: 34124
Modified:
grass-addons/gipe/i.modis.stateqa/main.c
grass-addons/gipe/i.modis.stateqa/stateqa500b.c
grass-addons/gipe/i.modis.stateqa/stateqa500c.c
grass-addons/gipe/i.modis.stateqa/stateqa500d.c
grass-addons/gipe/i.modis.stateqa/stateqa500e.c
grass-addons/gipe/i.modis.stateqa/stateqa500f.c
grass-addons/gipe/i.modis.stateqa/stateqa500g.c
grass-addons/gipe/i.modis.stateqa/stateqa500h.c
grass-addons/gipe/i.modis.stateqa/stateqa500i.c
grass-addons/gipe/i.modis.stateqa/stateqa500j.c
grass-addons/gipe/i.modis.stateqa/stateqa500k.c
Log:
added descriptions for roll-down menus
Modified: grass-addons/gipe/i.modis.stateqa/main.c
===================================================================
--- grass-addons/gipe/i.modis.stateqa/main.c 2008-10-31 09:41:00 UTC (rev 34123)
+++ grass-addons/gipe/i.modis.stateqa/main.c 2008-10-31 12:48:25 UTC (rev 34124)
@@ -71,7 +71,17 @@
input1->required = YES;
input1->gisprompt = _("Name of QC type to extract");
input1->description = _("Name of QC");
- input1->options = "cloud_state,cloud_shadow,land_water_flag,aerosol_quantity,cirrus_detected,internal_cloud_alg_flag,internal_fire_alg_flag,MOD35_snow_ice_flag,pixel_adjacent_to_cloud,brdf_correction,internal_snow_mask";
+ input1->descriptions =_("cloud_state;Cloud State;"
+ "cloud_shadow;Cloud Shadow;"
+ "land_water_flag;Land or Water Flag;"
+ "aerosol_quantity;Quantity of Aerosol;"
+ "cirrus_detected;If Cirrus Were Detected;"
+ "internal_cloud_alg_flag;Flag for Internal Cloud Algorithm;"
+ "internal_fire_alg_flag;Flag for Internal Fire Algorithm;"
+ "MOD35_snow_ice_flag;Flag for Snow and Ice from MOD35;"
+ "pixel_adjacent_to_cloud;Flag Pixel Adjacent to Cloud;"
+ "brdf_correction;Flag for Correction of BRDF;"
+ "internal_snow_mask;Internal Mask for Snow;");
input1->answer = _("cloud_state");
input2 = G_define_standard_option(G_OPT_R_INPUT);
Modified: grass-addons/gipe/i.modis.stateqa/stateqa500b.c
===================================================================
--- grass-addons/gipe/i.modis.stateqa/stateqa500b.c 2008-10-31 09:41:00 UTC (rev 34123)
+++ grass-addons/gipe/i.modis.stateqa/stateqa500b.c 2008-10-31 12:48:25 UTC (rev 34124)
@@ -9,7 +9,7 @@
{
CELL qctemp;
- pixel >> 2;
+ pixel >>= 2;
qctemp = pixel & 0x01;
return qctemp;
Modified: grass-addons/gipe/i.modis.stateqa/stateqa500c.c
===================================================================
--- grass-addons/gipe/i.modis.stateqa/stateqa500c.c 2008-10-31 09:41:00 UTC (rev 34123)
+++ grass-addons/gipe/i.modis.stateqa/stateqa500c.c 2008-10-31 12:48:25 UTC (rev 34124)
@@ -15,7 +15,7 @@
{
CELL qctemp;
- pixel >> 3;
+ pixel >>= 3;
qctemp = pixel & 0x07;
return qctemp;
Modified: grass-addons/gipe/i.modis.stateqa/stateqa500d.c
===================================================================
--- grass-addons/gipe/i.modis.stateqa/stateqa500d.c 2008-10-31 09:41:00 UTC (rev 34123)
+++ grass-addons/gipe/i.modis.stateqa/stateqa500d.c 2008-10-31 12:48:25 UTC (rev 34124)
@@ -11,7 +11,7 @@
{
CELL qctemp;
- pixel >> 6;
+ pixel >>= 6;
qctemp = pixel & 0x03;
return qctemp;
Modified: grass-addons/gipe/i.modis.stateqa/stateqa500e.c
===================================================================
--- grass-addons/gipe/i.modis.stateqa/stateqa500e.c 2008-10-31 09:41:00 UTC (rev 34123)
+++ grass-addons/gipe/i.modis.stateqa/stateqa500e.c 2008-10-31 12:48:25 UTC (rev 34124)
@@ -11,7 +11,7 @@
{
CELL qctemp;
- pixel >> 8;
+ pixel >>= 8;
qctemp = pixel & 0x03;
return qctemp;
Modified: grass-addons/gipe/i.modis.stateqa/stateqa500f.c
===================================================================
--- grass-addons/gipe/i.modis.stateqa/stateqa500f.c 2008-10-31 09:41:00 UTC (rev 34123)
+++ grass-addons/gipe/i.modis.stateqa/stateqa500f.c 2008-10-31 12:48:25 UTC (rev 34124)
@@ -9,7 +9,7 @@
{
CELL qctemp;
- pixel >> 10;
+ pixel >>= 10;
qctemp = pixel & 0x01;
return qctemp;
Modified: grass-addons/gipe/i.modis.stateqa/stateqa500g.c
===================================================================
--- grass-addons/gipe/i.modis.stateqa/stateqa500g.c 2008-10-31 09:41:00 UTC (rev 34123)
+++ grass-addons/gipe/i.modis.stateqa/stateqa500g.c 2008-10-31 12:48:25 UTC (rev 34124)
@@ -9,7 +9,7 @@
{
CELL qctemp;
- pixel >> 11;
+ pixel >>= 11;
qctemp = pixel & 0x01;
return qctemp;
Modified: grass-addons/gipe/i.modis.stateqa/stateqa500h.c
===================================================================
--- grass-addons/gipe/i.modis.stateqa/stateqa500h.c 2008-10-31 09:41:00 UTC (rev 34123)
+++ grass-addons/gipe/i.modis.stateqa/stateqa500h.c 2008-10-31 12:48:25 UTC (rev 34124)
@@ -9,7 +9,7 @@
{
CELL qctemp;
- pixel >> 12;
+ pixel >>= 12;
qctemp = pixel & 0x01;
return qctemp;
Modified: grass-addons/gipe/i.modis.stateqa/stateqa500i.c
===================================================================
--- grass-addons/gipe/i.modis.stateqa/stateqa500i.c 2008-10-31 09:41:00 UTC (rev 34123)
+++ grass-addons/gipe/i.modis.stateqa/stateqa500i.c 2008-10-31 12:48:25 UTC (rev 34124)
@@ -9,7 +9,7 @@
{
CELL qctemp;
- pixel >> 13;
+ pixel >>= 13;
qctemp = pixel & 0x01;
return qctemp;
Modified: grass-addons/gipe/i.modis.stateqa/stateqa500j.c
===================================================================
--- grass-addons/gipe/i.modis.stateqa/stateqa500j.c 2008-10-31 09:41:00 UTC (rev 34123)
+++ grass-addons/gipe/i.modis.stateqa/stateqa500j.c 2008-10-31 12:48:25 UTC (rev 34124)
@@ -9,7 +9,7 @@
{
CELL qctemp;
- pixel >> 14;
+ pixel >>= 14;
qctemp = pixel & 0x01;
return qctemp;
Modified: grass-addons/gipe/i.modis.stateqa/stateqa500k.c
===================================================================
--- grass-addons/gipe/i.modis.stateqa/stateqa500k.c 2008-10-31 09:41:00 UTC (rev 34123)
+++ grass-addons/gipe/i.modis.stateqa/stateqa500k.c 2008-10-31 12:48:25 UTC (rev 34124)
@@ -9,7 +9,7 @@
{
CELL qctemp;
- pixel >> 15;
+ pixel >>= 15;
qctemp = pixel & 0x01;
return qctemp;
More information about the grass-commit
mailing list