[GRASS-SVN] r33703 - in grass/trunk: gui/tcltk/gis.m gui/wxpython/gui_modules imagery imagery/i.modis.qc

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Oct 6 23:11:34 EDT 2008


Author: ychemin
Date: 2008-10-06 23:11:34 -0400 (Mon, 06 Oct 2008)
New Revision: 33703

Added:
   grass/trunk/imagery/i.modis.qc/
   grass/trunk/imagery/i.modis.qc/i.modis.qc.html
Removed:
   grass/trunk/imagery/i.modis.qc/i.qc.modis.html
   grass/trunk/imagery/i.qc.modis/
Modified:
   grass/trunk/gui/tcltk/gis.m/gmmenu.tcl
   grass/trunk/gui/wxpython/gui_modules/menudata.py
   grass/trunk/imagery/i.modis.qc/Makefile
   grass/trunk/imagery/i.modis.qc/main.c
Log:
renamed i.qc.modis to i.modis.qc

Modified: grass/trunk/gui/tcltk/gis.m/gmmenu.tcl
===================================================================
--- grass/trunk/gui/tcltk/gis.m/gmmenu.tcl	2008-10-07 02:29:57 UTC (rev 33702)
+++ grass/trunk/gui/tcltk/gis.m/gmmenu.tcl	2008-10-07 03:11:34 UTC (rev 33703)
@@ -545,7 +545,7 @@
 		set env(GRASS_RENDER_IMMEDIATE) "TRUE"}}
 	{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 }}
+				{command {[G_msg "MODIS Quality flags"]} {} "i.modis.qc: Extracts Modis Quality flags as raster values." {} -command {execute i.modis.qc }}
 				{separator}
 				{command {[G_msg "Albedo"]} {} "i.albedo: Calculates Albedo from Modis, Aster, Landsat or AVHRR" {} -command {execute i.albedo }}
 				{separator}

