next up previous 227
Next: Scripting Examples
Up: CATREMOTE a Tool for Querying Remote Catalogues
Previous: help mode


Interactive Examples

This section gives some examples of using catremote interactively. All the arguments are given on the command line. However, if they are omitted then arguments other than the first (the mode) will usually be prompted for.

  1. List the various modes in which catremote may be used. Type either of:

    catremote
    catremote help

  2. List all the databases in the current configuration file:

    catremote list

  3. List all the name servers (that is, databases of server type `namesvr') in the current configuration file:

    catremote list namesvr

  4. Show details of the USNO PMM astrometric catalogue:

    catremote details usno@eso

  5. Find all the objects in the USNO PMM which lie within ten minutes of arc of Right Ascension $12^{\rm h} 15^{\rm m} 00\mbox{$^{\rm s}\!\!.$}0$ and Declination $30^{\circ} 30\raisebox{-0.5ex}{$^{'}$} 00$ $^{'\hspace{-0.1em}'}$ . $0$ (J2000):

    catremote query usno@eso 12:15:00 30:30:00 10

    The objects selected will be saved as a catalogue called usno_eso_121500_303000.tab created in your current directory. This catalogue will be written in the Tab-Separated Table (TST) format.

  6. Find all the objects in the USNO PMM which lie within ten minutes of arc of Right Ascension $12^{\rm h} 15^{\rm m} 00\mbox{$^{\rm s}\!\!.$}0$ and Declination $30^{\circ} 30\raisebox{-0.5ex}{$^{'}$} 00$ $^{'\hspace{-0.1em}'}$ . $0$ (J2000) which also lie in the magnitude range 14 to 16:

    catremote query usno@eso 12:15:00 30:30:00 10 14,16

  7. Find the equatorial coordinates of the galaxy NGC 3379:

    catremote name simbad_ns@eso ngc3379

    The coordinates returned are for equinox J2000.



next up previous 227
Next: Scripting Examples
Up: CATREMOTE a Tool for Querying Remote Catalogues
Previous: help mode

CATREMOTE --- a Tool for Querying Remote Catalogues
Starlink System Note 76
A.C. Davenhall
24 May 2001
E-mail:ussc@star.rl.ac.uk

Copyright © 2001 Council for the Central Laboratory of the Research Councils