I am looking at various ways to use ML with weather patterns. This repo was created by following a tutorial: Predict the Weather with Machine Learning by Vik Paruchri with Dataquest.
Data was requested through the National Oceanic and Atmospheric Administration and National Centers for Environmental Information's Climate Search request pages. Parameters of search requested were "Daily Summaries" taken from the Louisville Muhammad Ali Airport (SDF) from January 1, 1960 to June 28, 2022.
The five core weather patterns are established from the documentation1 and include the following values per day:
- Precipitation in inches
- Snowfall total in inches
- Snow depth (ground accumulation) in inches
- High temperature in Fahrenheit
- Low temperature in Fahrenheit
Anaconda is the preferred distribution and contains all the required packages needed to run this program.
If you would rather install individually:
pip install jupyter
pip install pandas
pip install -U scikit-learn
pip install matplotplib
pip install numpy
- Clone or download the repo
- In the root folder of the repo, install requirements (if not using Anaconda).
- Open the
weather.ipynb
notebook withjupyter notebook
in the terminal, or open with editor. - Click "Run All"
Clear the kernel and restart the notebook as needed.
Footnotes
-
See GHCND_documentation.pdf for the Global Historical Climatology Network. ↩