This OTW code uses columns from an input table of (usually acm) data to determine sets of image at unique sky positions. This code is usually used to sort through the large number of acm images taken in a typical night and identify the images sets associated with unique positions on the sky.
The basic input is a table file (usually ACMDAT.table) because this enabled easier experimentation as the code was developed. It should also be easier to modify in the future when the inevitable alterations to the acm FITS headers occur in the future.
For a more detiled description see: % table_onsky_sets.sh --help % table_onsky_sets.sh ACMDAT A N Usage: table_onsky_sets.sh ACMDAT A N arg1 - basename of input table file arg2 - query user about a table merge (Y,N,A=auto_merge) arg3 - run in debug/verbose mode The traget numbers (iset) are returned in a table file with base name = "targets". However, if the target.table file was mergerd with the inpt table, then the "tarbets" table file is deleted. There are two useful files always created by this routine: table_onsky_sets.out = summarizes the taget numbers and how many images there are per target number table_onsky_sets.RADEC = the Ra,Dec (in sexigeciaml format) of each target.I usually run this code and have the target numbers (paramenter name = "iset") merged with the input table to forma new table file with the basename "EX1". At this stage you can use the routine onsky_set to create a list of images based on the target numbers.