Commit ce1bea0e authored by Daniel Scheffler's avatar Daniel Scheffler

Added sorted LayerBandsAssignments for SPOT sensors. Updated HISTORY.rst and bumped version.

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent e68afca4
Pipeline #16144 passed with stages
in 10 minutes and 18 seconds
...@@ -2,7 +2,13 @@ ...@@ -2,7 +2,13 @@
History History
======= =======
0.19.0 (2020-11-17) 0.19.1 (2020-11-28)
-------------------
* Added sorted LayerBandsAssignments for SPOT sensors.
0.19.0 (2020-11-27)
------------------- -------------------
* Revised the documentation layout. * Revised the documentation layout.
...@@ -14,7 +20,7 @@ History ...@@ -14,7 +20,7 @@ History
* Added some files to .gitignore. * Added some files to .gitignore.
0.18.12 (2020-11-17) 0.18.12 (2020-11-27)
-------------------- --------------------
* The clean-test rule no longer needs coverage as a requirement since this is a test requirement. * The clean-test rule no longer needs coverage as a requirement since this is a test requirement.
......
...@@ -2205,6 +2205,16 @@ def get_LayerBandsAssignment(GMS_id, nBands=None, sort_by_cwl=None, no_thermal=N ...@@ -2205,6 +2205,16 @@ def get_LayerBandsAssignment(GMS_id, nBands=None, sort_by_cwl=None, no_thermal=N
'TM5': ['1', '2', '3', '4', '5', '7', '6'], 'TM5': ['1', '2', '3', '4', '5', '7', '6'],
'TM7': ['1', '2', '3', '8', '4', '5', '7', '6L', '6H'], 'TM7': ['1', '2', '3', '8', '4', '5', '7', '6L', '6H'],
'LDCM': ['1', '2', '3', '8', '4', '5', '9', '6', '7', '10', '11'], 'LDCM': ['1', '2', '3', '8', '4', '5', '9', '6', '7', '10', '11'],
'SPOT1a': ['1', '4', '2', '3'],
'SPOT2a': ['1', '4', '2', '3'],
'SPOT3a': ['1', '4', '2', '3'],
'SPOT4a': ['1', '5', '2', '3', '4'],
'SPOT5a': ['1', '5', '2', '3', '4'],
'SPOT1b': ['1', '4', '2', '3'],
'SPOT2b': ['1', '4', '2', '3'],
'SPOT3b': ['1', '4', '2', '3'],
'SPOT4b': ['1', '5', '2', '3', '4'],
'SPOT5b': ['1', '5', '2', '3', '4'],
} }
if nBands is None or nBands == len(dict_LayerBandsAssignment[GMS_sensorcode]): if nBands is None or nBands == len(dict_LayerBandsAssignment[GMS_sensorcode]):
......
...@@ -24,5 +24,5 @@ ...@@ -24,5 +24,5 @@
# You should have received a copy of the GNU Lesser General Public License along # You should have received a copy of the GNU Lesser General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>. # with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '0.19.0' __version__ = '0.19.1'
__versionalias__ = '20201127.02' __versionalias__ = '20201128.01'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment