markkvdb / pyzonnestand

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyZonnestand

Fast and accurate calculation of the position of the sun.

Quickstart

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.

About


Languages

Language:Jupyter Notebook 73.7%Language:Python 26.3%