WorldWideTelescope / wwt-web-client

The WorldWide Telescope web client lets you explore the universe in your browser.
https://worldwidetelescope.org/webclient/
MIT License
105 stars 35 forks source link

Fix longitudes for astronomical data #182

Closed astrofrog closed 5 years ago

astrofrog commented 5 years ago

While playing with the spreadsheet layer class, I found that it does not do the +=180 correction for longitudes when in astronomical mode. I found that this code does exist but was simply commented out. I think this should be uncommented to work properly (otherwise RA values I pass are offset by 180 degrees/12 hours). Is there a reason this was commented out?

pkgw commented 5 years ago

The relevant line is uncommented in the Windows client (here). @thewebkid, presuming you commented this out on import — do you remember why?