pysolar icon indicating copy to clipboard operation
pysolar copied to clipboard

Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations.

Results 14 pysolar issues
Sort by recently updated
recently updated
newest added

I ran into a problem using get_sunrise_sunset_transit() in util.py. "same_day" goes to the beginning of the day for the input time, not for the day that's relevant at the specified...

help wanted

Hi, I came across a bug where, at first glance, there seems to be a problem calculating the direct radiation right around sunrise and sunset. Here's the error message. ```...

help wanted

Hello @pingswept , I have been working lately on my own solar irradiation model, and I believe [this](https://github.com/aqreed/solarpy/blob/master/solarpy/radiation.py#L527) air mass model based on Kasten & Young (1989) or [this](https://github.com/aqreed/solarpy/blob/develop/solarpy/radiation.py#L565) one,...

help wanted

PySolar seems to produce discontinuous sun elevation/altitude around sunset (and also near sunrise): there is a ~0.6deg jump in the following test case. May be related to #115. Minimal example...

help wanted

It would be nice to have a logo for pysolar

help wanted

When running tests, I am getting the following warning from `numpy` (current version): > `[...]\pysolar\numeric.py:62: DeprecationWarning: parsing timezone aware datetimes is deprecated; this will raise an error in the future`...

help wanted

Cannot figure out what's causing this warning during testing: > `[...]\pysolar\util.py:690: RuntimeWarning: invalid value encountered in true_divide` > ` KT = (ghi_data / EXTR1)` Somehow unit testing succeeds, even though...

help wanted

Hi, Is there a way to calculate the different phases of dawn and dawn (civil, nautical, astronomical) using pysolar. I need this for home automation. Thanks.

help wanted

It seems in some scenarios i observed `KT > 1` and `ZeroDivisionError`. So i made changes to my own code like this. This might be helpful for others. ``` try:...

help wanted

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...

help wanted