https://github.com/markkvdb/pyzonnestand
https://github.com/markkvdb/pyzonnestand
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/markkvdb/pyzonnestand
- Owner: markkvdb
- Created: 2024-01-27T19:17:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-27T20:23:01.000Z (over 2 years ago)
- Last Synced: 2025-10-09T10:14:23.418Z (8 months ago)
- Language: Jupyter Notebook
- Size: 265 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PyZonnestand
Fast and accurate calculation of the position of the sun.
## Quickstart
```python
from pyzonnestand import sun_position
start = datetime(2019, 1, 1, 12, 0, 0)
dt = [start + timedelta(hours=i) for i in range(48)]
data = sun_position(
dt=dt,
latitude=52.0,
longitude=5.0,
elevation=0.0,
)
```
## Credits
Heavily inspired by [sun-position](https://github.com/s-bear/sun-position).