GNU Astronomy Utilities - Tasks: task #15819, Directly access Sesame server at...
You are not allowed to post comments on this tracker with your current authentication level.
task #15819: Directly access Sesame server at CDS in Query
Submitter: | Mohammad Akhlaghi <makhlaghi> | ||
Submitted: | Mon 23 Nov 2020 06:23:44 PM UTC | ||
Should Start On: | Mon 23 Nov 2020 12:00:00 AM UTC | Should be Finished on: | Mon 23 Nov 2020 12:00:00 AM UTC |
Category: | Query | Priority: | 5 - Normal |
Item Group: | Enhancement | Status: | None |
Privacy: | Public | Percent Complete: | 0% |
Assigned to: | None | Open/Closed: | Open |
Effort: | 0.00 |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-11-23 | makhlaghi | Attached File | - | ![]() |
Added sesame, #50329 |
Carbon-Copy | - | ![]() |
Added -email is unavailable- |
The CDS Sesame server is a very good feature to directly get useful information on various objects based on their names from the command-line.
Fortunately access to the server is very easy through HTTP-GET (as described in the page above), and there is even a small script as part of the client package to automate the job. The actual shell script (that was kindly provided by its author: Francois Ochsenbein) is attached. For example with this script you can run the command below to get basic information about m51.
We can use this script as a model to easily implement access to the Sesame servers in 'astquery', for example the command below.
We can also add options like '--sesame-resolver' and '--sesame-server' to specify different resolvers/servers. The final XML schema can be written to a file (optionally, if '--output' is given) and a more easy to read format can be used to print the information on the standard output. These "extra"s are just a brainstorm now, until they are implemented, so please share your thoughts here (you just need to have an account on Savannah to comment).