[GRASS-SVN] r73130 - grass-addons/grass7/imagery/i.sentinel/i.sentinel.import

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 21 09:33:24 PDT 2018


Author: martinl
Date: 2018-08-21 09:33:24 -0700 (Tue, 21 Aug 2018)
New Revision: 73130

Modified:
   grass-addons/grass7/imagery/i.sentinel/i.sentinel.import/i.sentinel.import.html
   grass-addons/grass7/imagery/i.sentinel/i.sentinel.import/i.sentinel.import.py
Log:
i.sentinel.import: fix pattern example, add debug message

Modified: grass-addons/grass7/imagery/i.sentinel/i.sentinel.import/i.sentinel.import.html
===================================================================
--- grass-addons/grass7/imagery/i.sentinel/i.sentinel.import/i.sentinel.import.html	2018-08-21 15:57:13 UTC (rev 73129)
+++ grass-addons/grass7/imagery/i.sentinel/i.sentinel.import/i.sentinel.import.html	2018-08-21 16:33:24 UTC (rev 73130)
@@ -75,7 +75,7 @@
 Limit import to only to 4th and 8th bands:
 
 <div class="code"><pre>
-i.sentinel.import input=data pattern='B0[4|8]'
+i.sentinel.import input=data pattern='B0(4|8)'
 </pre></div>
 
 Limit import to only to all bands with 10m resolution (excluding AOT, WVP, ... bands):

Modified: grass-addons/grass7/imagery/i.sentinel/i.sentinel.import/i.sentinel.import.py
===================================================================
--- grass-addons/grass7/imagery/i.sentinel/i.sentinel.import/i.sentinel.import.py	2018-08-21 15:57:13 UTC (rev 73129)
+++ grass-addons/grass7/imagery/i.sentinel/i.sentinel.import/i.sentinel.import.py	2018-08-21 16:33:24 UTC (rev 73130)
@@ -80,6 +80,7 @@
         else:
             filter_p = r'.*_B.*.jp2$'
 
+        gs.debug('Filter: {}'.format(filter_p), 0)
         self.files = self._filter(filter_p)
 
     @staticmethod



More information about the grass-commit mailing list