The weather platform is a mini-application developed for the Orion Solar Car team, an aspiring team to participate in the World Solar Challenge. This application allows the consultation of extremely important meteorological data through the Solcast API. These data are crucial for the team's strategy, as they influence route planning, energy consumption, and the efficiency of the solar vehicle.
- Weather Data Query: Access accurate and up-to-date weather information provided by the Solcast API.
- Data Visualization: User-friendly interface for visualizing relevant meteorological data, such as solar irradiance, temperature, and weather conditions.
- Real-Time Updates: Real-time weather data for strategic planning and adjustment.
- Python (v3.6 or higher)
- tkinter library
- Solcast API Key: You will need an API key from Solcast to access the weather data.
-
Clone the repository:
git clone https://github.com/cewhizzar/solcast-app.git cd solcast-app
-
Install the necessary dependencies:
pip install tkinter
-
Create a
.env
file in the root of the project and add your Solcast API key (or use in the Label):SOLCAST_API_KEY=your_solcast_api_key
To start the application, run:
python main.py
This will launch the application, where you can access and query the weather data.
Contributions are welcome. If you wish to improve the platform, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/new-feature
). - Make your changes and commit them (
git commit -m 'Add new feature'
). - Push your changes to your fork (
git push origin feature/new-feature
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any questions or suggestions, you can contact the development team via email: [email protected] or [email protected]