Solar elevation calculation never correct when specifying lat:lon

Bug #1184144 reported by Benjamin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Redshift
Invalid
Undecided
Unassigned

Bug Description

I've never had any luck with redshift caclulating the correct position of the sun when I specify lat and lon (the only method that works for my configuration).

Now is 9:52 AM GMT-4 May 25th, 2013 in Boston MA which is located at approximatley 42:71

If I put redshift in one shot mode it outputs the following:

Location: 42.000000, 71.000000
Brightness: 1.00
Gamma: 1.000, 1.000, 1.000
Using method `randr'.
Solar elevation: 6.866559
Period: Daytime
Color temperature: 5500K

Sunrise was at 5:13 AM this morning and an elevation of 6.8 degrees is far too low. If I compute a table of sun positions using this calculator http://aa.usno.navy.mil/data/docs/AltAz.php I get 48.8 degrees. That table also places the sunrise and sunset times correctly, giving me some faith it is correct and reporting in local time for Boston MA.

At various times of the day I have checked the output of redshift (including around sunset and sunrise) and it is always off. Any ideas? I am using the latest version (1.7).

Revision history for this message
Jon Lund Steffensen (jonls) wrote :

Boston is at (42, -71) not (42, 71).

Changed in redshift:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.