QUERY(1)
β¨ query(1) β¨ β bestie's guide to the remote data server slayer π
okay so. hi. you opened the manual page for query from the User Commands crew and honestly? you're about to eat. let's get into it π«Ά
π NAME π
query β query remote data servers and download π°οΈβ¨
πΈ SYNOPSIS πΈ
astquery [OPTION...] DATABASE
like. that's the whole vibe. a program name, some options, and a DATABASE. iconic.
π¦ DESCRIPTION π¦
so query is part of GNU Astronomy Utilities 0.24 π« and ngl, query is just a place holder β a minimal little set of files and functions that a program in Gnuastro needs to exist. no cap. it's there so you can learn from it or use it as a template to build your own new programs. it's giving starter pack energy π
want more info? bestie, run any of these. the second one is the real one, it explains the entire invocation of query β what inputs it expects, what outputs it makes, and every single option, full description:
all the options and their values:
$ astquery -P
inputs/outputs and options:
$ info astquery
full section in the manual/book:
$ info query
full Gnuastro manual/book:
$ info gnuastro
and if the manual is simply not answering your question (rude of it), you can get direct help from experienced Gnuastro users and developers. for that, run:
$ info help-gnuastro
π query options π
π Input π
--ccol=STR,STRβ coordinate (RA, Dec) column names in the dataset. two strings, comma, no thoughts π-h,--hdu=STR/INTβ extension name or number of the input data.-L,--limitinfo=STRβ only retrieve dataset info. that has this string in it.-Q,--query=STRβ the raw query, as a simple string. straight up. no filter.-v,--overlapwith=FITSβ set the query region to overlap with this image.
β¨ Output β¨
--dry-runβ only print the download command, don't actually run it. window shopping ποΈ-D,--dontdeleteβ don't delete the output if it already exists.-i,--informationβ print database or dataset information.-k,--keeprawdownloadβ don't delete the raw downloaded file.-K,--keepinputdirβ keep the input directory for the automatic output.--outfitsnocommitβ no Git commit in the 0-th HDU of the output FITS.--outfitsnoconfigβ no metadata in the 0-th HDU of the output FITS.--outfitsnodateβ no'DATE'in the 0-th HDU of the output FITS.--outfitsnoversionsβ no versions in the 0-th HDU of the output FITS.-o,--output=STRβ output file name.--tableformat=STRβ table fmt:'fits-ascii','fits-binary','txt'.--wcslinearmatrix=STRβ WCS linear matrix of the output ('pc'or'cd').
π§ Generate query internally (not compatible with --query) π§
heads up bestie: this whole little family is not compatible with --query. pick a lane π
-b,--noblank=STR[,STR]β no rows with a blank value in the given column(s).-c,--column=STRβ column names to download from the catalog.-C,--center=FLT,FLTβ center coords. to select by region in the sky.-g,--range=STR,FLT:FLTβ range of selected targets in the given column.-H,--head=INTβ only download the given number of top rows.-r,--radius=FLTβ radius around--centerto select targets.--sort=STR[,STR]β sort based on the values of the given columns.-s,--dataset=STRβ name of the dataset in the database.-w,--width=FLT[,FLT]β width of the box around--centerto select targets.
π Operating modes π
-?,--helpβ give this help list.--checkconfigβ list all config files and variables read.--citeβ BibTeX citation for this program.--config=STRβ read configuration file STR immediately.--config-prefix=STRβ custom prefix of option names in config files.--lastconfigβ do not parse any more configuration files.--onlyversion=STRβ only run if the program version is STR.-P,--printparamsβ print the parameter values to be used and abort.-q,--quietβ only report errors, remain quiet about the steps.-S,--setdirconfβ set default values for this directory and abort.--usageβ give a short usage message.-U,--setusrconfβ set default values for this user and abort.-V,--versionβ print program version.
π mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. fr fr, it's a package deal.
GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/ π
π REPORTING BUGS π
found a bug? report it to bug-gnuastro@gnu.org. they wanna know, bestie π«Ά
π COPYRIGHT π
Copyright Β© 2015-2025 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. like, none. zero. the software is out here raw-dogging reality π
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, this command
info query
should give you access to the complete manual. iykyk πβ¨
and that's the whole page, babe π this was GNU Astronomy Utilities 0.24, dated November 2025 β go forth and query your little heart out ππ¦π
π¦ where this page comes from
- epel 10: gnuastro 0.24-1.el10_3 Β· GPL-3.0-or-later AND FSFAP AND GFDL-1.3-or-later
- epel 9: gnuastro 0.24-1.el9 Β· GPL-3.0-or-later AND FSFAP AND GFDL-1.3-or-later
- nixos 26.05: gnuastro 0.24
- nixpkgs unstable: gnuastro 0.24
- ubuntu resolute: gnuastro 0.24-1 Β· GPL-3.0-or-later
- ubuntu stonking: gnuastro 0.24-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms