Skip to content
Snippets Groups Projects
Commit b9ac1bf7 authored by Jordi Inglada's avatar Jordi Inglada
Browse files

TEST: output the solar irradiance for test purposes

parent 3bd4e8ab
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment