surfdash

command module
v0.0.0-...-bffd182 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 11 Imported by: 0

README

Surf Dash

I wanted a simple and automated way to find potentially good times to surf. I set up this system to query NOAA tide forecasts and compare them to sunrise and sunset data.

Sample output:

Tomorrow at 5:20 PM, tide is low at 0.37ft
Sunday at 4:56 PM, tide is low at 0.23ft
Monday at 5:33 PM, tide is low at 0.15ft and 22 minutes after sunset
11/11 at 1:14 PM, tide is low at 1.29ft
11/12 at 2:04 PM, tide is low at 0.49ft
11/13 at 2:53 PM, tide is low at -0.23ft

I liked the text but wanted a glanceable visual representation as well. Here's a sample screenshot of what I was able to come up with. The tide graph is interactive - hovering over it shows the position with a dot and displays the tide height in the detail section.

A screenshot of surfdash as a web app.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
pkg
cache
Package cache provides simple caching for a web server.
Package cache provides simple caching for a web server.
handlers
Package handlers presents a web interface to surfdash.
Package handlers presents a web interface to surfdash.
meta
Package meta provides meta analysis of surf conditions.
Package meta provides meta analysis of surf conditions.
noaa
Package noaa implements queries to NOAA to retrieve tide data.
Package noaa implements queries to NOAA to retrieve tide data.
noaa/splines
Package splines finds a continuous curve of tide from single points.
Package splines finds a continuous curve of tide from single points.
sunset
Package sunset wraps github.com/keep94/sunrise to make things more convenient.
Package sunset wraps github.com/keep94/sunrise to make things more convenient.
timetricks
Package timetricks provides convenience methods for easily manipulating and understanding time.Time.
Package timetricks provides convenience methods for easily manipulating and understanding time.Time.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL