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
    or...
       
    Reply
    Re: Digital Image CN Exercise
    From: Wolfgang Hasper
    Date: 2010 Apr 8, 21:38 +0200

    Greg, you wrote:
    
    > You may need to contact Mr. Umland directly to find
    > out what temperature and pressure formulae were used
    > in his program.
    
    Or either use the "view source code" option of your
    browser that allows you to see all the html...
    
    it is well structured and commented.
    ####################################
    // Altitude corrections
    
    function AltCorr()
    {
    with(Math)
        {
        var DIP = 0.02933*sqrt(HE);
        var H2 = H1-DIP;
        var REF = 1/(tan(DegToRad*(H2+7.31/(H2+4.4))));
        var REFcorr = REF-0.06*sin(DegToRad*(14.7*REF+13));
        REFcorr *= 0.00467*Pressure/(273+AirTemp);
        var H3 = DegToRad*(H2-REFcorr);
        var PA = asin(sin(HP)*cos(H3));
        if (HP>0.01454441) PA +=
    0.0033528*HP*(sin(2*LAT)*cos(Zn)*sin(H3)-sin(LAT)*sin(LAT)*cos(H3));
        var H4 = H3+PA;
        if (HP>0.01454441) SD = asin(0.272493*sin(HP));
        if (limo == "UL") SD = -SD;
        if (limo == "Cen") SD = 0;
        Ho = H4+SD;
        }
    }
    #####################################
    Wolfgang
    
    
    
    

       
    Reply
    Browse Files

    Drop Files

    NavList

    What is NavList?

    Join NavList

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

    You can also join by posting. Your first on-topic post automatically makes you a member.

    Posting Code

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

    Email Settings

    Posting 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