STILTS-REGQUERY(1)
πΈ STILTS-REGQUERY(1) πΈ
okay bestie so this is the manual page for stilts-regquery, part of the Stilts commands situation, and it is literally the thing that lets you go talk to the VO registry π
like a little query goblin. buckle up.
β¨ NAME β¨
stilts-regquery β Queries the VO registry. that's the whole name. she does exactly what it says on the tin π
π SYNOPSIS π
stilts regquery [query=<value>] [regurl=<url-value>] [soapout=<out-file>] [ocmd=<cmds>]
[omode=out|meta|stats|count|checksum|cgi|discard|topcat|samp|tosql|gui]
[out=<out-table>] [ofmt=<out-format>]
π DESCRIPTION π
so regquery submits a query to the Virtual Observatory registry and hands you back the result as a table containing all the records which match the condition you specified. iconic behaviour fr fr. the resulting table can be written out in any of the supported formats, or otherwise processed in the usual ways π¦ Making use of this command requires an understanding of the VOResource schema β like, you genuinely need to know your stuff here, no cap.
IMPORTANT BESTIE, LISTEN UP: the results of this command give a very much flattened and incomplete view of the results of a full registry query. that's because the contents of an IVOA Registry (see the IVOA Resource Metadata and VOResource documents for more detail) are hierarchical and cannot be faithfully represented in a simple tabular structure. other superior registry search clients exist; this command is just useful for viewing the results in a rather simplified way which can be represented as a table. so likeβ¦ she's giving humble. she's not the main character of registry clients π
π OPTIONS π
query=<value>β Text of an ADQL WHERE clause targeted at the VOResource 1.0 schema defining which resource records you wish to retrieve from the registry. Some examples are:@xsi:type like '%Organisation%'capability/@standardID = 'ivo://ivoa.net/std/ConeSearch' and title like '%SDSS%'curation/publisher like 'CDS%' and title like '%galax%'
A full description of ADQL syntax and of the VOResource schema is well beyond the scope of this documentation, but in general you want to use <field-name> like '<value>' where % is a wildcard character. Logical operators and and or and parentheses can be used to group and combine expressions. To work out the various <field-name>s you need to look at the VOResource 1.0 schema π
regurl=<url-value>β The URL of a SOAP endpoint which provides a VOResource1.0 IVOA registry service. Some known suitable registry endpoints at time of writing aresoapout=<out-file>β If set to a non-null value, this gives the destination for the text of the request and response SOAP messages. The special value-indicates standard output. π«§ocmd=<cmds>β Specifies processing to be performed on the output table, after all other processing has taken place. The value of this parameter is one or more of the filter commands described in SUN/256. If more than one is given, they must be separated by semicolon characters (;). This parameter can be repeated multiple times on the same command line to build up a list of processing steps. The sequence of commands given in this way defines the processing pipeline which is performed on the table. pipeline girlie energy π
Commands may alternatively be supplied in an external file, by using the indirection character @. Thus a value of "@filename" causes the file filename to be read for a list of filter commands to execute. The commands in the file may be separated by newline characters and/or semicolons, and lines which are blank or which start with a # character are ignored. A backslash character '\fR' at the end of a line joins it with the following line.
omode=out|meta|stats|count|checksum|cgi|discard|topcat|samp|tosql|guiβ The mode in which the result table will be output. The default mode isout, which means that the result will be written as a new table to disk or elsewhere, as determined by theoutandofmtparameters. However, there are other possibilities, which correspond to uses to which a table can be put other than outputting it, such as displaying metadata, calculating statistics, or populating a table in an SQL database. For some values of this parameter, additional parameters (<mode-args>) are required to determine the exact behaviour. β¨
Possible values are
outmetastatscountchecksumcgidiscardtopcatsamptosqlgui
Use the help=omode flag or see SUN/256 for more information.
out=<out-table>β The location of the output table. This is usually a filename to write to. If it is equal to the special value-(the default) the output table will be written to standard output. π
This parameter must only be given if omode has its default value of "out".
ofmt=<out-format>β Specifies the format in which the output table will be written (one of the ones in SUN/256 β matching is case-insensitive and you can use just the first few letters). If it has the special value"(auto)"(the default), then the output filename will be examined to try to guess what sort of file is required usually by looking at the extension. If it's not obvious from the filename what output format is intended, an error will result. π
This parameter must only be given if omode has its default value of "out".
π¦ SEE ALSO π¦
If the package stilts-doc is installed, the full documentation SUN/256 is available in HTML format:
file:///usr/share/doc/stilts/sun256/index.html
β VERSION β
STILTS version 3.5.4-debian
This is the Debian version of Stilts, which lack the support of some file formats and network protocols. For differences see
file:///usr/share/doc/stilts/README.Debian
π AUTHOR π
Mark Taylor (Bristol University)
and that's the whole page bestie, no notes πΈ huge shoutout to Mar 2017 for the date stamp, and to STILTS version 3.5.4-debian living her best Debian life β mwah, periodt ππ
π¦ where this page comes from
- ubuntu stonking: stilts 3.5.4-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms