Expand description
SPA (Solar Position Algorithm) implementation.
High-accuracy solar positioning based on the NREL algorithm by Reda & Andreas (2003). Provides uncertainties of ±0.0003 degrees for years -2000 to 6000.
Modules§
- coefficients
- SPA algorithm coefficient tables.
Functions§
- solar_
position - Calculate solar position using the SPA algorithm.
- solar_
position_ no_ refraction - Calculate solar position using the SPA algorithm without refraction correction.
- sunrise_
sunset - Calculate sunrise, solar transit, and sunset times using the SPA algorithm.
- sunrise_
sunset_ for_ horizon - Calculate sunrise, solar transit, and sunset times for a specific horizon type.
- sunrise_
sunset_ multiple - Calculate sunrise/sunset times for multiple horizons efficiently.