Scroll to navigation

QUERY(1) User Commands QUERY(1)

NAME

query - query remote data servers and download

SYNOPSIS

astquery [OPTION...] DATABASE

DESCRIPTION

query is part of GNU Astronomy Utilities 0.22. query is just a place holder used as a minimal set of files and functions necessary for a program in Gnuastro. It can be used for learning or as a template to build new programs.

For more information, please run any of the following commands. In particular the second contains a very comprehensive explanation of query's invocation: expected input(s), output(s), and a full description of all the options.

$ astquery -P
$ info astquery
$ info query
$ info gnuastro

If you couldn't find your answer in the manual, you can get direct help from experienced Gnuastro users and developers. For more information, please run:

$ info help-gnuastro

query options:

Input:
Coordinate (RA, Dec) column names in dataset.
Extension name or number of input data.
Only retrieve dataset info. with this string.
The raw query as a simple string.
Set query region to overlap with this image.
Output:
Only print the download command, don't run it.
Don't delete output if it exists.
Print database or dataset information.
Don't delete raw downloaded file.
Keep input directory for automatic output.
No Git commit in 0-th HDU of output FITS.
No metadata in 0-th HDU of output FITS.
No 'DATE' in 0-th HDU of output FITS.
No versions in 0-th HDU of output FITS.
Output file name.
Table fmt: 'fits-ascii', 'fits-binary', 'txt'.
WCS linear matrix of output ('pc' or 'cd').
Generate query internally (not compatible with '--query'):
No rows with blank value in given column(s).
Column names to download from catalog.
Center coords. to select by region in sky.
Range of selected targets in given column.
Only download given number of top rows.
Radius around --center to select targets.
Sort based on values of given columns.
Name of dataset in database.
Width of box around --center to select targets.
Operating modes:
-?, --help
give this help list
List all config files and variables read.
BibTeX citation for this program.
Read configuration file STR immediately.
Custom prefix of option names config files.
Do not parse any more configuration files.
Only run if the program version is STR.
Print parameter values to be used and abort.
Only report errors, remain quiet about steps.
Set default values for this directory and abort.
give a short usage message
Set default values for this user and abort.
print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/

REPORTING BUGS

Report bugs to bug-gnuastro@gnu.org.

COPYRIGHT

Copyright © 2015-2024 Free Software Foundation, Inc. License GPLv3+: GNU General public license version 3 or later.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Written/developed by Mohammad Akhlaghi

SEE ALSO

The full documentation for query is maintained as a Texinfo manual. If the info and query programs are properly installed at your site, the command

info query

should give you access to the complete manual.

February 2024 GNU Astronomy Utilities 0.22