HCI 584 project
Weather-App uses the following open source APIs, neither of which require a key:
You’ll need to install the following code packages before running this app:
- from tkinter import ttk, messagebox
- import pandas as pd # pip install pandas
- import matplotlib.pyplot as plt # pip install matplotlib
- import numpy as np # pip install numpy
- import requests # pip install requests
- from urllib.parse import quote_plus
- from timezonefinder import TimezoneFinder # pip install timezonefinder
- import openmeteo_requests # pip install openmeteo-requests
- import requests_cache # pip install requests-cache
- from retry_requests import retry # pip install retry-requests
- Go to run-app.py
- Press Run Python file icon to the upper right and the weather app will appear
- Enter the name of your city or ZIP code
- Select the weather variable(s) you'd like to get the forecast on
- Choose whether you'd like an hourly report or daily summary
- Select Search
Make sure that you don't select a variable that's incompatible with the time range you've selected. Note that some variables are compatible only with hourly or daily.
- The app serves an error when a user selects daily summary
- When you select Search, two windows pop up: figure 1 is empty, figure 2 will have your plot