From 4017678bab25846a9197a38e46bc6f4907dac944 Mon Sep 17 00:00:00 2001
From: Cyrille Valladeau <cyrille.valladeau@c-s.fr>
Date: Fri, 21 Aug 2009 15:51:29 +0200
Subject: [PATCH] ENH : add production date in metadata + correction in
 IkonosIMI (YY/MM/DD -> MM/DD/YY)

---
 .../Radiometry/otbAtmosphericCorrectionParameters.cxx | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Code/Radiometry/otbAtmosphericCorrectionParameters.cxx b/Code/Radiometry/otbAtmosphericCorrectionParameters.cxx
index 3ef2a925ef..a174d628cd 100644
--- a/Code/Radiometry/otbAtmosphericCorrectionParameters.cxx
+++ b/Code/Radiometry/otbAtmosphericCorrectionParameters.cxx
@@ -59,7 +59,18 @@ FilterFunctionValues
 AtmosphericCorrectionParameters
 ::AtmosphericCorrectionParameters()
 {
+  m_SolarZenithalAngle = 361.;
+  m_SolarAzimutalAngle = 361.;
+  m_ViewingZenithalAngle = 361.;
+  m_ViewingAzimutalAngle = 361.;
+  m_Month = 0;
+  m_Day = 0;
+  m_AtmosphericPressure = -1.;
+  m_WaterVaporAmount = -1.;
+  m_OzoneAmount = -1.;
   m_AerosolModel = CONTINENTAL;
+  m_AerosolOptical = -1.;
+
 }
 
 /**PrintSelf method */
-- 
GitLab