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

Crossmatch returns weird results when RA and Dec are strings #16

Open
ctslater opened this issue Dec 18, 2019 · 0 comments
Open

Crossmatch returns weird results when RA and Dec are strings #16

ctslater opened this issue Dec 18, 2019 · 0 comments

Comments

@ctslater
Copy link
Member

Ernesto Castillo found a really confusing behavior where some data he loaded from CSV was returning strange results when self-crossmatched. It turned out that the RA and Dec columns were being loaded as strings, rather than doubles, and for some reason the math in crossmatch managed to return non-zero results.

We should test for RA/Dec data types and raise an error, rather than letting these through.

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

1 participant