Read an input list of (fullpath) image names and prepare for running some image procedure (FIXUP, WCS, ZP, etc...). A local archive director (./local_red) is verfied (or prepared if needed). The two files createed are a list of images to be processed by some downstream process (LIST.IN, just a copy of the arg2 file) and the names of the processed images to be made (LIST.OUT).
% image_process_list --help Usage: image_process_list FIXUP list.in N arg1 - name of process we are preparing for arg2 - Name of FITS image list (should full path) arg3 - run in debug mode (Y/N) Here is an example: % ls list.IMAGES_OLD % image_process_list FIXUP list.IMAGES_OLD N Number of images in input list = 519 % ls FITS.BaseNames list.IMAGES_OLD LIST.IN LIST.OUT local_red/ What are the new output files? FITS.BaseNames = a listing of the basenames of the input FITS files LIST.IN = the input list (= arg2 file) LIST.OUT = the names of the (processed files) as they will appear in ./local_red/FIXUP % ls ./local_red FIXUP/This routine may change with respect to error checking or user options, but this prime functionality should remain.
One major point to note is that only images that do not have versions in the target directory end up in the LIST.IN and LIST.OUT files. Use the "--help" option shown above to see a detailed description of this.