Sun Position: refactor Sun calculations
commit1379d57538e6e1679afd61d88b5896cc505af16c
authorDamien Picard <dam.pic@free.fr>
Mon, 20 Mar 2023 15:09:04 +0000 (20 16:09 +0100)
committerDamien Picard <dam.pic@free.fr>
Mon, 20 Mar 2023 22:19:01 +0000 (20 23:19 +0100)
treef281a4159b633ecbd733c4bb4608b8cba054cfce
parent5cd3c0c3228e74e8800950cb49d987c23d5e1138
Sun Position: refactor Sun calculations

- Import math functions using from for clarity
- keep internal elevation and azimuth in radians
- remove redundant az_north variable.
sun_position/sun_calc.py
sun_position/ui_sun.py