-
-
Notifications
You must be signed in to change notification settings - Fork 396
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
Simbad multi-object search behaviour #967
Comments
Somehow this slipped by me, but yes, this should be possible and maybe even straightforward. A PR implementing it would be welcome, otherwise maybe we can tackle this next time there's a hack session. |
I have no solution for this to post yet but I'll put it here if I manage to make one before the next hack session :) |
I want to query many names in Simbad, to figure out which ones resolve and don't. This is what I tried: It doesn't give me what I want, the issues I have are:
Is there a way to do this currently with |
@cdeil
This is a good question for the CDS folks. I suggest e-mailing them directly to see if there's a way to get a table returned with blanks for missing fields or something similar. |
Hi, for the question number 2 : if you are using scripts in SIMBAD, there is a way to get the names you gave : %OBJECT, for votable fields, you can use : TYPED_ID. |
The list of errors generated by this list of names are all here : ::error::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: [4] Identifier not found in the database : GAL 292.2-00.5 [25] Identifier not found in the database : GAL 327.15-01.04 |
OK, so we should probably add the |
Well, my memory is awful. This PR: #496 addresses the issue of keeping the input name in the output results. |
Currently if you query Simbad.query_objects (or Simbad.query_region) with many objects you get a table returned of a different size making comparison between input and output very difficult. This is because Simbad can return multiple rows for a single object (Centaurus for example) or no rows at all for an unrecognised object. The returned object id's aren't necessarily the input id's either so you can't use them to search the returned table. You can do it one at a time but for a few thousand objects it's quite slow.
Would it be possible to change this behaviour and the same for multiple coordinate searches? I'm not sure of the best way to handle this, to return the original search names/coordinates and/or the same number of rows with the same order could work. Even just a row label that identifies results as being in the same search group would be fine. A search by multiple coordinates (or a multiple region criteria) would benefit extremely from the second or third behaviour. As at the moment it is very difficult to distinguish which object belongs to each region search. The same behaviour for Ned would be even better :)
For Example:
Would return:
Multi object example:
The text was updated successfully, but these errors were encountered: