In general tide calculations are horribly complicated

YES, this is what make a project like this so dificult and thus so "sexy". A very unusual problem here in the monastery.

but also by the topography of the sea floor in the "local" area

yep ...and don't forget the barometric pressure. The local parameters are important.

A lot of parameters should be in any of the modules managing time/localtime, other groups in modules belonging to Math and Astro categories, and a fourth set should be calculated for the specific area and probably need to be measured in the field. If I could make a wish I will add also a plotting method at the end, (maybe Graphics::Timeline or something equivalent).

Writing a Perl module to perform the required calculations would not be particularly hard

I agree

but the result is likely to be slow

Well this is an advice that I will take seriously. Can I abuse of your time and knowledge and ask you to explore this a little more GrandFather?, do you honestly think that this would be a major obstacle to do this in Perl? (instead i.e. C). Generally speaking of course, how this problem could be avoided? (i.e not choosing a time-module know for being slow etc...)


In reply to Re^2: Ocean tides in Perl by pvaldes
in thread Ocean tides in Perl by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.