gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #15819] Directly access Sesame server at CDS in Query


From: Mohammad Akhlaghi
Subject: [task #15819] Directly access Sesame server at CDS in Query
Date: Mon, 23 Nov 2020 13:23:46 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0

URL:
  <https://savannah.gnu.org/task/?15819>

                 Summary: Directly access Sesame server at CDS in Query
                 Project: GNU Astronomy Utilities
            Submitted by: makhlaghi
            Submitted on: 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
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

The CDS Sesame server <http://vizier.u-strasbg.fr/vizier/doc/sesame.htx> 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 <http://vizier.u-strasbg.fr/vizier/doc/cdsclient.htx> 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).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 23 Nov 2020 06:23:44 PM UTC  Name: sesame  Size: 3KiB   By:
makhlaghi

<http://savannah.gnu.org/task/download.php?file_id=50329>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/task/?15819>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]