aboutsummaryrefslogtreecommitdiff
path: root/vendor/voclient/doc/votinfo.html
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/voclient/doc/votinfo.html')
-rw-r--r--vendor/voclient/doc/votinfo.html188
1 files changed, 188 insertions, 0 deletions
diff --git a/vendor/voclient/doc/votinfo.html b/vendor/voclient/doc/votinfo.html
new file mode 100644
index 00000000..3566c0d1
--- /dev/null
+++ b/vendor/voclient/doc/votinfo.html
@@ -0,0 +1,188 @@
+Content-type: text/html
+
+<HTML><HEAD><TITLE>Manpage of VOTINFO</TITLE>
+</HEAD><BODY>
+<H1>VOTINFO</H1>
+Section: User Commands (1)<BR>Updated: Feb 2013<BR><A HREF="#index">Index</A>
+<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
+
+<A NAME="lbAB">&nbsp;</A>
+<H2>NAME</H2>
+
+votinfo - Get information about a VOTable
+<P>
+<A NAME="lbAC">&nbsp;</A>
+<H2>SYNOPSIS</H2>
+
+<B>votinfo</B> [&lt;opts&gt;] votable.xml
+<P>
+<A NAME="lbAD">&nbsp;</A>
+<H2>OPTIONS</H2>
+
+The <I>votinfo</I> task accepts the following options:
+<DL COMPACT>
+<DT><B>-h, --help</B>
+
+<DD>
+Print a help summary to the terminal and exit. No processing is done
+following this flag.
+<P>
+<DT><B>-b,--brief</B>
+
+<DD>
+Print only brief output about the table.
+<DT><B>-d,--description</B>
+
+<DD>
+Print the toplevel &lt;DESCRIPTION&gt; element of the VOTable.
+<DT><B>-i,--info</B>
+
+<DD>
+Print all &lt;INFO&gt; elements in the VOTable. Parameters are printed as
+<I>name=value</I> pairs,, if there is no output it is
+implied there are no &lt;INFO&gt; elements in the document.
+<DT><B>-n </B><I>WHAT</I>,--numberOf <I>WHAT</I>
+
+<DD>
+Get number of elements specified by <I>WHAT</I>. The <I>WHAT</I> must be a
+valid VOTable element name.
+<DT><B>-p,--param</B>
+
+<DD>
+Print all &lt;PARAM&gt; elements in the VOTable. Parameters are printed as
+<I>name=value</I> pairs, if there is no output it is implied there are no
+&lt;PARAM&gt; elements in the document.
+<DT><B>-q,--query_status</B>
+
+<DD>
+Get the 'QUERY_STATUS' &lt;INFO&gt; value, a value of zero is returned of the
+value is OK, or one if it is an ERROR.
+<DT><B>-s,--size</B>
+
+<DD>
+Print the table size as &lt;nrows&gt; and &lt;ncols&gt; values. In a multi-RESOURCE
+VOTable only results for the first table are returned.
+<DT><B>-v,--verbose</B>
+
+<DD>
+Print verbose otuput.
+<DT><B>-w,--warn</B>
+
+<DD>
+Print VOTable parser warning messages.
+<P>
+<P>
+</DL>
+<A NAME="lbAE">&nbsp;</A>
+<H2>DESCRIPTION</H2>
+
+The <I>votinfo</I> task is used to either print a summary of a VOTable's
+structure, or to get specific attributes of a VOTable (e.g. the size of
+a table, number of parameters, etc). The <I>-n WHAT</I> flag is used to query
+for the number of <I>WHAT</I> elements in the document, allow values of WHAT
+include:
+<P>
+
+<I>param<TT>&nbsp;&nbsp;</TT></I>
+
+number of &lt;PARAM&gt; elements<BR>
+
+<I>info<TT>&nbsp;&nbsp;&nbsp;</TT><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT></I>
+
+number of &lt;INFO&gt; elements<BR>
+
+<I>rows<TT>&nbsp;&nbsp;&nbsp;</TT><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT></I>
+
+number of table rows<BR>
+
+<I>cols<TT>&nbsp;&nbsp;&nbsp;</TT><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT></I>
+
+number of table cols<BR>
+
+<I>resources<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT></I>
+
+number of &lt;RESOURCE&gt; elements<BR>
+<P>
+<P>
+
+The VOTable &lt;PARAM&gt; elements may be printed using the <I>-p</I> flag,
+similarly &lt;INFO&gt; elements can be printed using <I>-i</I>.
+<P>
+If no input file is specified the VOTable will be read from the stdin,
+results will be written to stdout unless the <I>-o</I> (or <I>--output</I>)
+names an output file. The task will only process a single VOTable and may
+not be used to convert multiple files in a single call.
+<P>
+<A NAME="lbAF">&nbsp;</A>
+<H2>RETURN STATUS</H2>
+
+On exit the <B>votinfo</B> task will return a zero indicating success, or a
+one indicating an error.
+<P>
+<A NAME="lbAG">&nbsp;</A>
+<H2>EXAMPLES</H2>
+
+<DL COMPACT>
+<DT>1) Print verbose summary information about a VOTable<DD>
+<P>
+<PRE>
+ % votinfo -v test.xml
+</PRE>
+
+<DT>2) Print the &lt;PARAM&gt; elements in a table, then get a count<DD>
+<P>
+<PRE>
+ % votinfo -p test.xml
+ % votinfo --numberOf=param test.xml
+</PRE>
+
+<DT>3) Determine whether a VOTable contains a successful result<DD>
+<P>
+<PRE>
+ % votinfo -q test.xml
+</PRE>
+
+<P>
+A zero indicates 'OK', a one is an 'ERR', and -1 means that an &lt;INFO&gt; with a 'QUERY_STATUS' was not found
+<P>
+</DL>
+<A NAME="lbAH">&nbsp;</A>
+<H2>BUGS</H2>
+
+The task doesn't always work intuitively with multi-resource VOTables.
+<A NAME="lbAI">&nbsp;</A>
+<H2>Revision History</H2>
+
+Feb 2013 - First public release
+<A NAME="lbAJ">&nbsp;</A>
+<H2>Author</H2>
+
+Michael Fitzpatrick (<A HREF="mailto:fitz@noao.edu">fitz@noao.edu</A>), Feb 2013
+<A NAME="lbAK">&nbsp;</A>
+<H2>SEE ALSO</H2>
+
+votget, votget, votpos, votsort, votstat
+<P>
+<P>
+
+<HR>
+<A NAME="index">&nbsp;</A><H2>Index</H2>
+<DL>
+<DT><A HREF="#lbAB">NAME</A><DD>
+<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
+<DT><A HREF="#lbAD">OPTIONS</A><DD>
+<DT><A HREF="#lbAE">DESCRIPTION</A><DD>
+<DT><A HREF="#lbAF">RETURN STATUS</A><DD>
+<DT><A HREF="#lbAG">EXAMPLES</A><DD>
+<DT><A HREF="#lbAH">BUGS</A><DD>
+<DT><A HREF="#lbAI">Revision History</A><DD>
+<DT><A HREF="#lbAJ">Author</A><DD>
+<DT><A HREF="#lbAK">SEE ALSO</A><DD>
+</DL>
+<HR>
+This document was created by
+<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
+using the manual pages.<BR>
+Time: 05:13:26 GMT, April 14, 2013
+</BODY>
+</HTML>