taskGNU 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 Assigned to:  None
Percent Complete:  0% Open/Closed:  Open
Effort:  0.00

Mon 23 Nov 2020 06:23:44 PM UTC, original submission:  

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.


./sesame m51


We can use this script as a model to easily implement access to the Sesame servers in 'astquery', for example the command below.


astquery --sesame=m51


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).

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #50329:  sesame added by makhlaghi (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  • -email is unavailable- added by makhlaghi
  •  

    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-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code