Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!mts.ucs.UAlberta.CA!David_Halliwell From: userDHAL@mts.ucs.UAlberta.CA (David Halliwell) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Unusual program Message-ID: Date: 12 Jun 91 21:28:06 GMT References: <1238@ocsmd.com> Organization: MTS Univ of Alberta Lines: 36 In article <1238@ocsmd.com>, glenn@zeus.ocs.com (Glenn Ford) writes: >I am looking for a program (or algorithm, to write my own if need be) >that, given current time of day, latitude and longitude, will calculate >the suns current position. Any program or existing algorithm for this?? >If there is a more proper news group, please let me know.. > > >-- Joseph J. Michalsky (1988) "The Astronomical Almanac's Algorithm for Approximate Solar Position (1950-2050)", SOLAR ENERGY 40, 227-235. There was an errata published for the article, mentioning that the formulae in the appendix have errors (although they appear correctly in the body of the text). Any decent climatolgy text provides a number of the formulae that you want. Two that might be easily found are Sellers, W.D. (1965) PHYSICAL CLIMATOLOGY and Oke, T. R. (1987) BOUNDARY LAYER CLIMATES (*second edition*) I have written a couple of Pascal programs to do some of this stuff: contact me at userdhal@mts.ucs.ualberta.ca if you want them. ... and finally, direct followups to sci.geo.meteorology! Dave Halliwell Dept. of Geography University of Alberta