Skip to content

Commit

Permalink
PolSAR tools initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Narayana-Rao committed Mar 9, 2021
1 parent 3df96db commit ace6589
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This plugin generates derived SAR parameters (viz. vegetation indices, polarimet

## Installation

> **__Note:__** SAR tools requires QGIS version >=3.0.
> **__Note:__** PolSAR tools requires QGIS version >=3.0.
* The easiest way (requires internet connection) :
- Open QGIS -> Plugins -> Manage and Install Plugins... -> select ```All``` tab -> search for ```PolSAR tools``` --> select and install plugin
Expand Down
10 changes: 5 additions & 5 deletions SAR_Tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __init__(self, iface):
# Declare instance attributes
self.actions = []
icon_path = ':/plugins/SAR_Tools/icon.png'
self.menu = self.tr(u'&SAR tools')
self.menu = self.tr(u'&PolSAR tools')

# Check if plugin was started the first time in current QGIS session
# Must be set in initGui() to survive plugin reloads
Expand All @@ -112,8 +112,8 @@ def __init__(self, iface):
self.inFolder=''
# self.ws = 5

self.toolbar = self.iface.addToolBar(u'SAR Tools')
self.toolbar.setObjectName(u'SAR Tools')
self.toolbar = self.iface.addToolBar(u'PolSAR Tools')
self.toolbar.setObjectName(u'PolSAR Tools')


# self.dlg.fp_browse.setEnabled(True)
Expand Down Expand Up @@ -948,7 +948,7 @@ def unload(self):
"""Removes the plugin menu item and icon from QGIS GUI."""
for action in self.actions:
self.iface.removePluginMenu(
self.tr(u'&SAR tools'),
self.tr(u'&PolSAR tools'),
action)
self.iface.removeToolBarIcon(action)

Expand All @@ -974,7 +974,7 @@ def run(self):
def Startup(self):
# For terminal outputs
logger = self.dlg.terminal
logger.append('\t Welcome to SAR_tools.'+
logger.append('\t Welcome to PolSAR tools.'+
'\n\t This plugin generates derived SAR parameters')
logger.append('\t SAR indices | Decomposition parameters')
logger.append('---------------------------------------------------------------------------------------------')
Expand Down
4 changes: 2 additions & 2 deletions SAR_Tools_dialog.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
"""
/***************************************************************************
SAR Tools
A QGIS plugin
PolSAR Tools
A QGIS plugin
-------------------
begin : 2020-02-03
git sha : $Format:%H$
Expand Down
4 changes: 2 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
"""
/***************************************************************************
MRSLab
A QGIS plugin
PolSAR
A QGIS plugin
This plugin generates derived SAR parameters from input polarimetric matrix (C3, T3, C2, T2).
-------------------
begin : 2020-02-03
Expand Down
2 changes: 1 addition & 1 deletion mainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</size>
</property>
<property name="windowTitle">
<string>SAR tools</string>
<string>PolSAR tools</string>
</property>
<property name="windowIcon">
<iconset>
Expand Down
5 changes: 3 additions & 2 deletions metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# This file should be included when you package your plugin.# Mandatory items:

[general]
name=SAR tools
name=PolSAR tools
qgisMinimumVersion=3.0
description=This plugin generates polarimetric descriptors from SAR data.
version=0.6.2
version=0.6.3
author=Narayanarao; Subhadip; Dipankar
email=bnarayanarao@iitb.ac.in
owners=bnarayanarao
Expand All @@ -22,6 +22,7 @@ repository=https://github.com/Narayana-Rao/sar_tools.git
hasProcessingProvider=no
# Uncomment the following line and add your changelog:
changelog=

0.6.2
- minor updates and bug fixes

Expand Down
2 changes: 1 addition & 1 deletion pb_tool.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
[plugin]
# Name of the plugin. This is the name of the directory that will
# be created in .qgis2/python/plugins
name: SAR_Tools
name: PolSAR_Tools

# Full path to where you want your plugin directory copied. If empty,
# the QGIS default path will be used. Don't include the plugin name in
Expand Down
2 changes: 1 addition & 1 deletion resources.qrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/plugins/SAR_Tools" >
<qresource prefix="/plugins/PolSAR_Tools" >
<file>icon.png</file>
</qresource>
</RCC>

0 comments on commit ace6589

Please sign in to comment.