Skip to content
Snippets Groups Projects
Commit 00423498 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

TEST: less verbose Prosail test

parent 92dfa417
No related branches found
No related tags found
2 merge requests!621Release 7.0 (master),!456Various CI fixes for a lighter dashboard
This commit is part of merge request !456. Comments created here will be created in the context of that merge request.
......@@ -34,7 +34,7 @@
#include "otbSailModel.h"
#include "otbProspectModel.h"
#include "otbMacro.h"
#include "otbImageFileReader.h"
#include "otbImageFileWriter.h"
......@@ -151,13 +151,12 @@ int main(int argc, char* argv[])
for (unsigned int i = 0; i < sail->GetViewingReflectance()->Size(); ++i)
{
std::cout << "wavelength : ";
std::cout << sail->GetViewingReflectance()->GetResponse()[i].first;
std::cout << ". Viewing reflectance ";
std::cout << sail->GetViewingReflectance()->GetResponse()[i].second;
std::cout << ". Hemispherical reflectance ";
std::cout << sail->GetHemisphericalReflectance()->GetResponse()[i].second;
std::cout << std::endl;
otbLogMacro(Debug, << "wavelength : "
<< sail->GetViewingReflectance()->GetResponse()[i].first
<< ". Viewing reflectance "
<< sail->GetViewingReflectance()->GetResponse()[i].second
<< ". Hemispherical reflectance "
<< sail->GetHemisphericalReflectance()->GetResponse()[i].second);
}
std::ofstream outputFile(OutputName, std::ios::out);
......
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