Correct a bug moving temporal variable to other method.
Correct a bug moving temporal variable to other method.

scottlittle/solar_radiation_model,ahMarrone/solar_radiation_model,gersolar/solar_radiation_model