-
Notifications
You must be signed in to change notification settings - Fork 0
jdwasner/Weird-WX
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
WEIRD WEATHER ANALYSIS APP
Overview:
This Streamlit application analyzes how unusual current weather conditions are compared
to historical data for the same date and hour. The app fetches decades of historical
weather data and compares it to current conditions using statistical analysis.
How it Works:
1. User selects a location (city name or coordinates)
2. App auto-detects the timezone for that location
3. Historical weather data is fetched from Open-Meteo API (1960-2024 by default)
4. Current weather is fetched from OpenWeatherMap API
5. Historical data is filtered to match current date (MM-DD) and hour in local timezone
6. Statistical analysis (z-scores, percentiles) determines if current conditions are
"Normal", "Hmm" (somewhat unusual), "Weird", or "Super Weird!"
7. Results are color-coded and displayed with visual distributions
Key Features:
- Temperature, humidity, wind, pressure, and "feels like" analysis
- Circular statistics for wind direction analysis
- Interactive selection of analysis types
- Auto-refresh every 5 minutes
- Location search with alternative matches
- Map visualization of selected location
Setup:
Activate venv:
- In PowerShell -- ".\venv\Scripts\Activate.ps1"
- In CommandPrompt -- "venv\Scripts\activate.bat"
Run the App:
streamlit run weather_app.pyAbout
This is a web app that shows how weird the current weather is based on historical data for your current location.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published