/usr/share/doc/stilts/sun256/secB.2.2.html is in stilts-doc 3.1.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="sun-style.css">
<title>Examples</title>
</head>
<body>
<hr>
<a href="coneskymatch.html">Next</a> <a href="cdsskymatch-usage.html">Previous</a> <a href="cdsskymatch.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="coneskymatch.html">coneskymatch:
Crossmatches table on sky position against remote cone service</a><br>
<b>Up: </b><a href="cdsskymatch.html">cdsskymatch:
Crossmatches table on sky position against VizieR/SIMBAD table</a><br>
<b>Previous: </b><a href="cdsskymatch-usage.html">Usage</a><br>
<hr>
<h3><a name="secB.2.2">B.2.2 Examples</a></h3>
<p>Here are some examples of <code>cdsskymatch</code>:
<dl>
<dt><strong><pre>
stilts cdsskymatch cdstable=II/246/out find=all
in=dr5qso.fits ra=RA dec=DEC radius=1 out=qso_2mass.fits
</pre></strong></dt>
<dd>Matches a local catalogue <code>dr5qso.fits</code> against the
VizieR table <code>II/246/out</code> (the 2MASS Point Source Catalogue).
The search radius is 1 arcsecond, and all 2MASS sources within the
radius of each input source are returned.
</dd>
<dt><strong><pre>
stilts cdsskymatch cdstable=simbad find=best
in=sources.txt ifmt=ascii ra=RAJ2000 dec=DEJ2000 radius=8.5
blocksize=1000 icmd=progress omode=topcat
</pre></strong></dt>
<dd>This finds the closest object in the SIMBAD database within 8.5 arcsec
for each row of an input ASCII table.
Uploads are done in blocks of 1,000 rows at a time, and progress
is displayed on the console. When the match is complete, the
result is sent directly to a running instance of TOPCAT.
</dd>
<dt><strong><pre>
stilts cdsskymatch in=3XMM_DR4cat_slim_v1.0.fits
icmd='select "SC_POSERR < 1 && SC_EXTENT == 0"'
cdstable=B/mk/mktypes
ra=SC_RA dec=SC_DEC radius=1.5
find=best suffixin=_XMM suffixremote=_MK fixcols=all
ocmd='select startsWith(spType_MK,\"G\")'
out=xmm_gtype.fits
</pre></strong></dt>
<dd>This locates XMM-Newton point-like sources identified as being
of spectral type G.
It uses the
<a href="http://xmmssc-www.star.le.ac.uk/Catalogue/xcat_public_3XMM-DR4.html">3XMM-DR4</a>
XMM-Newton serendipitous source catalogue as input.
The <code>icmd</code> filter selects the objects
in that catalogue with well-defined point-like positions.
It then matches them with Skiff's MK spectral classification
catalogue (B/mk/mktypes in VizieR) and finally filters the
result to include only those sources identified as being of
spectral type G. Thanks to Ada Nebot (CDS) for this example.
</dd>
</dl>
</p>
<hr><a href="coneskymatch.html">Next</a> <a href="cdsskymatch-usage.html">Previous</a> <a href="cdsskymatch.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="coneskymatch.html">coneskymatch:
Crossmatches table on sky position against remote cone service</a><br>
<b>Up: </b><a href="cdsskymatch.html">cdsskymatch:
Crossmatches table on sky position against VizieR/SIMBAD table</a><br>
<b>Previous: </b><a href="cdsskymatch-usage.html">Usage</a><br>
<hr><i>STILTS - Starlink Tables Infrastructure Library Tool Set<br>Starlink User Note256<br>STILTS web page:
<a href="http://www.starlink.ac.uk/stilts/">http://www.starlink.ac.uk/stilts/</a><br>Author email:
<a href="mailto:m.b.taylor@bristol.ac.uk">m.b.taylor@bristol.ac.uk</a><br>Mailing list:
<a href="mailto:topcat-user@jiscmail.ac.uk">topcat-user@jiscmail.ac.uk</a><br></i></body>
</html>
|