Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Cabieces
otb
Commits
882a2686
Commit
882a2686
authored
11 years ago
by
Manuel Grizonnet
Browse files
Options
Downloads
Patches
Plain Diff
ENH: add log information in OpticalCalibration application
parent
62c6ec1d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Applications/Radiometry/otbOpticalCalibration.cxx
+11
-4
11 additions, 4 deletions
Applications/Radiometry/otbOpticalCalibration.cxx
with
11 additions
and
4 deletions
Applications/Radiometry/otbOpticalCalibration.cxx
+
11
−
4
View file @
882a2686
...
...
@@ -233,7 +233,7 @@ private:
{
case
Level_TOA
:
{
GetLogger
()
->
Info
(
"Compute Top of Atmosphere reflectance"
);
GetLogger
()
->
Info
(
"Compute Top of Atmosphere reflectance
\n
"
);
m_LuminanceToReflectanceFilter
->
SetUseClamp
(
IsParameterEnabled
(
"clamp"
));
m_LuminanceToReflectanceFilter
->
UpdateOutputInformation
();
...
...
@@ -242,7 +242,7 @@ private:
break
;
case
Level_TOC
:
{
GetLogger
()
->
Info
(
"Compute Top of Canopy reflectance"
);
GetLogger
()
->
Info
(
"Compute Top of Canopy reflectance
\n
"
);
m_ReflectanceToSurfaceReflectanceFilter
->
SetIsSetAtmosphericRadiativeTerms
(
false
);
m_ReflectanceToSurfaceReflectanceFilter
->
SetUseGenerateParameters
(
true
);
m_ReflectanceToSurfaceReflectanceFilter
->
UpdateOutputInformation
();
...
...
@@ -281,6 +281,7 @@ private:
// Aeronet file
if
(
IsParameterEnabled
(
"atmo.aeronet"
))
{
GetLogger
()
->
Info
(
"Use aeronet file to retrieve atmospheric parameters"
);
m_ReflectanceToSurfaceReflectanceFilter
->
SetAeronetFileName
(
GetParameterString
(
"atmo.aeronet"
));
}
...
...
@@ -290,14 +291,20 @@ private:
m_ReflectanceToSurfaceReflectanceFilter
->
UpdateOutputInformation
();
m_ReflectanceToSurfaceReflectanceFilter
->
SetUseGenerateParameters
(
false
);
// std::ostringstream oss_atmo;
// oss_atmo << "Atmospheric parameters: " << std::endl;
// oss_atmo << m_AtmosphericParam;
// GetLogger()->Info(oss_atmo.str());
std
::
ostringstream
oss
;
oss
.
str
(
""
);
oss
<<
m_AtmosphericParam
;
oss
<<
std
::
endl
<<
m_AtmosphericParam
;
AtmosphericRadiativeTerms
::
Pointer
atmoTerms
=
m_ReflectanceToSurfaceReflectanceFilter
->
GetAtmosphericRadiativeTerms
();
oss
<<
std
::
endl
<<
std
::
endl
<<
atmoTerms
;
GetLogger
()
->
Debug
(
"Atmospheric correction parameters : "
+
oss
.
str
());
GetLogger
()
->
Info
(
"Atmospheric correction parameters
compute by 6S
: "
+
oss
.
str
());
//Compute adjacency effect
// m_SurfaceAdjacencyEffect6SCorrectionSchemeFilter
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment