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
Container Registry
Model registry
Operate
Environments
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
Main Repositories
otb
Commits
a36feb09
Commit
a36feb09
authored
17 years ago
by
Thomas Feuvrier
Browse files
Options
Downloads
Patches
Plain Diff
Correction printf
parent
4659a89d
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
Testing/Utilities/6SFunctionMainTest.cxx
+0
-88
0 additions, 88 deletions
Testing/Utilities/6SFunctionMainTest.cxx
with
0 additions
and
88 deletions
Testing/Utilities/6SFunctionMainTest.cxx
+
0
−
88
View file @
a36feb09
...
...
@@ -48,7 +48,6 @@ int SIXSFunctionMainOtbTest( int argc, char *argv[] )
const
unsigned
int
S_SIZE
=
1501
;
std
::
vector
<
otb_6s_real
>
vector_wavelenght
;
std
::
ifstream
fin
;
std
::
ofstream
fout
;
...
...
@@ -93,92 +92,6 @@ int SIXSFunctionMainOtbTest( int argc, char *argv[] )
s
[
cpt
]
=
vector_wavelenght
[
i
];
cpt
++
;
}
/* asol = 30.;
phi0 = 0.;
avis = 45.;
phiv = 90.;
month = 7;
jday = 15;
pressure = 1013.;
uw = 1.424;
uo3 = 0.344;
iaer = 1;
taer55 = 0.1;
wlinf = 0.580;
wlsup = 0.745;
otb_6s_integer cpt=iinf-1;
// s = new otb_6s_real[67];
s[cpt] = 0.0000;
cpt++;s[cpt] = 0.0000;
cpt++;s[cpt] = 0.0000;
cpt++;s[cpt] = 0.0000;
cpt++;s[cpt] = 0.0000;
cpt++;s[cpt] = 0.0000;
cpt++;s[cpt] = 0.0000;
cpt++;s[cpt] = 0.0010;
cpt++;s[cpt] = 0.0020;
cpt++;s[cpt] = 0.0120;
cpt++;s[cpt] = 0.0220;
cpt++;s[cpt] = 0.0695;
cpt++;s[cpt] = 0.1170;
cpt++;s[cpt] = 0.2160;
cpt++;s[cpt] = 0.3150;
cpt++;s[cpt] = 0.4245;
cpt++;s[cpt] = 0.5340;
cpt++;s[cpt] = 0.6195;
cpt++;s[cpt] = 0.7050;
cpt++;s[cpt] = 0.7655;
cpt++;s[cpt] = 0.8260;
cpt++;s[cpt] = 0.8640;
cpt++;s[cpt] = 0.9020;
cpt++;s[cpt] = 0.9270;
cpt++;s[cpt] = 0.9520;
cpt++;s[cpt] = 0.9660;
cpt++;s[cpt] = 0.9800;
cpt++;s[cpt] = 0.9870;
cpt++;s[cpt] = 0.9940;
cpt++;s[cpt] = 0.9970;
cpt++;s[cpt] = 1.0000;
cpt++;s[cpt] = 0.9985;
cpt++;s[cpt] = 0.9970;
cpt++;s[cpt] = 0.9895;
cpt++;s[cpt] = 0.9820;
cpt++;s[cpt] = 0.9635;
cpt++;s[cpt] = 0.9450;
cpt++;s[cpt] = 0.9040;
cpt++;s[cpt] = 0.8630;
cpt++;s[cpt] = 0.7900;
cpt++;s[cpt] = 0.7170;
cpt++;s[cpt] = 0.6255;
cpt++;s[cpt] = 0.5340;
cpt++;s[cpt] = 0.4450;
cpt++;s[cpt] = 0.3560;
cpt++;s[cpt] = 0.2895;
cpt++;s[cpt] = 0.2230;
cpt++;s[cpt] = 0.1780;
cpt++;s[cpt] = 0.1330;
cpt++;s[cpt] = 0.1060;
cpt++;s[cpt] = 0.0790;
cpt++;s[cpt] = 0.0635;
cpt++;s[cpt] = 0.0480;
cpt++;s[cpt] = 0.0385;
cpt++;s[cpt] = 0.0290;
cpt++;s[cpt] = 0.0235;
cpt++;s[cpt] = 0.0180;
cpt++;s[cpt] = 0.0145;
cpt++;s[cpt] = 0.0110;
cpt++;s[cpt] = 0.0090;
cpt++;s[cpt] = 0.0070;
cpt++;s[cpt] = 0.0055;
cpt++;s[cpt] = 0.0040;
cpt++;s[cpt] = 0.0030;
cpt++;s[cpt] = 0.0020;
cpt++;s[cpt] = 0.0010;
cpt++;s[cpt] = 0.0000;
*/
// Call 6S function main
std
::
cout
<<
"Start otb_6s_ssssss_otb_main_function() ..."
<<
std
::
endl
;
...
...
@@ -200,7 +113,6 @@ int SIXSFunctionMainOtbTest( int argc, char *argv[] )
fout
.
open
(
argv
[
2
]);
fout
<<
" ---------------------------------------------------------"
<<
std
::
endl
;
fout
<<
"Inputs values:"
<<
std
::
endl
;
fout
<<
" -----> atmospheric reflectance : "
<<
otb_ratm__
<<
std
::
endl
;
fout
<<
" -----> asol : "
<<
asol
<<
std
::
endl
;
fout
<<
" -----> phi0 : "
<<
phi0
<<
std
::
endl
;
fout
<<
" -----> avis : "
<<
avis
<<
std
::
endl
;
...
...
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