does pvlib.location.Location.get_solarposition function returns the zenith angle in degrees or radians? https://pvlib-python.readthedocs.io/en/stable/generated/pvlib.location.Location.get_solarposition.html
Asked
Active
Viewed 305 times
-1
-
1Even if the documentation didn't specify, you could see for yourself: calculate hourly solar position across a day and look at what range the returned values span. Examining the data yourself is a good habit to get into! – kevinsa5 Aug 20 '21 at 19:29
1 Answers
2
While it isn't evident from the main wrapper function get_solarposition
, if you look at the individual functions, e.g., https://pvlib-python.readthedocs.io/en/stable/generated/pvlib.solarposition.ephemeris.html, then you'll see it's in degrees.

Adam R. Jensen
- 617
- 5
- 12