in reply to Ocean tides in Perl
In general tide calculations are horribly complicated because they are not only influenced by obvious things like the phase of the moon, but also by the topography of the sea floor in the "local" area. For accurate tide predictions for a specific location you need to obtain coefficients for the set of significant parameters used in a tidal model (maybe 30-60 of them!). The parameters are generally calculated from tide data collected over a longish period (19 years) for the location of interest! See Theory_of_tides#Tidal_constituents for a discussion of some of these parameters.
Writing a Perl module to perform the required calculations would not be particularly hard, but the result is likely to be slow. Obtaining the coefficients is likely to be a harder problem than writing the code to perform the calculation.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Ocean tides in Perl
by pvaldes (Chaplain) on Nov 01, 2011 at 10:18 UTC | |
by GrandFather (Saint) on Nov 01, 2011 at 11:13 UTC | |
by flexvault (Monsignor) on Nov 01, 2011 at 17:28 UTC | |
by GrandFather (Saint) on Nov 01, 2011 at 19:24 UTC | |
by Anonymous Monk on Nov 01, 2011 at 22:15 UTC | |
by pvaldes (Chaplain) on Nov 02, 2011 at 15:56 UTC | |
by GrandFather (Saint) on Nov 02, 2011 at 19:25 UTC | |
by Anonymous Monk on Nov 01, 2011 at 19:52 UTC |