Re:Ask HN: Most interesting tech you built for just yourself?
by geoffreypoirier on Thursday April 27, 2023 @07:46PM
(#35735907)
That's just cool.
Re:Ask HN: Most interesting tech you built for just yourself?
by itake on Friday April 28, 2023 @01:23AM
(#35737713)
that is cool, but I'm curious when the highest tide vs lowest tide of the year is.
Re:Ask HN: Most interesting tech you built for just yourself?
by jakear on Friday April 28, 2023 @09:28AM
(#35741046)
It will change station to station, but if you open the station details page, adjust X Range to something like 28/180 days, then tune low pass to filter out all the high frequency (daily) fluctuations, you might get your answer. Some stations don't have strong Solar contributions, and won't change much on an annual basis, you can enable the Harmonics toggle and see if any show up on the outside in yellow (disable Sun).
I did consider adding a "max finding" mode of some sort, but that's never really been my use case.
Re:Ask HN: Most interesting tech you built for just yourself?
by wxce on Friday April 28, 2023 @02:26AM
(#35738117)
That is really cool!
Re:Ask HN: Most interesting tech you built for just yourself?
by steve_adams_86 on Friday April 28, 2023 @02:31AM
(#35738142)
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!
Re:Ask HN: Most interesting tech you built for just yourself?
by jakear on Friday April 28, 2023 @09:44AM
(#35741200)
Cool! Would love to have some extra datapoints. This is what the raw data I use looks like https://tidesandcurrents.noaa.gov/harcon.html?id=9410580#
Re:Ask HN: Most interesting tech you built for just yourself?
by andrewirwin on Sunday April 30, 2023 @12:53PM
(#35764368)
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
Re:Ask HN: Most interesting tech you built for just yourself?
by steve_adams_86 on Sunday April 30, 2023 @03:02PM
(#35765569)
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!
Re:Ask HN: Most interesting tech you built for just yourself?
by RheingoldRiver on Friday April 28, 2023 @03:34AM
(#35738556)
I use MouseGestures so I often get fun surprises on projects like this when I right-click and then drag my cursor to close the tab. Yours might have been the best one yet!
Re:Ask HN: Most interesting tech you built for just yourself?
by ggforpp on Friday April 28, 2023 @10:18AM
(#35741554)
It's a very nice, UI. The "viewing port" concept is very nice. A slider for timescale in the viewing window would be great!
Also would be great to see worldwide cities tides :)
edit: using the x-range view is an interesting time slider - I found the options toggle
Re:Ask HN: Most interesting tech you built for just yourself?
by tlamponi on Saturday April 29, 2023 @11:00AM
(#35753516)
Looks nice, would love something like that for Europe.
Re:Ask HN: Most interesting tech you built for just yourself?
by jakear on Saturday April 29, 2023 @02:03PM
(#35755430)
Unfortunately while US's NOAA provides all the data needed free of charge (with an API to boot), the UK government's equivalent charges an MSRP of £38.30 and requires finding and contacting an authorized distributor, though the data does seem to be more worldwide. I haven't seen other offerings.
https://www.admiralty.co.uk/publications/publications-and-re...
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