NAME:    
	dbcreate_wfc_mer
PURPOSE: 
	read wfc merge file catalogues into a database.
	The program detects which bands are 
	present and fill in the relevant fields in the database. Fields 
	relating to absent bands are filled with zeros.
CALLING SEQUENCE: 
	dbcreate_wfc_mer, file, db_out
INPUTS: 
	file: root name of files to be read (eg. izrgulockman)
OPTIONAL INPUT PARAMETERS:
       bandindex: to indicate which bands to use and in which order
               prompted for if not set
OUTPUTS: 
    	db_out: string array, name of output database. 
       A db_out.dbd file will be created automatically
EXAMPLE: 
	dbcreate_wfc_mer, 'wfc/*.mer',$
		'dbase/wfcdb'
DEPENDENCIES: 

RESTRICTIONS: 
        UNTESTED
CALLED PROCEDURES AND FUNCTIONS: 
	astrolib functions
	write_izrgu_dbd
MODIFICATION HISTORY: 
     	29-Nov-1998  Original by Richard McMahon
     	09-Oct-2000  Modified by Suzanne Aigrain
	06-Nov-2000  S. Aigrain: make it detect bands

(See /home/xmmssc/soft/idl/pro/dbcreate/dbcreate_wfc_mer.pro)


Suzanne Aigrain <visitor2@ast.cam.ac.uk>
Last modified: Fri Feb 16 11:52:06 2001