Skip to content

Shows the effect of permanent standard time or permanent daylight saving time for a location on Earth

License

Notifications You must be signed in to change notification settings

ahernsean/dst_time_changes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunrise and Sunset Times Web Application

Shows the effect of permanent standard time or permanent daylight saving time for a location on Earth.

This web application provides an interface to select a location and view the sunrise and sunset times for the entire year. It uses Flask as the web framework, Plotly for data visualization, and the ephem library to calculate astronomical events.

Features

Image of sunrise/sunset times for Raleigh, NC

  • Visualization of sunrise and sunset times across three scenarios: permanent standard time, current observance, and permanent daylight saving time.
  • Interactive plots with hover information for precise sunrise and sunset times.
  • Custom input fields for latitude, longitude, and a title for new locations.
  • Menu for selection of predefined locations

A live, running demo on Glitch: Demo site

Installation

Before running the application, you need to install the required Python packages. It is recommended to use a virtual environment.

# Create a virtual environment (optional)
python -m venv venv
# Activate the virtual environment
source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
# Install the required packages
pip install -r requirements.txt
# Run the code
python app.py

License

This project is licensed under a BSD License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to fork and submit a pull request.

Support

If you encounter any issues or have questions, please file an issue on the GitHub repository.

Authors

  • Sean Ahern

About

Shows the effect of permanent standard time or permanent daylight saving time for a location on Earth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published