This is a program which lists all asteroids up to the given magnitude which have positions inside images in given FITS files.   It requires a  fitsjd  program to extract the values of WCS keywords and time of observation.

It is written in the PERL programming language and should be therefore easily adaptable for any operating system for which this language is available. Of course, fitsjd is still required. makes use of the asteroid_server's fits command. It simply goes through all of the files given in the command line and passes the arguments to the server. Command line syntax is: server id magnitude file [files]

The command will return results in the following format:

File name:: number name       RA DEC  xcoor ycoor magnitude

If the asteroid is not numbered the number is 0.  Image coordinates are in base 0 system.

Server is the server address, id is the user id and magnitude is the magnitude limit. Files can be specified explicitly or using wildcards. Thank to the cfitsio library they will also be recognized if they are compressed with gzip or compress.


This will list all asteroids up to magnitude 17.5 in FITS images which names start with a and end with .fts.  The server is on the local computer (

[jure@astro 1999-03-20]$ Jure 17.5 a*.fts 
a105117.fts:: WARNING No hits! 
a105118.fts::    77  Frigga             08:20:10.26 +21:43:37.6  933.33 1013.78 12.89 
a105119.fts:: WARNING No hits! 
a106118.fts::   515  Athalia            08:16:42.87 +20:29:59.0  494.63  157.54 16.30 
a106119.fts::   240  Vanadis            08:22:39.19 +20:45:23.9 1084.59  551.51 13.31 
a106119.fts::  1187  Afra               08:23:21.49 +20:54:16.0 1334.05  778.00 15.77 
a106120.fts:: WARNING No hits! 
a107118.fts::   800  Kressmannia        08:14:38.78 +20:22:38.7  518.11  986.61 16.14 
a107118.fts::  1848  Delvaux            08:16:03.97 +20:13:52.7 1025.86  766.29 15.98 
a107118.fts::     0  1994 BP4           08:16:30.64 +19:56:14.6 1187.29  319.60 17.30

This is an extension of the program.  In addition to listing asteroids it also shows them by preparing a file with asteroid image coordinates and running the  fitsblink  program.  So, you need to install fitsblink somewhere in your path to use this program. Back to index