NAME: generate_from_files PURPOSE: Takes in all the input files and makes databases, webpages and plots This program uses ~xmmssc/public_html/xidops/fields_status.txt or a similar file to find the input files it needs. If some input data is absent then that part of the program is ignored The program checks the directories for placing ouput files are there and creates them if they are not (using a csh script ~xmmssc/soft/php/mk_outdirs.csh) CATEGORY: CALLING SEQUENCE: generate_from_files[,infile=infile,field_name=field_name,$ xmm_list=xmm_list,offmax=offmax,offmax_apm=offmax_apm] OPTIONAL INPUT KEYWORDS infile: text file containing the file names of inputs. Default is ~xmmssc/public_html/xidops/fields_status.txt field_name: name of field to treat (from those listed in infile) case insensitive. Asked for if not given xmm_list: type of list to choose if there are several case insensitive. Asked for if not given and there are several offmax: maximum offset for XMM/WFC/CIRSI matches default is 5, arcsecs, max 30 offmax_apm: maximum offset for XMM/APM matches default is 6, arcsecs, max 100 DEPENDENCIES: The input files should be correctly named (when applicable) and placed in directories as decribed in: http://www.ast.cam.ac.uk/~xmmssc/xidops/dir_structure.html RESTRICTIONS Currently thew whole thing only works if there is XMM 52 and WFC i data CALLED PROCEDURES: astrolib functions rd_to_vector dbcreate_xmm dbcreate_cirsi dbcreate_wfc_mer dbcreate_wfc_unmer dbcreate_apm plot_lognlogs_5bands plot_hardness plot_xf52_wfc i_gi_wfc ug_gi_wfc ug_gr_wfc ri_gr_wfc g_ug_wfc stat_cl_wfc diffmag_wfc diffmag_byclass posangle_wfc posangle_byclass ellip_wfc ellip_byclass dotplot_wfc mkgif mkhtml_table mkgif_xmm mkgif_cirsi mkgif_wfc mkhtml_gif mkhtml_table_apm mkgif_poss1 mkgif_poss2 mkhtml_gif_apm MODIFICATION HISTORY: 08-Nov-2000 Original by Suzanne Aigrain 10-Jan-20001 S. Aigrain: use fields_status.txt as input, check and create output dir. structure
(See /home/xmmssc/soft/idl/pro/generate_from_files.pro)