Spaces:
Sleeping
Sleeping
Add all Yellowstone Club snow stations to dropdown
Browse filesAdded stations:
- Timberline (YCTIM)
- Andesite (YCAND)
- American Spirit (YCAMS)
- Yellowstone Club Base (YCBAS)
- Great Bear (YCGBR)
Changed from textbox to dropdown for easier station selection.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
app.py
CHANGED
|
@@ -313,18 +313,22 @@ def analyze_weather_data(site_id, hours):
|
|
| 313 |
with gr.Blocks(title="Weather Station Data Analyzer") as demo:
|
| 314 |
gr.Markdown("# Weather Station Data Analyzer")
|
| 315 |
gr.Markdown("""
|
| 316 |
-
|
| 317 |
-
Example station IDs:
|
| 318 |
-
- YCTIM (Yellowstone Club - Timber)
|
| 319 |
-
- KBZN (Bozeman Airport)
|
| 320 |
-
- KSLC (Salt Lake City)
|
| 321 |
""")
|
| 322 |
-
|
| 323 |
with gr.Row():
|
| 324 |
-
site_id = gr.
|
| 325 |
-
label="Weather Station
|
| 326 |
-
|
| 327 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 328 |
)
|
| 329 |
hours = gr.Number(
|
| 330 |
label="Hours of Data",
|
|
|
|
| 313 |
with gr.Blocks(title="Weather Station Data Analyzer") as demo:
|
| 314 |
gr.Markdown("# Weather Station Data Analyzer")
|
| 315 |
gr.Markdown("""
|
| 316 |
+
Select a weather station and number of hours to analyze.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 317 |
""")
|
| 318 |
+
|
| 319 |
with gr.Row():
|
| 320 |
+
site_id = gr.Dropdown(
|
| 321 |
+
label="Weather Station",
|
| 322 |
+
choices=[
|
| 323 |
+
("Yellowstone Club - Timberline", "YCTIM"),
|
| 324 |
+
("Yellowstone Club - Andesite", "YCAND"),
|
| 325 |
+
("Yellowstone Club - American Spirit", "YCAMS"),
|
| 326 |
+
("Yellowstone Club - Base", "YCBAS"),
|
| 327 |
+
("Yellowstone Club - Great Bear", "YCGBR"),
|
| 328 |
+
("Bozeman Airport", "KBZN"),
|
| 329 |
+
("Salt Lake City", "KSLC")
|
| 330 |
+
],
|
| 331 |
+
value="YCTIM"
|
| 332 |
)
|
| 333 |
hours = gr.Number(
|
| 334 |
label="Hours of Data",
|