Skip to content

Cannot Query EDR3 data #2093

@DrBrangar

Description

@DrBrangar

I am trying to get GAIA EDR3 data, and while astroquery.gaia defaults to DR2, the documentation seems to suggest that inserting the following line will select the EDR3 data.
Gaia.MAIN_GAIA_TABLE = "gaiaedr3.gaia_source" # Select early Data Release 3
However, when I actually go to run the query, with Gaia.query_object() and turn on verbose output to check, it is obviously only searching the dr2 table. How do I fix this?

Launched query: '
                SELECT
                  TOP 50
                  *,
                  DISTANCE(
                    POINT('ICRS', ra, dec),
                    POINT('ICRS', 112.96541910700775, -73.60603793579023)
                  ) AS dist
                FROM
                  gaiadr2.gaia_source
                WHERE
                  1 = CONTAINS(
                    POINT('ICRS', ra, dec),
                    CIRCLE('ICRS', 112.96541910700775, -73.60603793579023, 0.002777777777777778)
                  )
                ORDER BY
                  dist ASC
                '

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions