Skip to content

Commit d19e2e6

Browse files
7.9.1
1 parent 353f83c commit d19e2e6

6 files changed

Lines changed: 23643 additions & 23640 deletions

File tree

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def description():
4242

4343

4444
def version():
45-
return 'Version 7.9.0 - Matera'
45+
return 'Version 7.9.1 - Matera'
4646

4747

4848
def icon():

core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@
680680
NoSatellite = 'Band order'
681681
satGeoEye1 = 'GeoEye-1 [bands 1, 2, 3, 4]'
682682
satGOES = 'GOES [bands 1, 2, 3, 4, 5, 6]'
683-
satLandsat8 = 'Landsat 8 OLI [bands 2, 3, 4, 5, 6, 7]'
683+
satLandsat8 = 'Landsat 8 OLI [bands 1, 2, 3, 4, 5, 6, 7]'
684684
satLandsat7 = 'Landsat 7 ETM+ [bands 1, 2, 3, 4, 5, 7]'
685685
satLandsat45 = 'Landsat 4-5 TM [bands 1, 2, 3, 4, 5, 7]'
686686
satLandsat13 = 'Landsat 1-3 MSS [bands 4, 5, 6, 7]'

docs/repository.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version = '1.0' encoding = 'UTF-8'?>
22
<plugins>
3-
<pyqgis_plugin name="Semi-Automatic Classification Plugin - master" version="7.9.0" plugin_id="284">
3+
<pyqgis_plugin name="Semi-Automatic Classification Plugin - master" version="7.9.1" plugin_id="284">
44
<description><![CDATA[The Semi-Automatic Classification Plugin (SCP) allows for the supervised classification of remote sensing images, providing tools for the download, the preprocessing and postprocessing of images.]]></description>
55
<about><![CDATA[Developed by Luca Congedo, the Semi-Automatic Classification Plugin (SCP) allows for the supervised classification of remote sensing images, providing tools for the download, the preprocessing and postprocessing of images. Search and download is available for ASTER, GOES, Landsat, MODIS, Sentinel-1, Sentinel-2, and Sentinel-3 images. Several algorithms are available for the land cover classification. This plugin requires the installation of GDAL, OGR, Numpy, SciPy, and Matplotlib. Some tools require also the installation of SNAP (ESA Sentinel Application Platform). For more information please visit https://fromgistors.blogspot.com .]]></about>
6-
<version>7.9.0</version>
6+
<version>7.9.1</version>
77
<qgis_minimum_version>3.0.0</qgis_minimum_version>
88
<qgis_maximum_version>3.99.0</qgis_maximum_version>
99
<homepage><![CDATA[https://fromgistors.blogspot.com/p/semi-automatic-classification-plugin.html]]></homepage>

maininterface/landsatTab.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@ def landsat(self, inputDirectory, outputDirectory, batch = 'No', bandSetNumber =
283283
e = self.landsat8reflectance(sat, str(nm[len(nm) - 1]), REFLECTANCE_MULT, REFLECTANCE_ADD, RADIANCE_MULT, RADIANCE_ADD, RADIANCE_MAXIMUM, REFLECTANCE_MAXIMUM)
284284
# band list
285285
if int(nm[len(nm) - 1]) in [1, 2, 3, 4, 5, 6, 7]:
286-
bandSetList.append(int(nm[len(nm) - 1]) - 1)
286+
bandSetList.append(int(nm[len(nm) - 1]))
287287
bandSetNameList.append(oNm)
288-
if int(nm[len(nm) - 1]) < 5:
288+
if int(nm[len(nm) - 1]) < 5 and int(nm[len(nm) - 1]) > 1:
289289
bandPansharpDict[int(nm[len(nm) - 1])] = outputRaster
290290
panRasterList.append(panRaster)
291291
convInputList.append([inputRaster, e, outputRaster])

metadata.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name=Semi-Automatic Classification Plugin
33
qgisMinimumVersion=3.00
44
description=The Semi-Automatic Classification Plugin (SCP) allows for the supervised classification of remote sensing images, providing tools for the download, the preprocessing and postprocessing of images.
5-
version=7.9.0
5+
version=7.9.1
66
about=Developed by Luca Congedo, the Semi-Automatic Classification Plugin (SCP) allows for the supervised classification of remote sensing images, providing tools for the download, the preprocessing and postprocessing of images. Search and download is available for ASTER, GOES, Landsat, MODIS, Sentinel-1, Sentinel-2, and Sentinel-3 images. Several algorithms are available for the land cover classification. This plugin requires the installation of GDAL, OGR, Numpy, SciPy, and Matplotlib. Some tools require also the installation of SNAP (ESA Sentinel Application Platform). For more information please visit https://fromgistors.blogspot.com .
77

88
author=Luca Congedo
@@ -14,6 +14,9 @@ icon=semiautomaticclassificationplugin.png
1414
; start of optional metadata
1515
changelog=
1616

17+
7.9.1
18+
-fixed Landsat 8 band 1 band set
19+
1720
7.9.0
1821
-preprocessing of Landsat and Sentinel-2 bands are now converted to UInt16 with scale 0.00001 to reduce file size
1922
-added Landsat 8 band 1 processing

0 commit comments

Comments
 (0)