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

Bug in rows limitation in module vizier #3053

Closed
xhaubois opened this issue Jun 27, 2024 · 2 comments
Closed

Bug in rows limitation in module vizier #3053

xhaubois opened this issue Jun 27, 2024 · 2 comments
Labels

Comments

@xhaubois
Copy link

xhaubois commented Jun 27, 2024

Hello,
I have astropy 5.1 . It seems the module vizier has a bug in the limitation of rows.
When I manually set it to Vizier.ROW_LIMIT=100 or Vizier.ROW_LIMIT=-1 , I still get 50 rows as returned by Vizier..query_constraints.
I put what I do below. Can you help please?
Thanks,

from astroquery.vizier import Vizier

Vizier.ROW_LIMIT=100
jsdc=("II/346")
tab = Vizier(catalog=jsdc).query_constraints(Rmag="-10.0..5.0",UDDR="1.0..50.0",DEJ2000="-90..10")[0]
@keflavich
Copy link
Contributor

Try instead:

Vizier(catalog=jsdc, row_limit=100).query_constraints(Rmag="-10.0..5.0",UDDR="1.0..50.0",DEJ2000="-90..10")[0]

#3018 is related

@bsipocz bsipocz added the vizier label Jun 27, 2024
@xhaubois
Copy link
Author

Fixed it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants