Skip to content

Astroqueries Returns table with RA/Dec in lowercase #13

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

Open
parsotat opened this issue May 15, 2025 · 1 comment
Open

Astroqueries Returns table with RA/Dec in lowercase #13

parsotat opened this issue May 15, 2025 · 1 comment

Comments

@parsotat
Copy link
Contributor

This line throws an exception:

table["RA"][0], table["DEC"][0], unit=(u.hour, u.deg), frame="fk5"

since it references RA instead of ra & Dec instead of dec.

@parsotat
Copy link
Contributor Author

if the Astroquery version is explicitly set to be 4.3.1 when installing, then everything is uppercase in the table names. It would be more robust to either see what version of Astroquery is installed or to list the table headers and see if the strings are capitalized or not.

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