Modified: grass/trunk/gui/wxpython/gui_modules/menudata.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menudata.py	2008-10-07 02:29:57 UTC (rev 33702)
+++ grass/trunk/gui/wxpython/gui_modules/menudata.py	2008-10-07 03:11:34 UTC (rev 33703)
@@ -1618,7 +1618,7 @@
                                 (_("MODIS Quality Flags"),
                                  _("Extract Modis Quality flags as raster values."),
                                  "self.OnMenuCmd",
-                                 "i.qc.modis"),
+                                 "i.modis.qc"),
 	                        ("","","", ""),
 
                                 (_("Albedo"),

Copied: grass/trunk/imagery/i.modis.qc (from rev 33702, grass/trunk/imagery/i.qc.modis)


Property changes on: grass/trunk/imagery/i.modis.qc
___________________________________________________________________
Name: svn:ignore
   + *OBJ*

Name: svn:mergeinfo
   + 

Modified: grass/trunk/imagery/i.modis.qc/Makefile
===================================================================
--- grass/trunk/imagery/i.qc.modis/Makefile	2008-10-07 02:29:57 UTC (rev 33702)
+++ grass/trunk/imagery/i.modis.qc/Makefile	2008-10-07 03:11:34 UTC (rev 33703)
@@ -1,6 +1,6 @@
 MODULE_TOPDIR = ../..
 
-PGM = i.qc.modis
+PGM = i.modis.qc
 
 LIBES = $(GISLIB)
 DEPENDENCIES = $(GISDEP)

Copied: grass/trunk/imagery/i.modis.qc/i.modis.qc.html (from rev 33702, grass/trunk/imagery/i.qc.modis/i.qc.modis.html)
===================================================================
--- grass/trunk/imagery/i.modis.qc/i.modis.qc.html	                        (rev 0)
+++ grass/trunk/imagery/i.modis.qc/i.modis.qc.html	2008-10-07 03:11:34 UTC (rev 33703)
@@ -0,0 +1,97 @@
+<H2>DESCRIPTION</H2>
+
+<EM>i.modis.qc</EM> Extracts Requested Quality Assessment flags from Modis 09 A and Q products 
+(Surface_reflectance_250/500m_quality_control_flags).
+This does not yet include QA_state_500m layer (see Notes and TODO).
+
+<pre>
+<EM>MODLAND QA Bits 250m/500m bits[0-1]</EM>
+</pre>
+<ul>
+ <li>[00]= class 0: Corrected product produced at ideal quality -- all bands</li>
+ <li>[01]= class 1: Corrected product produced at less than ideal quality -- some or all bands</li>
+ <li>[10]= class 2: Corrected product NOT produced due to cloud effect -- all bands</li>
+ <li>[11]= class 3: Corrected product NOT produced due to other reasons -- some or all bands maybe be fill value (Note that a value of [11] overrides a value of [01])</li>
+</ul>
+
+<pre>
+<EM>Cloud State 250m Unsigned Int bits[2-3] </EM>
+</pre>
+<ul>
+ <li>[00]= class 0: Clear -- No clouds</li>
+ <li>[01]= class 1: Cloudy</li>
+ <li>[10]= class 2: Mixed</li>
+ <li>[11]= class 3: Not Set ; Assumed Clear</li>
+</ul>
+
+<pre>
+<EM>Band-wise Data Quality 250m Unsigned Int bits[4-7][8-11]</EM>
+<EM>Band-wise Data Quality 500m long Int bits[2-5][6-9][10-13][14-17][18-21][22-25][26-29]</EM>
+</pre>
+<ul>
+ <li>[0000]= class 0: highest quality</li>
+ <li>[0111]= class 1: noisy detector</li>
+ <li>[1000]= class 2: dead detector; data interpolated in L1B</li>
+ <li>[1001]= class 3: solar zenith ge 86 degrees</li>
+ <li>[1010]= class 4: solar zenith ge 85 and lt 86 degrees</li>
+ <li>[1011]= class 5: missing input</li>
+ <li>[1100]= class 6: internal constant used in place of climatological data for at least one atmospheric constant</li>
+ <li>[1101]= class 7: correction out of bounds, pixel constrained to extreme allowable value</li>
+ <li>[1110]= class 8: L1B data faulty</li>
+ <li>[1111]= class 9: not processed due to deep ocean or cloud</li>
+ <li>Class 10-15: Combination of bits unused</li>
+</ul>
+
+<pre>
+<EM>Atmospheric correction 250m/500m bit[12]/[30]</EM>
+</pre>
+<ul>
+ <li>[0]= class 0: Not Corrected product</li>
+ <li>[1]= class 1: Corrected product</li>
+</ul>
+
+<pre>
+<EM>Adjacency correction 250m/500m bit[13][31]</EM>
+</pre>
+<ul>
+ <li>[0]= class 0: Not Corrected product</li>
+ <li>[1]= class 1: Corrected product</li>
+</ul>
+
+<pre>
+<EM>Different orbit from 500m product, 250m Unsigned Int bit[14]</EM>
+</pre>
+<ul>
+ <li>[0]= class 0: same orbit as 500m</li>
+ <li>[1]= class 1: different orbit from 500m</li>
+</ul>
+
+
+<H2>NOTES</H2>
+It seems that cloud related info is not filled properly since version 3.
+State-QA 500m images should be used (see Vermote et al., 2008).
+
+<H2>TODO</H2>
+STATE-QA500m flag Processing should be included for detailed cloud status. 
+More testing is required.
+
+<H2>SEE ALSO</H2>
+
+Vermote E.F., Kotchenova S.Y., Ray J.P.
+MODIS Surface Reflectance User's Guide.
+Version 1.2. June 2008.
+MODIS Land Surface Reflectance Science Computing Facility.
+<A HREF="http://modis-sr.ltdri.org">Homepage</A><br>
+
+
+<em>
+<A HREF="i.vi.html">i.vi</A><br>
+</em>
+
+
+<H2>AUTHORS</H2>
+Yann Chemin, International Rice Research Institute, The Philippines.<BR>
+
+
+<p>
+<i>Last changed: $Date: 2008/07/28 15:33:42 $</i>

Deleted: grass/trunk/imagery/i.modis.qc/i.qc.modis.html
===================================================================
--- grass/trunk/imagery/i.qc.modis/i.qc.modis.html	2008-10-07 02:29:57 UTC (rev 33702)
+++ grass/trunk/imagery/i.modis.qc/i.qc.modis.html	2008-10-07 03:11:34 UTC (rev 33703)
@@ -1,97 +0,0 @@
-<H2>DESCRIPTION</H2>
-
-<EM>i.qc.modis</EM> Extracts Requested Quality Assessment flags from Modis 09 A and Q products 
-(Surface_reflectance_250/500m_quality_control_flags).
-This does not yet include QA_state_500m layer (see Notes and TODO).
-
-<pre>
-<EM>MODLAND QA Bits 250m/500m bits[0-1]</EM>
-</pre>
-<ul>
- <li>[00]= class 0: Corrected product produced at ideal quality -- all bands</li>
- <li>[01]= class 1: Corrected product produced at less than ideal quality -- some or all bands</li>
- <li>[10]= class 2: Corrected product NOT produced due to cloud effect -- all bands</li>
- <li>[11]= class 3: Corrected product NOT produced due to other reasons -- some or all bands maybe be fill value (Note that a value of [11] overrides a value of [01])</li>
-</ul>
-
-<pre>
-<EM>Cloud State 250m Unsigned Int bits[2-3] </EM>
-</pre>
-<ul>
- <li>[00]= class 0: Clear -- No clouds</li>
- <li>[01]= class 1: Cloudy</li>
- <li>[10]= class 2: Mixed</li>
- <li>[11]= class 3: Not Set ; Assumed Clear</li>
-</ul>
-
-<pre>
-<EM>Band-wise Data Quality 250m Unsigned Int bits[4-7][8-11]</EM>
-<EM>Band-wise Data Quality 500m long Int bits[2-5][6-9][10-13][14-17][18-21][22-25][26-29]</EM>
-</pre>
-<ul>
- <li>[0000]= class 0: highest quality</li>
- <li>[0111]= class 1: noisy detector</li>
- <li>[1000]= class 2: dead detector; data interpolated in L1B</li>
- <li>[1001]= class 3: solar zenith ge 86 degrees</li>
- <li>[1010]= class 4: solar zenith ge 85 and lt 86 degrees</li>
- <li>[1011]= class 5: missing input</li>
- <li>[1100]= class 6: internal constant used in place of climatological data for at least one atmospheric constant</li>
- <li>[1101]= class 7: correction out of bounds, pixel constrained to extreme allowable value</li>
- <li>[1110]= class 8: L1B data faulty</li>
- <li>[1111]= class 9: not processed due to deep ocean or cloud</li>
- <li>Class 10-15: Combination of bits unused</li>
-</ul>
-
-<pre>
-<EM>Atmospheric correction 250m/500m bit[12]/[30]</EM>
-</pre>
-<ul>
- <li>[0]= class 0: Not Corrected product</li>
- <li>[1]= class 1: Corrected product</li>
-</ul>
-
-<pre>
-<EM>Adjacency correction 250m/500m bit[13][31]</EM>
-</pre>
-<ul>
- <li>[0]= class 0: Not Corrected product</li>
- <li>[1]= class 1: Corrected product</li>
-</ul>
-
-<pre>
-<EM>Different orbit from 500m product, 250m Unsigned Int bit[14]</EM>
-</pre>
-<ul>
- <li>[0]= class 0: same orbit as 500m</li>
- <li>[1]= class 1: different orbit from 500m</li>
-</ul>
-
-
-<H2>NOTES</H2>
-It seems that cloud related info is not filled properly since version 3.
-State-QA 500m images should be used (see Vermote et al., 2008).
-
-<H2>TODO</H2>
-STATE-QA500m flag Processing should be included for detailed cloud status. 
-More testing is required.
-
-<H2>SEE ALSO</H2>
-
-Vermote E.F., Kotchenova S.Y., Ray J.P.
-MODIS Surface Reflectance User's Guide.
-Version 1.2. June 2008.
-MODIS Land Surface Reflectance Science Computing Facility.
-<A HREF="http://modis-sr.ltdri.org">Homepage</A><br>
-
-
-<em>
-<A HREF="i.vi.html">i.vi</A><br>
-</em>
-
-
-<H2>AUTHORS</H2>
-Yann Chemin, International Rice Research Institute, The Philippines.<BR>
-
-
-<p>
-<i>Last changed: $Date: 2008/07/28 15:33:42 $</i>

Modified: grass/trunk/imagery/i.modis.qc/main.c
===================================================================
--- grass/trunk/imagery/i.qc.modis/main.c	2008-10-07 02:29:57 UTC (rev 33702)
+++ grass/trunk/imagery/i.modis.qc/main.c	2008-10-07 03:11:34 UTC (rev 33703)
@@ -1,7 +1,7 @@
 
 /****************************************************************************
  *
- * MODULE:       i.qc.modis
+ * MODULE:       i.modis.qc
  * AUTHOR(S):    Yann Chemin - yann.chemin at gmail.com
  * PURPOSE:      Converts Quality Control indicators into human readable classes
  * 		 for Modis surface reflectance products 250m/500m



More information about the grass-commit mailing list