Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obstools uses class Sun that no longer exists #1

Open
Xarthisius opened this issue Sep 16, 2011 · 2 comments
Open

Obstools uses class Sun that no longer exists #1

Xarthisius opened this issue Sep 16, 2011 · 2 comments
Assignees

Comments

@Xarthisius
Copy link

$ grep Sun obstools.py
from .coords import LatLongCoordinates,Sun,Moon
seqp = Sun(ra.sitedate).equatorialCoordinates()
from .coords import Sun,Moon
sun = Sun()

@ghost ghost assigned eteq Sep 16, 2011
@eteq
Copy link
Owner

eteq commented Sep 16, 2011

Thanks for noticing this - the nightPlot and yearPlot functions are currently not working because the coords module is undergoing a big refactoring, and those functions have not yet been updated to reflect the new scheme. If you want to see what a working version was like, you can look back at commit 426d283 to see it while it was still working, and hence hopefully what it will look like when working again...

I'll mark this as fixed once that refactor is done and the nightPlot and yearPlot functions are updated to reflect that.

@eteq
Copy link
Owner

eteq commented Mar 13, 2015

Note that astropy now has functionality to do this kind of stuff (see this example for how to use it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants