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

Setting MAIN_GAIA_TABLE in astroquery.gaia.Gaia has no effect #2099

Closed
adrn opened this issue Jul 1, 2021 · 1 comment · Fixed by #2153
Closed

Setting MAIN_GAIA_TABLE in astroquery.gaia.Gaia has no effect #2099

adrn opened this issue Jul 1, 2021 · 1 comment · Fixed by #2153

Comments

@adrn
Copy link
Member

adrn commented Jul 1, 2021

Minimum working example demonstrating that setting Gaia.MAIN_GAIA_TABLE does not lead to EDR3 results:

import astropy.coordinates as coord
import astropy.units as u
from astroquery.gaia import Gaia
Gaia.MAIN_GAIA_TABLE = 'gaiaedr3.gaia_source'
result_tbl = Gaia.query_object(coord.SkyCoord(37.65032*u.deg, 
                                              89.26089*u.deg), 
                               radius=4*u.arcsec)
print(result_tbl['designation'])

(Outputs a Gaia DR2 designation)

astroquery v0.4.2

@bsipocz
Copy link
Member

bsipocz commented Jul 1, 2021

cc @jcsegovia

eerovaher added a commit to eerovaher/astroquery that referenced this issue Sep 22, 2021
Currently querying the Gaia archive can return results from
`gaiadr2.gaia_source` even if the user has specified that they wish to
query a different table. This commit adds a regression test to see if
the right table actually gets queried.
eerovaher added a commit to eerovaher/astroquery that referenced this issue Sep 24, 2021
Currently querying the Gaia archive can return results from
`gaiadr2.gaia_source` even if the user has specified that they wish to
query a different table. This commit adds a regression test to see if
the right table actually gets queried.
eerovaher added a commit to eerovaher/astroquery that referenced this issue Sep 30, 2021
Currently querying the Gaia archive can return results from
`gaiadr2.gaia_source` even if the user has specified that they wish to
query a different table. This commit adds a regression test to see if
the right table actually gets queried.
syed-gilani pushed a commit to syed-gilani/astroquery that referenced this issue Mar 11, 2022
Currently querying the Gaia archive can return results from
`gaiadr2.gaia_source` even if the user has specified that they wish to
query a different table. This commit adds a regression test to see if
the right table actually gets queried.
burnout87 pushed a commit to oda-hub/astroquery that referenced this issue May 10, 2022
Currently querying the Gaia archive can return results from
`gaiadr2.gaia_source` even if the user has specified that they wish to
query a different table. This commit adds a regression test to see if
the right table actually gets queried.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants