I found this link. It might be easier to convert this code to LC.
http://williams.best.vwh.net/sunrise_sunset_algorithm.htm
Bill

William Prothero
http://es.earthednet.org

> On Aug 23, 2014, at 5:17 AM, Richmond <richmondmathew...@gmail.com> wrote:
> 
>> On 23/08/14 15:13, FlexibleLearning.com wrote:
>> Yes. I have done this. It is not a trivial exercise. It requires a lot of
>> complex solar geometry calculations as well as Julian calcs.
>> 
>> Go to http://www.esrl.noaa.gov/gmd/grad/solcalc, pick the "Solar
>> Calculator", extract the javascript in the web page, then translate it to LC
>> for use in your own work.
>> 
>> You may be some time... I was! :)
>> 
>> Hugh Senior
>> FLCo
> 
> Julian Calendar?
> 
> http://en.wikipedia.org/wiki/Sunrise_equation
> 
> Richmond.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to