Generates an ics file containing events for sunrise and sunset for a given range of dates. Sunrise is defined as dawn to sunrise, sunset is defined as sunset to dusk.
To use, change the variables defined at the beginning. Location is input as coordinates in loc_lat
and loc_long
, the only function of loc_name
is formatting. It also needs the timezone as defined by pytz
.
- Improve daylight time formatting in event description
- See if coordinates in event location can move to "GEO" property
- More scripts for astral's other features:
- Solar noon
- Moon phase