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
David Youssefi
otb
Commits
f10d65dd
Commit
f10d65dd
authored
17 years ago
by
Cyrille Valladeau
Browse files
Options
Downloads
Patches
Plain Diff
Modification sur AtmosphericRadiativeTerms (prise en compte des differents canaux).
parent
f1469866
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Testing/Code/Radiometry/otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms.cxx
+51
-0
51 additions, 0 deletions
...ericCorrectionParametersTo6SAtmosphericRadiativeTerms.cxx
with
51 additions
and
0 deletions
Testing/Code/Radiometry/otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms.cxx
0 → 100644
+
51
−
0
View file @
f10d65dd
/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include
"otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms.h"
#include
"otbAtmosphericCorrectionParameters.h"
int
otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms
(
int
argc
,
char
*
argv
[])
{
typedef
otb
::
AtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms
AtmosphericCorrectionParametersTo6SAtmosphericRadiativeTermsType
;
typedef
otb
::
AtmosphericCorrectionParameters
AtmosphericCorrectionParametersType
;
typedef
AtmosphericCorrectionParametersType
::
AerosolModelType
AerosolModelType
;
/*
// Instantiating object
AtmosphericCorrectionParametersTo6SAtmosphericRadiativeTermsType::Pointer object = AtmosphericCorrectionParametersTo6SAtmosphericRadiativeTermsType::New();
AtmosphericCorrectionParametersType param; // = otbAtmosphericCorrectionParameters::New();
AerosolModelType aerosolModel;
AerosolModelType AerosolModel;
param->SetSolarZenithalAngle(static_cast<double>(::atof(argv[])));
param->SetSolarAzimutalAngle(static_cast<double>(::atof(argv[])));
param->SetViewingZenithalAngle(static_cast<double>(::atof(argv[])));
param->SetViewingAzimutalAngle(static_cast<double>(::atof(argv[])));
param->SetMonth(::atoi(argv[]));
param->SetDay(::atoi(argv[]));
param->SetAtmosphericPressure(static_cast<double>(::atof(argv[])));
param->SetWaterVaporAmount(static_cast<double>(::atof(argv[])));
param->SetOzoneAmount(static_cast<double>(::atof(argv[])));
aerosolModel = static_cast<AerosolModelType>(::atoi(argv[]));
param->SetAerosolModel(aerosolModel);
param->SetAerosolOptical(static_cast<double>(::atof(argv[])));
*/
return
EXIT_SUCCESS
;
}
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