Welcome to the NavList Message Boards.

NavList:

A Community Devoted to the Preservation and Practice of Celestial Navigation and Other Methods of Traditional Wayfinding

Compose Your Message

Message:αβγ
Message:abc
Add Images & Files
    Name or NavList Code:
    Email:
       
    Reply
    Re: GHA of the Moon
    From: Peter Hakel
    Date: 2020 Oct 3, 22:01 -0700

    ————————————
    Frank wrote:
    You added:
"But the moon has been my biggest problem.  Yesterday I did find a neat excel program from Navigation Spreadsheets that may solve my moon problem"
    Yes, I was going to suggest that as an option for you. The developer is a NavList regular (Peter? You here?), and I'm sure he can help you with any questions you may have on those spreadsheets.
    ————————————


    Hello Jim,

    Since you want to write your own programs in, say, Python or Java, I will suggest an alternative to using the actual Navigation Spreadsheets.

    Before I wrote those almanac spreadsheets back in 2009, I decided to test my understanding of the formulae from Jean Meeus’s book by coding them in Fortran first. I attached that code to this message as the file named almanac.zip. Assuming that you have a gfortran compiler installed on your computer, unzip the file, open a terminal, execute the following commands in the almanac directory:

    ./comp
    ./main.x

    and enter UT according to the prompt. You should get the same outputs as given by those Excel spreadsheets. (This is just a suggestion; you may prefer other ways of compiling and running such programs.)

    Then you’ll want to edit the source file named main.f90 starting at line 45 where you’d replace manual UT entry with something automated by a loop in order to print a Moon table according to your needs.


    Peter Hakel

    File:
    almanac.zip
       
    Reply
    Browse Files

    Drop Files

    NavList

    What is NavList?

    Get a NavList ID Code

    Name:
    (please, no nicknames or handles)
    Email:
    Do you want to receive all group messages by email?
    Yes No

    A NavList ID Code guarantees your identity in NavList posts and allows faster posting of messages.

    Retrieve a NavList ID Code

    Enter the email address associated with your NavList messages. Your NavList code will be emailed to you immediately.
    Email:

    Email Settings

    NavList ID Code:

    Custom Index

    Subject:
    Author:
    Start date: (yyyymm dd)
    End date: (yyyymm dd)

    Visit this site
    Visit this site
    Visit this site
    Visit this site
    Visit this site
    Visit this site