aboutsummaryrefslogtreecommitdiffstats
path: root/radharc.c
diff options
context:
space:
mode:
Diffstat (limited to 'radharc.c')
-rw-r--r--radharc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/radharc.c b/radharc.c
index 023afab..f67ae8f 100644
--- a/radharc.c
+++ b/radharc.c
@@ -304,14 +304,12 @@ get_temperature(double *tp)
if (choosen_temperature < 0) {
if (libred_solar_elevation(latitude, longitude, tp))
return -1;
- printf("elevation: %g\n", *tp);
if (*tp < low_elev)
*tp = low_elev;
if (*tp > high_elev)
*tp = high_elev;
*tp = (*tp - low_elev) / (high_elev - low_elev);
*tp = low_temp + *tp * (high_temp - low_temp);
- printf("temperature: %g\n", *tp);
} else {
*tp = choosen_temperature;
}