-4

I develop software that shows the tide table for a given area and day.

I need to know the "formula" to calculate the tide table of an area for a given day.

My intention is to develop the application in PHP, but I really do not care programming language, because once you know how to calculate the tide table, and what can I implement in any language.

Thanks for the help. Greetings!.

Michal
  • 3,262
  • 4
  • 30
  • 50
Lobo
  • 4,001
  • 8
  • 37
  • 67
  • I searched for days but have not found anything concrete. What I seek is the formula (and the meaning of its parameters) to find out the tide table. I guess based on the current day you can calculate your tide table. – Lobo Apr 10 '12 at 14:04
  • 1
    well then this is not the right place to look for a oceanographic formula, don't you think? – Michal Apr 10 '12 at 14:05
  • 1
    I think you would probably be better off getting the tide tables from the internet for the area you are interested in, if they are available (a lot are and you can often get them with an HTTP GET request and parse the result), rather than trying to calculate them yourself. Here is some information about tides regardless if you do want to attempt to calculate them it is a starting point: http://en.wikipedia.org/wiki/Tide - I think it is not so trivial. – kmp Apr 10 '12 at 14:06
  • @MichalPlško Maybe, but do not lose anything by asking. I hope nothing to be offended by this question. – Lobo Apr 10 '12 at 14:07
  • @lobo - well, you may always try, but your question is probably going to be deleted as being off topic... – Michal Apr 10 '12 at 14:08
  • 2
    @lobo - maybe you would be better of with what kmp said or at one of the other portals like http://stats.stackexchange.com/ or http://physics.stackexchange.com/ – Michal Apr 10 '12 at 14:10
  • @MichalPlško Maybe I should ask math.stackexchange.com or physics.stackexchange.com? – Lobo Apr 10 '12 at 14:10
  • @lobo - well, not sure if it's really a mathematical theory problem.... – Michal Apr 10 '12 at 14:11
  • @kmp It was the first thing I sought. I wanted a service that offers information tide table (via HTTP GET or similar) for Spain, but nothing found. I have several days searching to no avail. – Lobo Apr 10 '12 at 14:14

1 Answers1

4

Took me like 5min of searching:

Maybe it helps you out.

NOTE: You don't have to get an API. You can just steal any data from a HTML source with DOM. I am doing this with some EU databases too... Maybe not too legal, but who cares...

Michal
  • 3,262
  • 4
  • 30
  • 50