This suite of scripts forms a toolkit for fetching, analyzing, and generating reports on weather data.
It assesses forecast accuracy over time and understanding weekly weather statistics.
This version of the toolkit reports today's weather and the forecast weather for tomorrow at noon in Berlin.
The Weather Analysis Toolkit creates an ETL (Extract, Transform, Load) pipeline for enhanced forecasting accuracy.
The scripts extract temperature data from the wttr.in
API for Berlin.
The scripts transform the data by filtering out extraneous information irrelevant to forecasting objectives.
The scripts load the data into reports which can inform decision-making.
-
fetch_weather_data.sh
: This script is responsible for retrieving the latest weather data fromwttr.in
. -
analyse_forecast_accuracy.sh
: This script conducts an analysis of weather forecast accuracy, comparing forecasted data against actual weather outcomes. -
generate_weekly_weather_stats.sh
: This script generates a report summarizing weekly weather statistics, providing insights into trends and anomalies.
These instructions will help you get the project up and running on your local machine for development and testing purposes.
- Unix-based operating system (Mac/Linux)
Clone the repository to your local machine.
`git clone https://github.com/carecodeconnect/weather.git`
Navigate to the project directory and give execution permissions to the scripts.
cd path/to/repository
chmod +x *.sh
To fetch the latest weather data, execute the following script:
./fetch_weather_data.sh
To analyze the accuracy of weather forecasts, use the following script:
./analyse_forecast_accuracy.sh
To generate a report on weekly weather statistics, execute the following script:
./generate_weekly_weather_stats.sh
- Hat tip to the developers of the IBM Linux Command Line and Shell Scripting course on EdX.org for the original code
This project is licensed under the terms of the MIT license. See the LICENSE.md file for details.