Open map →

About OpenSwells

Free, open-source surf reports and swell forecasts · GitHub

Overview

A free, open-source surf report and 16-day swell forecast for 170+ locations. Reports and forecasts come from The Environmental Modeling Center Operational Wave Models. New forecasts are received every 6 hours.

Previously

This project was previously a 3-day forecast for my local beach using an LSTM network, and later graph neural networks (site, github). I have since expanded it to a 16-day forecast for 170+ locations thanks to the Environmental Modeling Center and NOAA.

Running the app

For local development, two repos work together: grib-parse-collect downloads the wave model GRIB files and renders the forecast layers, and open-swells-app serves the map. Clone them side by side — the --local flag copies generated layers into the sibling open-swells-app/data/forecast/ directory.

  1. $ git clone https://github.com/open-swells/open-swells-app
  2. $ git clone https://github.com/open-swells/grib-parse-collect
  3. $ cd grib-parse-collect && ./run.sh --local --verbose
  4. $ cd ../open-swells-app && go run ./server
  5. Go to localhost:8081
Dependencies
Resources and tools