comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Sunrise/Sunset Algorithm
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Sunrise/Sunset Algorithm [message #88368 is a reply to message #88367] Thu, 17 April 2014 09:00 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nata writes:

> Does anybody have an algorithm to calculate the sunrise and sunset of a given lat/lon position and date?
>
> I tried to use the following algorithm: williams.best.vwh.net/sunrise_sunset_algorithm.htm
>
> but when I compare with the results of NOAA I have big differences
> http://www.esrl.noaa.gov/gmd/grad/solcalc/sunrise.html

I'm guessing the Ray Sterner routines at the JHUAPL IDL library is about
as good as they get:

http://www.idlcoyote.com/gallery/index.html#SUN_TERMINATOR_P LOT

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cgPS_Open crash
Next Topic: How to display a 3D deformation field

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:00:08 PDT 2025

Total time taken to generate the page: 0.00444 seconds