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
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include "otbSailModel.h" #include "otbSailModel.h"
#include "otbProspectModel.h" #include "otbProspectModel.h"
#include "otbMacro.h"
#include "otbImageFileReader.h" #include "otbImageFileReader.h"
#include "otbImageFileWriter.h" #include "otbImageFileWriter.h"
...@@ -151,13 +151,12 @@ int main(int argc, char* argv[]) ...@@ -151,13 +151,12 @@ int main(int argc, char* argv[])
for (unsigned int i = 0; i < sail->GetViewingReflectance()->Size(); ++i) for (unsigned int i = 0; i < sail->GetViewingReflectance()->Size(); ++i)
{ {
std::cout << "wavelength : "; otbLogMacro(Debug, << "wavelength : "
std::cout << sail->GetViewingReflectance()->GetResponse()[i].first; << sail->GetViewingReflectance()->GetResponse()[i].first
std::cout << ". Viewing reflectance "; << ". Viewing reflectance "
std::cout << sail->GetViewingReflectance()->GetResponse()[i].second; << sail->GetViewingReflectance()->GetResponse()[i].second
std::cout << ". Hemispherical reflectance "; << ". Hemispherical reflectance "
std::cout << sail->GetHemisphericalReflectance()->GetResponse()[i].second; << sail->GetHemisphericalReflectance()->GetResponse()[i].second);
std::cout << std::endl;
} }
std::ofstream outputFile(OutputName, std::ios::out); 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