This repository contains the development of a Facebook Prophet model to forecast the average temperature in Valencia (Spain).
app.py
: Main script.config.py
: File where the API Key is to be stored.utils.py
: Utility functions for data processing and modeling.variables.csv
: File with the description of each variable in the dataset.requirements.txt
: List of dependencies required to run the project.
-
Clone the repository:
git clone https://github.com/jmudy/weather-data-forecast.git
-
Navigate to the project directory:
cd weather-data-forecast
-
Create and activate a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows use venv\Scripts\activate
-
Install the dependencies:
pip install -r requirements.txt
-
Get your own API Key on the AEMET website:
Enter the following link and request an API Key. Once you get it in your email you have to replace it in the
config.py
file.
-
Run the Streamlit application:
streamlit run app.py
-
Open your web browser and go to
http://localhost:8501
to interact with the application.