Brandon Stafford

Results 13 comments of Brandon Stafford

That’s trying to calculate roughly e^100000, which is around 10^43000, so that’s where the overflow is happening. I suspect the right solution is to alter [get_air_mass_ratio()](https://github.com/pingswept/pysolar/blob/177b283eb8ed588d1241ecd1885d260b567d8da6/pysolar/radiation.py#L23) so that it is...

Yeah, it seems like you've identified a problem. `get_sunrise_sunset_transit()` should check the local time to determine the day, and then determine the sunrise, sunset, and transit times from that. I...

Yes, this needs fixing, if anyone has the time to sort out the details. Patches welcome, as always.