diff --git a/StartMaja/Chain/GippFile.py b/StartMaja/Chain/GippFile.py index 799c8f0adbba3e3f74f7e43b49061a3cd69d558d..5bed05db12e2b9811d03b699df1bcaa0f9ff483c 100644 --- a/StartMaja/Chain/GippFile.py +++ b/StartMaja/Chain/GippFile.py @@ -91,7 +91,7 @@ class GippSet(object): """ Stores a set of Gipp Files """ - url = "http://osr-cesbio.ups-tlse.fr/gitlab_cesbio/kettigp/maja-gipp/-/archive/master/maja-gipp-master.zip" + url = "http://osr-cesbio.ups-tlse.fr/gitlab_cesbio/kettigp/maja-gipp/-/archive/develop/maja-gipp-develop.zip" zenodo_reg = r"https?:\/\/zenodo.org\/record\/\d+\/files\/\w+.zip\?download=1" platforms = ["sentinel2", "landsat8", "venus"] @@ -161,7 +161,7 @@ class GippSet(object): self.out_path = os.path.join(self.fpath, self.gipp_folder_name) FileSystem.download_file(self.url, self.gipp_archive, self.log_level) FileSystem.unzip(self.gipp_archive, self.temp_folder) - gipp_maja_git = os.path.join(self.temp_folder, "maja-gipp-master") + gipp_maja_git = os.path.join(self.temp_folder, "maja-gipp-develop") # TODO Remove second WATV for Venus-Natif platform_folder = FileSystem.find_single(path=gipp_maja_git, pattern="^" + self.gipp_folder_name + "$") if not platform_folder: diff --git a/orchestrator/common/constants.py b/orchestrator/common/constants.py index 0902f2948eb4e5a8f3bf37041b5a39a346f6ecde..87f87ea70c945cca2a726a7b7423c816c39c7dc1 100644 --- a/orchestrator/common/constants.py +++ b/orchestrator/common/constants.py @@ -80,7 +80,7 @@ class DirectionalCorrection: elif str_name == "Lut": method = DirectionalCorrection.LUT else: - raise MajaBusinessException("Utilities:GetDirCorrMethod: The Directional Correction model " + str_name + "does not exist.") + raise MajaDataException("Utilities:GetDirCorrMethod: The Directional Correction model " + str_name + " does not exist.") return method