Here's my implementation of tide prediction for my hometown http://www.marlera-liznjan.hr/plima-i-oseka.html (noncommercial site - spearfishing club)
I used WXTide32 raw csv output to fill the database with 15 minute interval levels for next 10 years. The graph is drawn using javascript Dojo Toolkit.
The table with high and low tides also uses WXTide32 data.
Sunrise, sunset, moonrise and moonset uses other algorithm as I couldn't find appropriate WXTide32 output, but it is similar up to a minute or two with WXTide32.
Moonphase (illumination) algorithm can be found in file "mjesec.js"
Some of the locations around my hometown that I like to visit for fishing have extremely strong currents due to tides. The tides aren't very big, but the current speeds up as it passes over shallow reef (50m - 5m - 50m). The strongest current measured at my favourite spot was 5.2 knots! I found myself swimming in such currents and it isn't something I wish to do again. So, I found out that WXTide32 gives pretty good predictions with less than 15 minutes error. It saved me a LOT of physical effort swimming back to shore
Cheers from Croatia!
