Skip to content
Snippets Groups Projects
Commit 6ab9233b authored by OTB Bot's avatar OTB Bot
Browse files

STYLE

parent 50ff8bfd
Branches
Tags
No related merge requests found
......@@ -111,7 +111,7 @@ public:
}
outPixel[j] = static_cast<RealValueType>(it.GetCenterPixel()[j]) *m_UpwardTransmittanceRatio[j]
outPixel[j] = static_cast<RealValueType>(it.GetCenterPixel()[j]) *m_UpwardTransmittanceRatio[j]
+ contribution * m_DiffuseRatio[j];
}
return outPixel;
......
......@@ -219,7 +219,7 @@ SurfaceAdjacencyEffect6SCorrectionSchemeFilter<TInputImage, TOutputImage>
double notUsed1, notUsed2;
double factor = 1;
double palt = 1000.;
SIXSTraits::ComputeEnvironmentalContribution(rayleigh,
SIXSTraits::ComputeEnvironmentalContribution(rayleigh,
aerosol,
radiusMatrix(i,j),
palt,
......
......@@ -28,7 +28,7 @@ namespace otb
*
* Call VarSol main function
*
* [1] Vermote, E., Tanre, D., Deuze, J., Herman, M., Morcette, J., 1997.
* [1] Vermote, E., Tanre, D., Deuze, J., Herman, M., Morcette, J., 1997.
* Second simulation of the satellite signal in the solar spectrum, 6S: An overview.
* IEEE Transactions on Geoscience and Remote Sensing 35
* \ingroup Radiometry
......@@ -50,9 +50,9 @@ namespace otb
/* calculation of the variability of the solar constant during the year. */
/* day is the number of the day in the month */
if (month <= 2)
if (month <= 2)
j = (month - 1) * 31 + day;
else if (month > 8)
else if (month > 8)
j = (month - 1) * 31 - (month - 2) / 2 - 2 + day;
else
j = (month - 1) * 31 - (month - 1) / 2 - 2 + day;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment