Skip to content

Commit f711ffc

Browse files
7.10.2
1 parent 904c482 commit f711ffc

22 files changed

Lines changed: 23409 additions & 23363 deletions

__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.10.1 - Matera'
45+
return 'Version 7.10.2 - Matera'
4646

4747

4848
def icon():

core/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,8 @@
852852
functionNames.append([[endForBandSetNm, '', '', []]])
853853
functionNames.append([[tempRasterNm + '1!', '', '', []]])
854854
functionNames.append([[tempDirNm, '', '', []]])
855+
functionNames.append([['Notifications']])
856+
functionNames.append([[' send_notification', 'cfg.batchT.performSendNotification', 'cfg.utls.sendSMTPMessage', ['subject : \'\'', 'message : \'\'']]])
855857

856858
''' Scatter plot '''
857859
scatterColorMap = ['rainbow', 'gist_rainbow', 'jet', 'afmhot', 'bwr', 'gnuplot', 'gnuplot2', 'BrBG', 'coolwarm', 'PiYG', 'PRGn', 'PuOr', 'RdBu', 'RdGy', 'RdYlBu', 'RdYlGn', 'Spectral', 'seismic', 'ocean', 'terrain', 'Blues', 'BuGn', 'BuPu', 'GnBu', 'Greens', 'Greys', 'Oranges', 'OrRd', 'PuBu', 'PuBuGn', 'PuRd', 'Purples', 'RdPu', 'Reds', 'YlGn', 'YlGnBu', 'YlOrBr', 'YlOrRd']

core/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9548,6 +9548,7 @@ def sendSMTPMessage(self, subject = None, message = None):
95489548
msg = 'From: SCP\nTo: \nSubject: ' + subject + '\n\n' + message + '\n\n---\nSemi-Automatic Classification Plugin\nhttps://fromgistors.blogspot.com/p/semi-automatic-classification-plugin.html'
95499549
s.sendmail(cfg.SMTPUser, tolist, msg)
95509550
s.quit()
9551+
cfg.utls.logCondition(str(__name__) + '-' + str(cfg.inspectSCP.stack()[0][3])+ ' ' + cfg.utls.lineOfCode(), ' subject:' + str(subject) + ' message:' + str(message))
95519552
except Exception as err:
95529553
# logger
95539554
cfg.utls.logCondition(str(__name__) + '-' + (cfg.inspectSCP.stack()[0][3])+ ' ' + cfg.utls.lineOfCode(), ' ERROR exception: ' + str(err))

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.10.1" plugin_id="284">
3+
<pyqgis_plugin name="Semi-Automatic Classification Plugin - master" version="7.10.2" 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.10.1</version>
6+
<version>7.10.2</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>

i18n/models/semiautomaticclassificationplugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6034,7 +6034,7 @@ Do you want to add the required fields to this shapefile?</source>
60346034
<translation type="unfinished"></translation>
60356035
</message>
60366036
<message>
6037-
<location filename="../semiautomaticclassificationplugin.py" line="1640"/>
6037+
<location filename="../semiautomaticclassificationplugin.py" line="1650"/>
60386038
<source>Please, restart QGIS for executing the Semi-Automatic Classification Plugin</source>
60396039
<translation type="unfinished"></translation>
60406040
</message>
@@ -6264,7 +6264,7 @@ Do you want to add the required fields to this shapefile?</source>
62646264
<translation type="unfinished"></translation>
62656265
</message>
62666266
<message>
6267-
<location filename="../maininterface/batchTab.py" line="3747"/>
6267+
<location filename="../maininterface/batchTab.py" line="3776"/>
62686268
<source>missing parameter</source>
62696269
<translation type="unfinished"></translation>
62706270
</message>

i18n/semiautomaticclassificationplugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6034,7 +6034,7 @@ Do you want to add the required fields to this shapefile?</source>
60346034
<translation type="unfinished"></translation>
60356035
</message>
60366036
<message>
6037-
<location filename="../semiautomaticclassificationplugin.py" line="1640"/>
6037+
<location filename="../semiautomaticclassificationplugin.py" line="1650"/>
60386038
<source>Please, restart QGIS for executing the Semi-Automatic Classification Plugin</source>
60396039
<translation type="unfinished"></translation>
60406040
</message>
@@ -6264,7 +6264,7 @@ Do you want to add the required fields to this shapefile?</source>
62646264
<translation type="unfinished"></translation>
62656265
</message>
62666266
<message>
6267-
<location filename="../maininterface/batchTab.py" line="3747"/>
6267+
<location filename="../maininterface/batchTab.py" line="3776"/>
62686268
<source>missing parameter</source>
62696269
<translation type="unfinished"></translation>
62706270
</message>

