SNOTEL Data Viewer

A web application that displays the latest SNOTEL (Snow Telemetry) data from USDA's AWDB REST API.

Features

  • Displays latest snow and weather data from SNOTEL sites
  • Interactive table with site information
  • Real-time data fetching from USDA AWDB API

Project Structure

  • backend/index.ts - Main Hono server with API endpoints
  • frontend/index.html - Main HTML template
  • frontend/index.tsx - React frontend application
  • shared/types.ts - Shared TypeScript types

API Endpoints

  • GET / - Serves the main application
  • GET /api/sites - Fetches SNOTEL site data
  • GET /api/data/:stationId - Fetches latest data for a specific station

Usage

The application automatically loads and displays SNOTEL data in a table format showing:

  • Station information (name, location, elevation)
  • Latest snow depth measurements
  • Temperature data
  • Precipitation data