Sunset, sunrise, twilight calculations in LC?

FlexibleLearning.com admin at FlexibleLearning.com
Sat Aug 23 08:13:16 EDT 2014


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


> Hi List People,
> Does anyone know of an LC version of sunrise/sunset and twilight
> calculations?
> I found a couple of web based APIs, but I'd like it to work offline.
> I found this: http://en.wikipedia.org/wiki/Sunrise_equation ... but it's
going
> to take me a while to translate that into LC, which is why I'm asking.
> - Charles
> 
> --
> Charles E. Buchwald
> CEO/Director General
> Museografica Digital
> http://digital.museografica.com
> 
> Mac OSX 10.9.4, LC 6.6.2 Commercial
> 
> LC Developer Tools: http://buchwald.ca/developer-tools/
> 
> Email Notice: http://wp.me/P3aT4d-33






More information about the use-livecode mailing list