Skip to content

A lightweight, single-page web application that visualizes cumulative seasonal snowfall at Winter Park Resort, CO, allowing users to compare year-over-year snowfall patterns. The application displays overlaid line charts for multiple seasons, with interactive features for exploring the data.

Notifications You must be signed in to change notification settings

on2flight/cumulative-snowfall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Winter Park Cumulative Snowfall Tracker

Live Site (GitHub Pages)

Static HTML/CSS/JS app for exploring cumulative seasonal snowfall in Winter Park, Colorado, using NOAA station data.

Features

  • Interactive cumulative snowfall chart
  • Year range slider for comparing seasons
  • Mobile-friendly layout
  • NOAA-based dataset (data/snowfall-data.json)

Project Structure

  • index.html: app entrypoint
  • css/styles.css: styles
  • js/: frontend modules
  • data/: source and generated snowfall data
  • scripts/: data fetch and processing scripts
  • test/: Node test suite

Requirements

  • Node.js 18+
  • npm
  • Optional: Python 3 (for quick local static server)

Quick Start

npm install
npm test
python3 -m http.server 8000

Then open: http://127.0.0.1:8000

Data Commands

Refresh NOAA data only if the current JSON is older than 24 hours:

npm run update-data

Generate simulated SNOTEL-style historical data:

npm run generate-data

Convert existing NOAA CSV to app JSON:

node scripts/process-noaa-data.js

Testing

Run all tests:

npm test

Watch mode:

npm run test:watch

Deployment (GitHub Pages)

  1. Run npm test.
  2. Optionally run npm run update-data.
  3. Commit and push to main.
  4. In GitHub repository settings, set Pages to deploy from main and / (root).

Data Notes

  • Canonical app data file: data/snowfall-data.json
  • NOAA source CSV: data/USC00059175data.csv
  • Station: USC00059175 (Winter Park, 9,100 ft)

About

A lightweight, single-page web application that visualizes cumulative seasonal snowfall at Winter Park Resort, CO, allowing users to compare year-over-year snowfall patterns. The application displays overlaid line charts for multiple seasons, with interactive features for exploring the data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •