pingswept/pysolar

Temperature in Kelvin or Centigrade?

Opened this issue · 1 comments

Hi everyone,

Some functions like get_altitude and get_refraction_correction need temperature, but it is not clear from the API if they should be in K or C. Similarly with pressure. I observed that there is no transformation to Kelvin happening in the code. So, I presume the values are needed in Kelvin and Pascal. Please correct me if I am wrong.
It would be great if someone clearly defines that in the documentation of the APIs.

Thanks,
Raghu

Yes, that would be an improvement. Patches welcome.