[Top][All Lists]

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

[task #15632] Program to query data servers and download data

From: Mohammad Akhlaghi
Subject: [task #15632] Program to query data servers and download data
Date: Sat, 9 May 2020 19:01:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0


                 Summary: Program to query data servers and download data
                 Project: GNU Astronomy Utilities
            Submitted by: makhlaghi
            Submitted on: Sun 10 May 2020 12:01:55 AM BST
         Should Start On: Sat 09 May 2020 12:00:00 AM BST
   Should be Finished on: Sat 09 May 2020 12:00:00 AM BST
                Category: New program
                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



Many data servers allow queries in an anonymous mode through a given URL which
can easily be downloaded through a downloader like uURL or Wget, for example
see Gaia's command-line access

A user can simply go and search for each database's standards and apply them
for their needs, but that is a lot of trouble and takes time. We can thus add
a program to Gnuastro that will be a wrapper over many datasets with a unified
command-line interface.

The users just have to specify which database they need to query from, and the
various query values can be fed as command-line options, each with a given

For example the command bellow will download the Gaia DR2 catalogs around the
coordinates (113.649496, 31.888578, the star Castor), within a range of 0.001
degrees and with magnitudes 10 to 15.

astquery --database=gaia-dr2 --ra=113.648496,113.650496
--dec=31.887578,31.889578 --magnitude=10,15 --output=around-castor.fits

The same can be done for image servers when they have a simple interface like


Reply to this item at:


  Message sent via Savannah

reply via email to

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