←back to thread

1901 points l2silver | 2 comments | | HN request time: 0.441s | source

Maybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.
Show context
jakear ◴[] No.35730261[source]
A website to see a map of the world's tides, and bidirectional predictions for individual stations (edit: worldwide too, forgot I added that). The UI/UX is... archaic, but that's just how I wanted it. It works fully offline. https://solunar.pages.dev

Most fun part was transcribing 70+ year old NOAA tide calculation mathematic/astronomic/hydrologic research papers into modern TypeScript. Approach is semi-documented here: https://github.com/JacksonKearl/solunar

replies(7): >>35735907 #>>35737713 #>>35738117 #>>35738142 #>>35738556 #>>35741554 #>>35753516 #
steve_adams_86 ◴[] No.35738142[source]
I’ve wanted to do this with Canadian data for years! My wife works for the organization which tracks our national tide data and builds our prediction models. It’s extremely fascinating stuff.

I’m looking forward to digging into your work. I haven’t really known where to start, but I can probably get a lot of inspiration here. Nice work!

replies(2): >>35741200 #>>35764368 #
1. andrewirwin ◴[] No.35764368[source]
If you are OK with R, there is some good code here that makes predictions from harmonics: https://dankelley.github.io/oce/reference/tidedata.html

Of course, you can download the predictions from DFO too, e.g., https://api-iwls.dfo-mpo.gc.ca/swagger-ui/index.html

replies(1): >>35765569 #
2. steve_adams_86 ◴[] No.35765569[source]
Hey, thanks! I didn’t realize they have a prediction API. I assumed I’d need to produce a lot of this data myself from a giant csv or similar. This is awesome!