i18n/semiautomaticclassificationplugin_ar.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6034,7 +6034,7 @@ Do you want to add the required fields to this shapefile?</source>
60346034
<translation type="unfinished"></translation>
60356035
</message>
60366036
<message>
6037-
<location filename="../semiautomaticclassificationplugin.py" line="1640"/>
6037+
<location filename="../semiautomaticclassificationplugin.py" line="1650"/>
60386038
<source>Please, restart QGIS for executing the Semi-Automatic Classification Plugin</source>
60396039
<translation type="unfinished"></translation>
60406040
</message>
@@ -6264,7 +6264,7 @@ Do you want to add the required fields to this shapefile?</source>
62646264
<translation type="unfinished"></translation>
62656265
</message>
62666266
<message>
6267-
<location filename="../maininterface/batchTab.py" line="3747"/>
6267+
<location filename="../maininterface/batchTab.py" line="3776"/>
62686268
<source>missing parameter</source>
62696269
<translation type="unfinished"></translation>
62706270
</message>

i18n/semiautomaticclassificationplugin_de.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6034,7 +6034,7 @@ Do you want to add the required fields to this shapefile?</source>
60346034
<translation type="unfinished"></translation>
60356035
</message>
60366036
<message>
6037-
<location filename="../semiautomaticclassificationplugin.py" line="1640"/>
6037+
<location filename="../semiautomaticclassificationplugin.py" line="1650"/>
60386038
<source>Please, restart QGIS for executing the Semi-Automatic Classification Plugin</source>
60396039
<translation type="unfinished"></translation>
60406040
</message>
@@ -6264,7 +6264,7 @@ Do you want to add the required fields to this shapefile?</source>
62646264
<translation type="unfinished"></translation>
62656265
</message>
62666266
<message>
6267-
<location filename="../maininterface/batchTab.py" line="3747"/>
6267+
<location filename="../maininterface/batchTab.py" line="3776"/>
62686268
<source>missing parameter</source>
62696269
<translation type="unfinished"></translation>
62706270
</message>

i18n/semiautomaticclassificationplugin_el_GR.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6034,7 +6034,7 @@ Do you want to add the required fields to this shapefile?</source>
60346034
<translation type="unfinished"></translation>
60356035
</message>
60366036
<message>
6037-
<location filename="../semiautomaticclassificationplugin.py" line="1640"/>
6037+
<location filename="../semiautomaticclassificationplugin.py" line="1650"/>
60386038
<source>Please, restart QGIS for executing the Semi-Automatic Classification Plugin</source>
60396039
<translation type="unfinished"></translation>
60406040
</message>
@@ -6264,7 +6264,7 @@ Do you want to add the required fields to this shapefile?</source>
62646264
<translation type="unfinished"></translation>
62656265
</message>
62666266
<message>
6267-
<location filename="../maininterface/batchTab.py" line="3747"/>
6267+
<location filename="../maininterface/batchTab.py" line="3776"/>
62686268
<source>missing parameter</source>
62696269
<translation type="unfinished"></translation>
62706270
</message>

i18n/semiautomaticclassificationplugin_es.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6038,7 +6038,7 @@ Do you want to add the required fields to this shapefile?</source>
60386038
<translation type="unfinished"></translation>
60396039
</message>
60406040
<message>
6041-
<location filename="../semiautomaticclassificationplugin.py" line="1640"/>
6041+
<location filename="../semiautomaticclassificationplugin.py" line="1650"/>
60426042
<source>Please, restart QGIS for executing the Semi-Automatic Classification Plugin</source>
60436043
<translation type="unfinished"></translation>
60446044
</message>
@@ -6268,7 +6268,7 @@ Do you want to add the required fields to this shapefile?</source>
62686268
<translation type="unfinished"></translation>
62696269
</message>
62706270
<message>
6271-
<location filename="../maininterface/batchTab.py" line="3747"/>
6271+
<location filename="../maininterface/batchTab.py" line="3776"/>
62726272
<source>missing parameter</source>
62736273
<translation type="unfinished"></translation>
62746274
</message>

0 commit comments

Comments
 (0)