-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
Look at possibilities to vectorize queries #682
Comments
Vizier already supports this. You can even use the output of a first query as the input of another query. We have example somewhere in the documentation. -Julien
|
@jwoillez - Brilliant, thanks. |
the IRSA dust service (which is what the fb post was about) supports a table upload. It's a completely different web API, but I don't see any reason why we couldn't just have that be transparent to the user... Will create an issue for that. |
@keflavich - I've run into this one yet again, seeing a looping through coordinates before running a query in a user notebook. It would be nice to go through all the modules and make sure they work with vectorized SkyCoord inputs, and adding such a vector query to the test suite. |
cc @nkphysics - If you're still looking for things to work on, this would be another of those issues that are very modular, and a long-term pain point. |
I can certainly take a look into this. |
@bsipocz I agree, that's a good idea. This might actually be a good student project if we can find someone suited to the task. I'm unfortunately not volunteering to advise anyone additional right now. |
We need this fixed for heasarc, so I'll look into it myself. |
@bsipocz
I'm just getting a straight-up error of "null"
(Sorry if this is not where this is supposed to go - I'm new to this!!) |
Hi @lonestarchaser, I am afraid, the code is not prepared to handle a list of coordinates:
Since the function POINT cannot handle an array of coordinates. |
Hi, may be the example in section "2.6. Cross match"" of the documentation https://astroquery.readthedocs.io/en/latest/gaia/gaia.html could provide the functionality you need. |
Thanks! Looks like I need to be an authenticated user, though? I did create an account here: https://gaia.aip.de/, but that doesn't seem to be the same set of credentials. |
I have no experience with the archive at the Leibniz-Institute for Astrophysics Potsdam (AIP) https://gaia.aip.de/. I only used the archive at ESAC https://gea.esac.esa.int/archive/ |
It would be nice to look at the possibilities of querying multiple objects at the same time, as doing it sequentially one-by-one has huge overheads when one has thousands of objects. When a module supports it check it out; or if isn't possible due to the remote API, cross it over.
The text was updated successfully, but these errors were encountered: