I saw this post earlier, and my first thought was that the code posted here was not really that applicable to the issue at hand (it was, after all, scraping a Fourmilab page for a table that does not contain the object you seek, but only the "major" solar system objects, which, unless it is staying close to one of those objects, did not seem that applicable).

I installed several Astro::* modules, thinking one could pull the orbital elements from a source (such as the Wikipedia article on (486958) 2014 MU69 ("1110113Y", "Ultima Thule") to compute the position. While trying to get that to work, I ran across a reference in Astro::Coords::Elements to two sites to obtain orbital elements, http://cfa-www.harvard.edu/iau/Ephemerides/ (although that one no longer allows directory listing, and links you to https://minorplanetcenter.net/iau/mpc.html) and http://ssd.jpl.nasa.gov. When I looked at the latter, I found they provide a web interface (HORIZONS) to look up ephemerides (including the RA and DECL for a location for a particular time) for the object. Not necessarily doing-it-yourself, but sometimes an easier path can be a better one (for certain values of "easier" and "better").

Hope that helps.


In reply to Re: locating ultima thule by atcroft
in thread locating ultima thule by Aldebaran

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.