diff --git a/Code/Simulation/otbReduceSpectralResponse.txx b/Code/Simulation/otbReduceSpectralResponse.txx index dc06d3ca3625bdf5ba34b8ed47929531bc0a4c47..8b85d480f5c36389111014461a95ea975c0c50ad 100644 --- a/Code/Simulation/otbReduceSpectralResponse.txx +++ b/Code/Simulation/otbReduceSpectralResponse.txx @@ -279,13 +279,18 @@ ReduceSpectralResponse<TSpectralResponse , TRSR> os<<std::endl; os << "spectre " << m_InputSpectralResponse <<std::endl; os << "Sat RSR " << m_InputSatRSR <<std::endl; + if(m_ReflectanceMode) + { + os << "Solar irradiance " << std::endl; + this->m_InputSatRSR->GetSolarIrradiance()->PrintSelf(os, indent); + } os<<std::endl; os <<indent << "[Center Wavelength (micrometers), Reflectance (percent)]" << std::endl; for(typename VectorPairType::const_iterator it = m_ReduceResponse->GetResponse().begin(); it != m_ReduceResponse->GetResponse().end(); ++it) { os <<indent << "Band Nb : "<< it - m_ReduceResponse->GetResponse().begin() << ": [" << (*it).first << ","<< (*it).second << "]" << std::endl; - } + } } } // end namespace otb