Commit 163a0c35 authored by Remi Cresson's avatar Remi Cresson
Browse files

TEST: remove metadata

1 merge request!7FIX: follow API changes in pyotb
Pipeline #39781 failed with stages
in 17 minutes and 59 seconds
Showing with 0 additions and 11 deletions
+0 -11
...@@ -15,7 +15,6 @@ class DEMTest(DecloudTest): ...@@ -15,7 +15,6 @@ class DEMTest(DecloudTest):
"SENTINEL2B_20201026-103901-924_L2A_T31TEJ_C_V2-2_FRE_20m.tif"), "SENTINEL2B_20201026-103901-924_L2A_T31TEJ_C_V2-2_FRE_20m.tif"),
"--output", "/tmp/dem_prepare.tif", "--tmp", "/tmp/DEM"]) "--output", "/tmp/dem_prepare.tif", "--tmp", "/tmp/DEM"])
self.compare_raster_metadata("/tmp/dem_prepare.tif", self.get_path("baseline/PREPARE/DEM_PREPARE/T31TEJ.tif"))
self.compare_images("/tmp/dem_prepare.tif", self.get_path("baseline/PREPARE/DEM_PREPARE/T31TEJ.tif")) self.compare_images("/tmp/dem_prepare.tif", self.get_path("baseline/PREPARE/DEM_PREPARE/T31TEJ.tif"))
......
...@@ -84,7 +84,6 @@ class InferenceTest(DecloudTest): ...@@ -84,7 +84,6 @@ class InferenceTest(DecloudTest):
self.assertTrue(system.file_exists(outpath)) self.assertTrue(system.file_exists(outpath))
self.compare_images(outpath, baseline_path) self.compare_images(outpath, baseline_path)
self.compare_raster_metadata(outpath, baseline_path)
def test_inference_with_generic_preprocessor(self): def test_inference_with_generic_preprocessor(self):
# Logger # Logger
...@@ -128,7 +127,6 @@ class InferenceTest(DecloudTest): ...@@ -128,7 +127,6 @@ class InferenceTest(DecloudTest):
self.assertTrue(system.file_exists(outpath)) self.assertTrue(system.file_exists(outpath))
self.compare_images(outpath, baseline_path) self.compare_images(outpath, baseline_path)
self.compare_raster_metadata(outpath, baseline_path)
if __name__ == '__main__': if __name__ == '__main__':
......
...@@ -12,9 +12,6 @@ class Sentinel1PrepareTest(DecloudTest): ...@@ -12,9 +12,6 @@ class Sentinel1PrepareTest(DecloudTest):
sentinel1_prepare.main(["--input_s1_vh", self.get_path("inputs/THEIA/s1b_31TEJ_vh_DES_110_20201011t060008.tif"), sentinel1_prepare.main(["--input_s1_vh", self.get_path("inputs/THEIA/s1b_31TEJ_vh_DES_110_20201011t060008.tif"),
"--out_s1_dir", "/tmp/s1_prepare"]) "--out_s1_dir", "/tmp/s1_prepare"])
self.compare_raster_metadata("/tmp/s1_prepare/s1b_31TEJ_vvvh_DES_110_20201011t060008_from-10to3dB.tif",
self.get_path("baseline/PREPARE/S1_PREPARE/T31TEJ/"
"s1b_31TEJ_vvvh_DES_110_20201011t060008_from-10to3dB.tif"))
self.compare_images("/tmp/s1_prepare/s1b_31TEJ_vvvh_DES_110_20201011t060008_from-10to3dB.tif", self.compare_images("/tmp/s1_prepare/s1b_31TEJ_vvvh_DES_110_20201011t060008_from-10to3dB.tif",
self.get_path("baseline/PREPARE/S1_PREPARE/T31TEJ/" self.get_path("baseline/PREPARE/S1_PREPARE/T31TEJ/"
"s1b_31TEJ_vvvh_DES_110_20201011t060008_from-10to3dB.tif")) "s1b_31TEJ_vvvh_DES_110_20201011t060008_from-10to3dB.tif"))
......
...@@ -13,11 +13,6 @@ class Sentinel2PrepareTest(DecloudTest): ...@@ -13,11 +13,6 @@ class Sentinel2PrepareTest(DecloudTest):
"-497_L2A_T31TEJ_C_V2-2"), "-497_L2A_T31TEJ_C_V2-2"),
"--out_s2_dir", "/tmp/s2_prepare"]) "--out_s2_dir", "/tmp/s2_prepare"])
self.compare_raster_metadata("/tmp/s2_prepare/T31TEJ/SENTINEL2B_20201012-105848-497_L2A_T31TEJ_C_V2-2/"
"SENTINEL2B_20201012-105848-497_L2A_T31TEJ_C_V2-2_FRE_10m.tif",
self.get_path("baseline/PREPARE/S2_PREPARE/T31TEJ/"
"SENTINEL2B_20201012-105848-497_L2A_T31TEJ_C_V2-2/"
"SENTINEL2B_20201012-105848-497_L2A_T31TEJ_C_V2-2_FRE_10m.tif"))
self.compare_images("/tmp/s2_prepare/T31TEJ/SENTINEL2B_20201012-105848-497_L2A_T31TEJ_C_V2-2/" self.compare_images("/tmp/s2_prepare/T31TEJ/SENTINEL2B_20201012-105848-497_L2A_T31TEJ_C_V2-2/"
"SENTINEL2B_20201012-105848-497_L2A_T31TEJ_C_V2-2_FRE_10m.tif", "SENTINEL2B_20201012-105848-497_L2A_T31TEJ_C_V2-2_FRE_10m.tif",
self.get_path("baseline/PREPARE/S2_PREPARE/T31TEJ/" self.get_path("baseline/PREPARE/S2_PREPARE/T31TEJ/"
......
Supports Markdown
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