moved moon_altaz to the non-location get_moon by kvyh · Pull Request #223 · astropy/astroplan · GitHub
Skip to content

moved moon_altaz to the non-location get_moon#223

Open
kvyh wants to merge 1 commit into
astropy:mainfrom
kvyh:moon_altaz_location
Open

moved moon_altaz to the non-location get_moon#223
kvyh wants to merge 1 commit into
astropy:mainfrom
kvyh:moon_altaz_location

Conversation

@kvyh

@kvyh kvyh commented Aug 5, 2016

Copy link
Copy Markdown
Contributor

This is a follow-up to #213 and removes the location kwarg from the get_moon call inside Observer.moon_altaz and uses the array for the following .alt, .az, and .distances.

@bmorris3

bmorris3 commented Aug 5, 2016

Copy link
Copy Markdown
Contributor

@kvyh

kvyh commented Aug 5, 2016

Copy link
Copy Markdown
Contributor Author

The transformation to alt/az coordinates still uses the location. If this isn't changed, the MoonIlluminationConstraint needs to be rewritten, since it ends up calling Observer.moon_altaz which is currently still really slow for array times.

@kvyh kvyh mentioned this pull request Aug 11, 2016
@StuartLittlefair

Copy link
Copy Markdown
Contributor

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

Successfully merging this pull request may close these issues.

3 participants