From a79699fc3ae461267c87c05e67460ea17aea960c Mon Sep 17 00:00:00 2001
From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu>
Date: Thu, 4 Feb 2021 15:17:39 +0000
Subject: [PATCH] Flipped names of the two nir bands of S2-MSI.

---
 pysegcnn/core/constants.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pysegcnn/core/constants.py b/pysegcnn/core/constants.py
index 645c6fe..50c93b6 100644
--- a/pysegcnn/core/constants.py
+++ b/pysegcnn/core/constants.py
@@ -83,8 +83,8 @@ class Sentinel2(MultiSpectralSensor):
     vnir1 = 5, (0.69, 0.71)
     vnir2 = 6, (0.73, 0.75)
     vnir3 = 7, (0.77, 0.79)
-    nir = 8, (0.78, 0.89)
-    nnir = '8A', (0.85, 0.88)
+    nnir = 8, (0.78, 0.89)
+    nir = '8A', (0.85, 0.88)
     vapor = 9, (0.94, 0.96)
     cirrus = 10, (1.36, 1.39)
     swir1 = 11, (1.57, 1.66)
-- 
GitLab