astroquery icon indicating copy to clipboard operation
astroquery copied to clipboard

MAST Catalogs.query_criteria() column criteria does not work for TIC / CTL

Open orionlee opened this issue 3 years ago • 1 comments

Query Tic / Ctl Catalogs to get a subset of columns with query_criteria(columns=...) does not appear to work.

MAST documentation suggests that columns is supported.

Sample codes:

from astroquery.mast import Catalogs

# catalog="Ctl" would show the same warning.
result = Catalogs.query_criteria(catalog="Tic", ID=403224672, columns=["ID", "ra", "dec"])

It outputs:

WARNING: InputWarning: Filter columns does not exist. This filter will be skipped. [astroquery.mast.discovery_portal]

Similar search with query_object() and query_region() also ignore the columns parameter. There is no warning in those cases.


The issue appears to be similar to #2355 , but #2355 appears to be PANSTARRS-specific.

orionlee avatar Jun 21 '22 21:06 orionlee

cc @jaymedina

bsipocz avatar Jun 21 '22 22:06 bsipocz