NAME: dbcreate_wfc_frompos PURPOSE: read in wfc unmerged catalogues of one particular colour. This program should be run on each of the 5 colours if a full catalogue is to be generated The differencence between this program and dbcreate_wfc_unmer is that it uses the xpos and ypos columns to calculate ra and dec, rather than the ra and dec columns directly CALLING SEQUENCE: dbcreate_wfc_frompos, file, db_out INPUTS: file: root name of files to be read ('wfc/r219698' for example) OUTPUTS: db_out: string array, name of output database. A db_out.dbd file will be created automatically OPTIONAL OUTPUT PARAMETERS: none EXAMPLE: dbcreate_wfc_frompos, 'wfc/r219698','dbase/wfci' DEPENDENCIES: RESTRICTIONS: UNTESTED CALLED PROCEDURES AND FUNCTIONS: astrolib functions write_wfc_dbd MODIFICATION HISTORY: 29-Nov-1998 Original by Richard McMahon 09-Oct-2000 Modified by Suzanne Aigrain
(See /home/xmmssc/soft/idl/pro/dbcreate/dbcreate_wfc_frompos.pro)