Bug in sunrise/sunset program

BEATTIE twb at hoqam.UUCP
Sat Jun 1 01:20:56 AEST 1985


> > 
> > 	Has anyone else had trouble with Robert Bond's sunrise/sunset
> > calculation program? 
> I tried to understand the various arguments, like -t to change the time.
> What does the current time have to do with when the sun rises??
> 
> I got out my almanac and it says that on January 1,1981 the sun rose at
> 06:36 GMT and set at 17:32 GMT,
> so I tried sun -z 0 -a 51.5 -o 0 -d 01/01/1981
> it says the sun rises at 08:06 and sets at 16:02.
> What is the problem?
> Tom.

Apparently I misinterpreted my almanac. I pickup the times for 20 degrees north
of Greenwich (I think).
I tried again.
My newspaper claims that on Friday 5/31/85 the sun rises (rose) at 05:30
and sets (set) at 20:21.
I said:		sun -z 5 -a 40.733 -o 74.1667
It said:	Sunrise:  4:25    Sunset:  19:21        
Which I guess is correct!! (close enough) (since we are on daylight
savings time, add an hour)
Where did the 5 minutes for sunrise go??
How do I get the program to realize it's EDT and not EST?

Tom.

Petribar - n. Any sun-bleached prehistoric candy that has been
sitting in the window of a vending machine too long.



More information about the Comp.sources.bugs mailing list