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

Use jyear format instead of decimalyear in apply_space_motion example #11023

Merged
merged 1 commit into from Nov 11, 2020

Conversation

adrn
Copy link
Member

@adrn adrn commented Nov 11, 2020

This fixes #11009

As @tboch uncovered and @eerovaher figured out, the example fixed in this PR incorrectly used the decimalyear time format for parsing the Gaia epoch '2015.5', which lead to some confusion when comparing apply_space_motion() to other epoch propagation algorithms.

@adrn
Copy link
Member Author

adrn commented Nov 11, 2020

Hmm @pllim the GH actions labeler got a little presumptuous here in removing the docs label!

@pllim
Copy link
Member

pllim commented Nov 11, 2020

Wow, I didn't know it can remove a label! I'll have to investigate. Sorry for the trouble and thanks for letting me know.

@pllim
Copy link
Member

pllim commented Nov 11, 2020

I wonder if it is a race condition that is not handled properly by that action. Does not seem like something I can fix on our side. I opened actions/labeler#112 . In the meantime, try apply your own labels after the action is done. Sorry for the inconvenience. 😬

Copy link
Contributor

@mhvk mhvk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mhvk
Copy link
Contributor

mhvk commented Nov 11, 2020

@adrn - looks all OK, but shouldn't this be backported to LTS? Or was the example not there?

@adrn
Copy link
Member Author

adrn commented Nov 11, 2020

Oh yes, likely so - I believe this was there and I just mixed up versions!

@adrn adrn modified the milestones: v4.1.1, v4.0.4 Nov 11, 2020
@mhvk mhvk merged commit 6d30459 into astropy:master Nov 11, 2020
@pllim pllim added the Bug label Nov 11, 2020
bsipocz pushed a commit that referenced this pull request Nov 23, 2020
Use jyear format instead of decimalyear in apply_space_motion example
bsipocz pushed a commit that referenced this pull request Nov 23, 2020
Use jyear format instead of decimalyear in apply_space_motion example
bsipocz pushed a commit that referenced this pull request Nov 23, 2020
Use jyear format instead of decimalyear in apply_space_motion example
bsipocz pushed a commit that referenced this pull request Nov 25, 2020
Use jyear format instead of decimalyear in apply_space_motion example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Significant(?) difference between SkyCoord.apply_space_motion and other astrometry libraries/tools
3 participants