The list of input files given in the file filelist is strictly processed from up to down. Therefore, to ensure a proper time order of the event list data in the sum file, the individual files have to be specified in the right temporal order, i.e., in ascending order of the values of the TSTART keyword. Also, the program expects the very last file in the filelist list to contain the largest time tag values. Under this assumption the values of various time-related header keywords in the sum events files are derived from the headers of this last file in the list. The meselobs task can be used to obtain a list of compatible event list files in the proper temporal order. They may be executed together on a single command line using a pipe.
<Stem>_<FOT_ID>_<Instrument_ID>_<ObsID>_<Number>_rev.fits
If the first file is found to match this pattern the sum file will
get the name
<Stem>_<FOT_ID>_<Instrument_ID>_<Sum_ID>_rev.fits
otherwise, sum_rev.fits.
mecatobs filelist=FL.concat
/bin/ls /dirname/*M1*_rev.fits > FL.out
meselobs filelist=FL.out | mecatobs filelist=stdin
Note: in this case any output of meselobs is passed to
mecatobs.
This means that any possible warning or error message will be processed by
mecatobs which will probably fail. In this case it is recommended to inspect the output of meselobs separately.