[GRASS-SVN] r72404 - grass-addons/grass7/imagery/i.nightlights.intercalibration

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 20 04:37:27 PDT 2018


Author: neteler
Date: 2018-03-20 04:37:27 -0700 (Tue, 20 Mar 2018)
New Revision: 72404

Modified:
   grass-addons/grass7/imagery/i.nightlights.intercalibration/i.nightlights.intercalibration.py
Log:
i.nightlights.intercalibration addon: fix parsing error

Modified: grass-addons/grass7/imagery/i.nightlights.intercalibration/i.nightlights.intercalibration.py
===================================================================
--- grass-addons/grass7/imagery/i.nightlights.intercalibration/i.nightlights.intercalibration.py	2018-03-20 11:34:11 UTC (rev 72403)
+++ grass-addons/grass7/imagery/i.nightlights.intercalibration/i.nightlights.intercalibration.py	2018-03-20 11:37:27 UTC (rev 72404)
@@ -313,7 +313,7 @@
     for image in input_list:
         
         satellite = image[0:3]
-        year = image[3:8]
+        year = image[3:7]
 
         # -------------------------------------------------------------------
         # Match region to input image if... ?



More information about the grass-commit mailing list