andrewammann commited on
Commit
666102e
·
verified ·
1 Parent(s): 51d7355

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +43 -1
README.md CHANGED
@@ -7,4 +7,46 @@ sdk: docker
7
  pinned: false
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  pinned: false
8
  ---
9
 
10
+ Global Weather Dashboard
11
+
12
+ A professional weather dashboard built with Streamlit and powered by the Open-Meteo API. This app allows users to view current weather conditions, a 7-day forecast, and interactive visualizations for multiple cities worldwide.
13
+
14
+ Features
15
+ City Input: Enter comma-separated city names or select from predefined cities (e.g., New York, London, Tokyo).
16
+ Interactive Map: Visualize city locations with current temperatures on a global map.
17
+ Weather Data: Displays current temperature, wind speed, weather conditions, and a 7-day forecast.
18
+ Charts: Choose between separate or combined charts for temperature and precipitation probability.
19
+ Data Export: Download forecast data as CSV for each city.
20
+ Responsive Design: Professional styling with a sidebar for settings and a clean, modern UI.
21
+
22
+ Setup Instructions:
23
+ Clone the Repository: Ensure all files (app.py, requirements.txt) are in the root directory of your Hugging Face Space.
24
+ Install Dependencies: Hugging Face Spaces will automatically install dependencies listed in requirements.txt when the Space is built.
25
+ Run the App: The Space will run streamlit run app.py automatically. Ensure the app is set to use Python as the runtime environment.
26
+
27
+ Security Note: The app uses verify=False for HTTP requests, which is insecure for production. For production deployment, ensure vali SSL certificates are used.
28
+
29
+ Usage
30
+ Open the app in your Hugging Face Space.
31
+ In the sidebar, enter city names (e.g., "New York, London, Tokyo") or select a predefined city.
32
+ Choose a chart type (Separate Charts or Combined Chart).
33
+ Click "Fetch Weather" to display the weather data, including a map, current conditions, forecast table, and charts.
34
+
35
+ Download forecast data as CSV files for each city.
36
+
37
+ Dependencies
38
+ streamlit: Web app framework
39
+ requests: HTTP requests for API calls
40
+ pandas: Data manipulation
41
+ plotly: Interactive visualizations
42
+ pytz: Timezone handling
43
+ retrying: Retry logic for API calls
44
+
45
+ Data Source
46
+ Weather data provided by Open-Meteo under CC BY 4.0.
47
+
48
+ For non-commercial use only.
49
+
50
+ Contact
51
+
52
+ For issues or inquiries, contact info@open-meteo.com or refer to the Open-Meteo GitHub repository.