This may not answer your question entirely, but Paul Lutus wrote a tidal prediction program with a worldwide database called JTides. His website is quite amazing and he has a free ebook about his sail around the world.
Go to arachnoids dot com. (I am not allowed to put links since I don'thave enough posts, so the "dot" represents a period).
Lutus wrote the Apple Writer program, one of the first word processing programs. I was going to write that program, but I was busy with something that day and whatnot.
"If it is going to happen, it's going to happen out there." Cap'n Ron.