home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / sci / astro / 9050 < prev    next >
Encoding:
Text File  |  1992-08-19  |  2.9 KB  |  73 lines

  1. Newsgroups: sci.astro
  2. Path: sparky!uunet!mcsun!sunic!kth.se!ao
  3. From: ao@elixir.e.kth.se (Anders Ohlsson)
  4. Subject: Re: Times for sundown (and a couple of extra questions...)
  5. Message-ID: <1992Aug19.104448.17509@kth.se>
  6. Followup-To: sci.astro
  7. Sender: usenet@kth.se (Usenet)
  8. Nntp-Posting-Host: elixir.e.kth.se
  9. Organization: Royal Institute of Technology, NADA
  10. References: <CPLS13-180892134855@145.1.92.160>
  11. Date: Wed, 19 Aug 1992 10:44:48 GMT
  12. Lines: 59
  13.  
  14. In article <CPLS13-180892134855@145.1.92.160> CPLS13@email.mot.com (Steven_Cohn) writes:
  15. >Does anybody know where i can find a program/algorithm to calculate
  16. >when sunrise and sundown is given latitude and longitude? (sorry if this is
  17. >an FAQ - I have never browsed this group before).  I would appreciate if
  18. >you could either post it here, or email it to me, as I don't have ftp
  19. >access.
  20.  
  21.     An excellent book is "Astronomical Algorithms" by Jean Meeus,
  22.     1991. ISBN 0-943396-35-2. Published by Willman-Bell, Inc.
  23.  
  24.     I have implemented the algorithms in the book and they give
  25.     accurate results down to the minute if not better.
  26.  
  27.     I could post the source code when it's finished and polished
  28.     (in a few weeks) if there's sufficient interrest or I could
  29.     e-mail it to those who are interrested. BTW, it's implemented
  30.     in Turbo Pascal 5.0.
  31.  
  32.  
  33.     And now for my questions:
  34.  
  35.     1. The algorithms in Meeus' book don't seem to work at extreme
  36.        northern/southern points for certain days. I'm thinking of
  37.        those days when the Sun rises in May and never sets until
  38.        July. For these instants I sometimes get a bogus sunset or
  39.        sunrise, when there actually isn't any. Am I doing some-
  40.        thing wrong? BTW, Astronomy Lab 1.08 also gives bogus
  41.        results for these points (not the same though)...
  42.  
  43.     2. The algorithms for Earth in perihelion an aphelion in
  44.        chapter 37 of Meeus' book gives a mean error of 3 hours.
  45.        Where can I find algorithms that are better? I don't
  46.        know French, so I cannot read Meeus' references...
  47.  
  48.     3. Can the VSOP87 theory or later be found in written form
  49.        in any articles or books around? I don't need accuracy
  50.        of 0.001 seconds, 1-30 seconds is enough...
  51.  
  52.  
  53.     I'm planning to add Sun/Moon rises/sets, equinoxes &
  54.     solstices, perihelion & aphelion, perigee & apogee and other
  55.     stuff to my calendar program YACPU. Version 1.1 is available
  56.     via ftp at simtel20.army.mil as PD1:<MSDOS.LASER>YACPU11.ZIP
  57.     for those who are interrested. Version 1.1 "only" prints the
  58.     phases of the moon.
  59.  
  60.     YACPU prints six-monthly, monthly and weekly calendars on
  61.     an HP LaserJet III.
  62.  
  63.                     Many thanks in advance,
  64.  
  65.                         Anders Ohlsson
  66.  
  67.  
  68. -----------------------------------------------------------------------------
  69. | Anders Ohlsson       | "Life? The universe?? Everything???", Murphy asked |
  70. | ao@elixir.lne.kth.se | "Subject to change without notice", GOD replied    |
  71. | ao@infovox.se        |                                                    |
  72. -----------------------------------------------------------------------------
  73.