nakas Claude commited on
Commit
3c22c56
·
1 Parent(s): b427362

Add all Yellowstone Club snow stations to dropdown

Browse files

Added 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]>

Files changed (1) hide show
  1. app.py +14 -10
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
- Enter a weather station ID and number of hours to analyze.
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.Textbox(
325
- label="Weather Station ID",
326
- value="YCTIM",
327
- placeholder="Enter station ID (e.g., YCTIM)"
 
 
 
 
 
 
 
 
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",