From 7e5d88713c5155e65e693ed55e29a14aa34b66b9 Mon Sep 17 00:00:00 2001
From: Thomas Feuvrier <thomas.feuvrier@c-s.fr>
Date: Mon, 17 Aug 2009 17:49:51 +0200
Subject: [PATCH] ENH: Add two tesing for Level10 and Level20 datas format.

---
 Testing/Code/Radiometry/CMakeLists.txt | 37 ++++++++++++++++++++++----
 1 file changed, 32 insertions(+), 5 deletions(-)

diff --git a/Testing/Code/Radiometry/CMakeLists.txt b/Testing/Code/Radiometry/CMakeLists.txt
index 5c819608cf..cae96176a1 100644
--- a/Testing/Code/Radiometry/CMakeLists.txt
+++ b/Testing/Code/Radiometry/CMakeLists.txt
@@ -979,10 +979,10 @@ ADD_TEST(raTvAeronetExtractData_BadHour ${RADIOMETRY_TESTS8}
         0.4   # Epsilon
 )
 
-# -------            Aeronet Seysses------------------------------
-ADD_TEST(raTvAeronetExtractData ${RADIOMETRY_TESTS8}
-   --compare-ascii ${EPSILON_10e6} ${BASELINE_FILES}/raAeronetExtractData_Seysses15_23_03_2009_11_00_00.txt
-                          ${TEMP}/raAeronetExtractData_Seysses15_23_03_2009_11_00_00.txt
+# -------            Aeronet Seysses Level 15------------------------------
+ADD_TEST(raTvAeronet_SeyssesLevel15_ExtractData ${RADIOMETRY_TESTS8}
+   --compare-ascii ${EPSILON_10e6} ${BASELINE_FILES}/raAeronetExtractData_SeyssesLevel15_23_03_2009_11_00_00_epsilon_0dot4.txt
+                          ${TEMP}/raAeronetExtractData_SeyssesLevel15_23_03_2009_11_00_00_epsilon_0dot4.txt
         otbAeronetExtractData
         ${INPUTDATA}/AERONET/090101_091231_Seysses.lev15
         23    # Day
@@ -991,7 +991,34 @@ ADD_TEST(raTvAeronetExtractData ${RADIOMETRY_TESTS8}
         10    # Hour
         0     # Minute
         0.4   # Epsilon
-        ${TEMP}/raAeronetExtractData_Seysses15_23_03_2009_11_00_00.txt
+        ${TEMP}/raAeronetExtractData_SeyssesLevel15_23_03_2009_11_00_00_epsilon_0dot4.txt
+)
+
+ADD_TEST(raTvAeronet_ToulouseLevel20_ExtractData ${RADIOMETRY_TESTS8}
+   --compare-ascii ${EPSILON_10e6} ${BASELINE_FILES}/raAeronetExtractData_ToulouseLevel20_31_08_1999_16_30_epsilon_2.txt
+                          ${TEMP}/raAeronetExtractData_ToulouseLevel20_31_08_1999_16_30_epsilon_2.txt
+        otbAeronetExtractData
+        ${INPUTDATA}/AERONET/990101_011231_Toulouse.lev20
+        31    # Day
+        8     # Month
+        1999  # Year
+        16    # Hour
+        30     # Minute
+        2   # Epsilon
+        ${TEMP}/raAeronetExtractData_ToulouseLevel20_31_08_1999_16_30_epsilon_2.txt
+)
+ADD_TEST(raTvAeronet_ArcachonLevel10_ExtractData ${RADIOMETRY_TESTS8}
+   --compare-ascii ${EPSILON_10e6} ${BASELINE_FILES}/raAeronetExtractData_ArcachonLevel10_16_08_2009_13_00_epsilon_1.txt
+                          ${TEMP}/raAeronetExtractData_ArcachonLevel10_16_08_2009_13_00_epsilon_1.txt
+        otbAeronetExtractData
+        ${INPUTDATA}/AERONET/080101_091231_Arcachon.lev10
+        16    # Day
+        8     # Month
+        2009  # Year
+        13    # Hour
+        0     # Minute
+        1     # Epsilon
+        ${TEMP}/raAeronetExtractData_ArcachonLevel10_16_08_2009_13_00_epsilon_1.txt
 )
 
 
-- 
GitLab