Skip to content
Snippets Groups Projects
Commit 6338cbc2 authored by Mickael Savinaud's avatar Mickael Savinaud
Browse files

STYLE: remove non-ascii characters

parent f28f8098
No related branches found
No related tags found
No related merge requests found
...@@ -28,8 +28,8 @@ namespace otb ...@@ -28,8 +28,8 @@ namespace otb
* *
* Call VarSol main function * Call VarSol main function
* *
* [1] Vermote, E., Tanré, D., Deuze, J., Herman, M., Morcette, J., 1997. * [1] Vermote, E., Tanré, D., Deuze, J., Herman, M., Morcette, J., 1997.
* Second simulation of the satellite signal in the solar spectrum, 6S: An overview. * Second simulation of the satellite signal in the solar spectrum, 6S: An overview.
* IEEE Transactions on Geoscience and Remote Sensing 35 * IEEE Transactions on Geoscience and Remote Sensing 35
* \ingroup Radiometry * \ingroup Radiometry
* *
...@@ -37,20 +37,17 @@ namespace otb ...@@ -37,20 +37,17 @@ namespace otb
class ITK_EXPORT VarSol class ITK_EXPORT VarSol
{ {
public: public:
/** Call the varSol function*/ /** Call the varSol function*/
static double GetVarSol(const int day, const int month) static double GetVarSol(const int day, const int month)
{ {
/* System generated locals */ /* System generated locals */
double d__1; double d__1;
/* Builtin functions */
//double acos(double), cos(double);
/* Local variables */ /* Local variables */
int j; int j;
double om; double om;
/* calculation of the variability of the solar constant during the year. */ /* calculation of the variability of the solar constant during the year. */
/* day is the number of the day in the month */ /* day is the number of the day in the month */
if (month <= 2) if (month <= 2)
...@@ -59,7 +56,7 @@ namespace otb ...@@ -59,7 +56,7 @@ namespace otb
j = (month - 1) * 31 - (month - 2) / 2 - 2 + day; j = (month - 1) * 31 - (month - 2) / 2 - 2 + day;
else else
j = (month - 1) * 31 - (month - 1) / 2 - 2 + day; j = (month - 1) * 31 - (month - 1) / 2 - 2 + day;
om = (double) (j - 4) * .9856 * CONST_PI_180; om = (double) (j - 4) * .9856 * CONST_PI_180;
/* Computing 2nd power */ /* Computing 2nd power */
d__1 = 1. - vcl_cos(om) * .01673; d__1 = 1. - vcl_cos(om) * .01673;
...@@ -68,4 +65,3 @@ namespace otb ...@@ -68,4 +65,3 @@ namespace otb
}; };
} //end namespace otb } //end namespace otb
#endif #endif
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