[GRASS-SVN] r66697 - grass-addons/grass7/raster/r.modis/libmodis

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 1 22:29:27 PST 2015


Author: lucadelu
Date: 2015-11-01 22:29:27 -0800 (Sun, 01 Nov 2015)
New Revision: 66697

Modified:
   grass-addons/grass7/raster/r.modis/libmodis/rmodislib.py
Log:
added new product

Modified: grass-addons/grass7/raster/r.modis/libmodis/rmodislib.py
===================================================================
--- grass-addons/grass7/raster/r.modis/libmodis/rmodislib.py	2015-11-02 06:18:49 UTC (rev 66696)
+++ grass-addons/grass7/raster/r.modis/libmodis/rmodislib.py	2015-11-02 06:29:27 UTC (rev 66697)
@@ -99,6 +99,11 @@
                      '.sur_refl_b04': '.sur_refl_qc_500m', '.sur_refl_b05':
                      '.sur_refl_qc_500m', '.sur_refl_b06': '.sur_refl_qc_500m',
                      '.sur_refl_b07': '.sur_refl_qc_500m'}
+        # value for water product
+        water_spec = ('( 1 )')
+        water_specqa = ('( 1 1 )')
+        water_suff = {'.water_mask': '.water_mask_QA'}
+
         # granularity
         daily = 1
         eight = 8
@@ -211,6 +216,9 @@
                                         'color': snow_color,
                                         'suff': snow8_suff, 'res': 500}
                 }
+        water = {'url': urlbase, 'folder': 'MOLT/', 'prod': 'MOD44W.005',
+                 'spec': water_spec, 'spec_qa': water_specqa, 'res': 250,
+                 'suff': water_suff, 'days': one, 'color': snow_color}
         self.products = {}
         self.products.update(lst)
         self.products.update(vi)



More information about the grass-commit mailing list